beiscsi_get_cid(9)
π beiscsi_get_cid(9) π
okay so bestie, we're in the Kernel API Manual today and the star of the show is beiscsi_get_cid β yes, lowercase, yes, it's a function, yes, we're doing this. π¦
It's a 9 manpage too (that's the kernel section, iykyk), so put your big-girl kernel goggles on. π
β¨ NAME β¨
beiscsi_get_cid β Allocate a cid π
That's it. That's the whole job. It gives you a cid. Iconic, lowkey minimal, we love a function with a clear purpose fr fr.
β¨ SYNOPSIS β¨
int beiscsi_get_cid (struct beiscsi_hba *phba );
So it returns an int (return value girlie, we'll take it), takes exactly one arg, and no cap that's the entire signature. Slay. π
β¨ ARGUMENTS β¨
phbaβ thephbainstance. π«Ά That's the one pointer it wants, it's thestruct beiscsi_hba *up in the synopsis, and that's literally all it asks for. Hand it over and let the function cook.
β¨ SEE ALSO β¨
Bestie, the full squad. This is the group chat and everybody's here π β also the kernel file ./drivers/scsi/be2iscsi/be_iscsi.c if you wanna go read the source like the main character you are:
beiscsi_session_create(9)beiscsi_session_destroy(9)beiscsi_session_fail(9)beiscsi_conn_create(9)beiscsi_conn_bind(9)beiscsi_iface_config_vlan(9)beiscsi_ep_get_param(9)beiscsi_get_port_state(9)beiscsi_get_port_speed(9)beiscsi_get_host_param(9)beiscsi_conn_get_stats(9)beiscsi_set_params_for_offld(9)beiscsi_conn_start(9)beiscsi_put_cid(9)beiscsi_free_ep(9)beiscsi_open_conn(9)beiscsi_ep_connect(9)beiscsi_ep_poll(9)beiscsi_flush_cq(9)beiscsi_conn_close(9)beiscsi_ep_disconnect(9)
And yeah β the kernel file lives at ./drivers/scsi/be2iscsi/be_iscsi.c in case you need to vibe-check the implementation yourself. π
ngl, this one's short and sweet β one function, one arg, one job. But every single one of those SEE ALSO entries is real and waiting for you, so don't skip the homework. π
π okay bye bestie, this page came from ./drivers/scsi/be2iscsi, and it's dated October 2026 β go forth and allocate those cids responsibly, mwah π
π¦ 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