STRUCT FC_FCP_INTERNAL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay bestie, welcome to the struct fc_fcp_internal(9) page from the Kernel API Manual β€” yes, we’re doing kernel data structures and we’re gonna slay. ✨

🌸 NAME 🌸

struct fc_fcp_internal β€” FCP layer internal data. That’s the whole vibe, no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct fc_fcp_internal {
    mempool_t *scsi_pkt_pool;
    spinlock_t scsi_queue_lock;
    struct list_head        scsi_pkt_queue;
    unsigned long           last_can_queue_ramp_down_time;
    unsigned long           last_can_queue_ramp_up_time;
    int max_can_queue;
};

🫢 Members 🫢

  • scsi_pkt_pool β€” the memory pool you draw FCP packets from, literally. πŸ’–
  • scsi_queue_lock β€” the guard that protects the scsi_pkt_queue. Iconic lock behavior, periodt.
  • scsi_pkt_queue β€” current FCP packets. It’s giving β€œthe queue right now.” ✨
  • last_can_queue_ramp_down_time β€” ramp down time. That’s the note, bestie. πŸŽ€
  • last_can_queue_ramp_up_time β€” ramp up time. Same vibe, other direction. πŸ¦‹
  • max_can_queue β€” max can_queue size. Boom. πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/scsi/libfc/fc_fcp.c. Also go say hi to the whole roll call: fc_fcp_pkt_alloc(9), fc_fcp_pkt_release(9), fc_fcp_pkt_hold(9), fc_fcp_pkt_destroy(9), fc_fcp_lock_pkt(9), fc_fcp_unlock_pkt(9), fc_fcp_timer_set(9), fc_fcp_send_abort(9), fc_fcp_retry_cmd(9), fc_fcp_ddp_setup(9), fc_fcp_ddp_done(9), fc_fcp_can_queue_ramp_up(9), fc_fcp_can_queue_ramp_down(9), get_fsp_rec_tov(9), fc_fcp_recv_data(9), fc_fcp_send_data(9), fc_fcp_abts_resp(9), fc_fcp_recv(9), fc_fcp_resp(9), fc_fcp_complete_locked(9), fc_fcp_cleanup_cmd(9), fc_fcp_cleanup_each_cmd(9), fc_fcp_abort_io(9), fc_fcp_pkt_send(9), fc_fcp_cmd_send(9), fc_fcp_error(9), fc_fcp_pkt_abort(9), fc_lun_reset_send(9), fc_lun_reset(9), fc_tm_done(9), fc_fcp_cleanup(9), fc_fcp_timeout(9), fc_fcp_rec(9), fc_fcp_rec_resp(9), fc_fcp_rec_error(9), fc_fcp_recovery(9), fc_fcp_srr(9), fc_fcp_srr_resp(9), fc_fcp_srr_error(9), fc_fcp_lport_queue_ready(9), fc_queuecommand(9), fc_io_compl(9), fc_eh_abort(9), fc_eh_device_reset(9), fc_eh_host_reset(9), fc_sdev_init(9), fc_fcp_destroy(9), fc_fcp_init(9).


Signed with πŸ’– from ./drivers/scsi/libfc, October 2026, on the struct fc_fcp_internal(9) manual page β€” mwah! πŸ’‹

πŸ“¦ where this page comes from