fc_remote_port_create(9)
πΈ NAME πΈ
okay so bestie, this is fc_remote_port_create(9) from the Kernel API Manual, and the name is literally right there: fc_remote_port_create β allocates and creates a remote FC port. periodt. π
β¨ SYNOPSIS β¨
struct fc_rport * fc_remote_port_create (struct Scsi_Host *shost , int
channel , struct fc_rport_identifiers *ids );
π ARGUMENTS π
shostβ the scsi host the remote port is connected to. that's the host bestie, the whole connection situation πchannelβ the channel on theshostport connected to. yes, the specific channel on thatshostport π¦idsβ the world wide names, fc address, and FC4 port roles for the remote port. all the identity deets, no cap πͺͺβ¨
π« DESCRIPTION π«
so this routine allocates and creates the remoter port structure β and yes, the original says βremoter,β we are keeping the iconβs spelling, itβs giving typo main character energy ππ. it also handles the class and sysfs creation. full port glow-up, start to finish. π«Ά
π¨ NOTES π¨
Important vibe check: this routine assumes no locks are held on entry. no cap, donβt come in holding a lock β thatβs the whole note. ππ
π SEE ALSO π
kernel file: ./drivers/scsi/scsi_transport_fc.c
the whole squad, in order, because we do not skip anyone:
fc_get_event_number(9)fc_host_post_fc_event(9)fc_host_post_event(9)fc_host_post_vendor_event(9)fc_find_rport_by_wwpn(9)fc_host_fpin_rcv(9)fc_eh_timed_out(9)fc_queue_work(9)fc_flush_work(9)fc_queue_devloss_work(9)fc_flush_devloss(9)fc_remove_host(9)fc_starget_delete(9)fc_rport_final_delete(9)fc_remote_port_add(9)fc_remote_port_delete(9)fc_remote_port_rolechg(9)fc_timeout_deleted_rport(9)fc_timeout_fail_rport_io(9)fc_scsi_scan_rport(9)fc_block_rport(9)fc_block_scsi_eh(9)fc_vport_setup(9)fc_vport_create(9)fc_vport_terminate(9)fc_vport_sched_delete(9)fc_bsg_job_timeout(9)fc_bsg_host_dispatch(9)fc_bsg_rport_dispatch(9)fc_bsg_hostadd(9)fc_bsg_rportadd(9)fc_bsg_remove(9)
mwah π β source/version: ./drivers/scsi; date: October 2026; page tag: fc_remote_port_create(9). bye bestie, go create that remote FC port responsibly! π«Άπ
π¦ 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