ibmvscsis_un...er_command_q(9)
π NAME π
hii bestie β¨ welcome to the ibmvscsis_un...er_command_q(9) page in the Kernel API Manual. This is all about ibmvscsis_unregister_command_q β Helper Function-Unregister Command Queue. Basically a helper whose whole job is unregistering the command queue. That's the vibe. π
πΈ SYNOPSIS πΈ
long ibmvscsis_unregister_command_q (struct scsi_info *vscsi );
π«Ά ARGUMENTS π«Ά
vscsiβ pointer to our adapter structure π«Ά
π¦ DESCRIPTION π¦
okay so the plot: this function calls h_free_q, then frees the interrupt bit etc. It must release the lock before doing that, because h_free_crq in PHYP can take a real minute. Like, the timing is literally the whole reason, no cap. β³
π NOTE π
- the caller has to make sure that
stateand/orflagswill prevent the interrupt handler from scheduling work. no cap, that's on the caller bestie β - anyone calling this function may need to set the
CRQ_CLOSEDflag. we can't do it here, because we don't have the lock β so handle that on your side, okay? π
EXECUTION ENVIRONMENT: Process level β¨
π¦ SEE ALSO π¦
Kernel file: ./drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
and the whole (9) friend group, all here:
connection_broken(9)ibmvscsis_delete_client_info(9)ibmvscsis_free_command_q(9)ibmvscsis_cmd_q_dequeue(9)ibmvscsis_send_init_message(9)ibmvscsis_check_init_msg(9)ibmvscsis_disconnect(9)ibmvscsis_post_disconnect(9)ibmvscsis_handle_init_compl_msg(9)ibmvscsis_handle_init_msg(9)ibmvscsis_init_msg(9)ibmvscsis_establish_new_q(9)ibmvscsis_reset_queue(9)ibmvscsis_free_cmd_resources(9)ibmvscsis_ready_for_suspend(9)ibmvscsis_trans_event(9)ibmvscsis_poll_cmd_q(9)ibmvscsis_free_cmd_qs(9)ibmvscsis_get_free_cmd(9)ibmvscsis_adapter_idle(9)ibmvscsis_copy_crq_packet(9)ibmvscsis_adapter_info(9)ibmvscsis_cap_mad(9)ibmvscsis_process_mad(9)srp_snd_msg_failed(9)ibmvscsis_send_messages(9)ibmvscsis_mad(9)ibmvscsis_login_rsp(9)ibmvscsis_srp_login_rej(9)ibmvscsis_srp_login(9)ibmvscsis_srp_i_logout(9)ibmvscsis_ping_response(9)ibmvscsis_parse_command(9)ibmvscsis_parse_cmd(9)ibmvscsis_parse_task(9)ibmvscsis_service_wait_q(9)ibmvscsis_enable_change_state(9)ibmvscsis_create_command_q(9)ibmvscsis_destroy_command_q(9)srp_build_response(9)ibmvscsis_handle_crq(9)
xoxo π source/version ./drivers/scsi/ibmvscsi_tgt, date October 2026, page ibmvscsis_un...er_command_q(9) π«Ά
π¦ 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