beiscsi_conn_close(9)
π beiscsi_conn_close β like, the kernel API manual (section 9) page you didn't know you needed π
okay bestie, so this is one of those beiscsi pages β kernel API manual, section 9 energy β and honestly? It's a short one. A little snack. But we're gonna treat it with the respect it deserves because closing connections is kind of a big deal. β¨
πΈ NAME πΈ
beiscsi_conn_close β invalidate and upload connection
ngl the name says it all: you're invalidating the connection and uploading it. Two vibes, one function call. π¦
β SYNOPSIS β
int beiscsi_conn_close (struct beiscsi_endpoint *beiscsi_ep );
That's it. That's the whole signature. She's petite. She's iconic. She takes exactly one argument and returns an int, periodt. π
π ARGUMENTS π
beiscsi_epβ pointer to device endpoint struct. yes bestie, it's astruct beiscsi_endpoint *, and it's the thing you're closing out. give it a little pat before you send it on its way. π«Ά
π DESCRIPTION π
So here's the whole tea: beiscsi_conn_close returns 0 on success, and -1 on failure.
That's the entire description. No hidden paragraphs. No surprise gotchas. Just a return value with main character energy: 0 means slay, -1 means π. fr fr, that's it.
quick vibe check:0= success,-1= failure. memorize it, put it on a sticky note, tattoo it on your soul. π§
π SEE ALSO π
Everything's connected (pun fully intended), so go read the rest of the family:
- Kernel file
./drivers/scsi/be2iscsi/be_iscsi.c 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_get_cid(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_ep_disconnect(9)
iykyk β that's a lot of friends. she's got a whole group chat. π
π¦ the cute sign-off π¦
this little beauty lives in ./drivers/scsi/be2iscsi and the version/date stamp on it is October 2026 β so yeah, she's from the future, and she's still out here returning -1 when things go sideways. no cap. π
go close that connection, bestie. you got this. π
π¦ 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