calipso_doi_getdef(9)
π calipso_doi_getdef β a whole Kernel API Manual moment β¨
okay bestie, so this one lives in the Kernel API Manual, section 9, and it's called calipso_doi_getdef. ngl it's a lil lookup function and it's lowkey iconic for it π
πΈ NAME πΈ
calipso_doi_getdef β literally returns a reference to a valid DOI definition. that's it, that's the vibe π
β¨ SYNOPSIS β¨
struct calipso_doi * calipso_doi_getdef (u32 doi );
likeβ¦ that's the whole signature. copy it exact, don't come for me π«Ά
π¦ ARGUMENTS π¦
doiβ the DOI value π that's the one thing you hand over.
π DESCRIPTION π
so here's the tea β: it searches for a valid DOI definition, and if one is found, it gets returned to the caller. slay. if not? you get NULL. no cap, that's the whole deal π
β οΈ important, bestie: the caller must make sure that calipso_doi_putdef is called when the caller is done. the way that's not optional β it's giving "don't forget to clean up or the kernel will side-eye you" energy π
π₯ SEE ALSO π₯
- Kernel file
./net/netlabel/netlabel_calipso.cπ netlbl_calipso_ops_register(9)netlbl_calipso_add_pass(9)netlbl_calipso_add(9)netlbl_calipso_list(9)netlbl_calipso_listall_cb(9)netlbl_calipso_listall(9)netlbl_calipso_remove_cb(9)netlbl_calipso_remove(9)netlbl_calipso_genl_init(9)calipso_doi_add(9)calipso_doi_free(9)calipso_doi_remove(9)calipso_doi_putdef(9)calipso_doi_walk(9)calipso_sock_getattr(9)calipso_sock_setattr(9)calipso_sock_delattr(9)calipso_req_setattr(9)calipso_req_delattr(9)calipso_optptr(9)calipso_getattr(9)calipso_skbuff_setattr(9)calipso_skbuff_delattr(9)calipso_cache_invalidate(9)calipso_cache_add(9)
like, that's the whole friend group right there π obsessed.
and that's the page, bestie π§ source is ./net/netlabel, dated October 2026, and it's all filed under calipso_doi_getdef(9) β mwah π periodt.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms