Searched refs:ncmd (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_ddi.c | 935 lmrc_alloc_mpt_cmds(lmrc_t *lmrc, const size_t ncmd) in lmrc_alloc_mpt_cmds() argument 952 kmem_zalloc(ncmd * sizeof (lmrc_mpt_cmd_t *), KM_SLEEP); in lmrc_alloc_mpt_cmds() 953 for (i = 0; i < ncmd; i++) { in lmrc_alloc_mpt_cmds() 1015 lmrc_free_mpt_cmds(lmrc, ncmd); in lmrc_alloc_mpt_cmds() 1021 lmrc_free_mpt_cmds(lmrc_t *lmrc, const size_t ncmd) in lmrc_free_mpt_cmds() argument 1035 VERIFY3U(count, ==, ncmd); in lmrc_free_mpt_cmds() 1038 kmem_free(lmrc->l_mpt_cmds, ncmd * sizeof (lmrc_mpt_cmd_t *)); in lmrc_free_mpt_cmds() 1044 lmrc_alloc_mfi_cmds(lmrc_t *lmrc, const size_t ncmd) in lmrc_alloc_mfi_cmds() argument 1052 kmem_zalloc(ncmd * sizeof (lmrc_mfi_cmd_t *), KM_SLEEP); in lmrc_alloc_mfi_cmds() 1053 for (i = 0; i < ncmd; i++) { in lmrc_alloc_mfi_cmds() [all …]
|
H A D | lmrc.c | 1994 lmrc_abort_outstanding_mfi(lmrc_t *lmrc, const size_t ncmd) in lmrc_abort_outstanding_mfi() argument 1999 for (i = 0; i < ncmd; i++) { in lmrc_abort_outstanding_mfi()
|
/illumos-gate/usr/src/uts/common/io/uath/ |
H A D | uath.c | 852 int ncmd, int maxsz) in uath_alloc_cmd_list() argument 856 for (i = 0; i < ncmd; i++) { in uath_alloc_cmd_list() 872 uath_free_cmd_list(cmds, ncmd); in uath_alloc_cmd_list() 893 uath_free_cmd_list(struct uath_cmd cmds[], int ncmd) in uath_free_cmd_list() argument 897 for (i = 0; i < ncmd; i++) in uath_free_cmd_list()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 8629 struct fcp_pkt *ncmd = NULL; /* next pkt ptr */ in fcp_scan_commands() local 8638 for (cmd = pptr->port_pkt_head; cmd != NULL; cmd = ncmd) { in fcp_scan_commands() 8642 ncmd = cmd->cmd_next; /* set next command */ in fcp_scan_commands() 8696 struct fcp_pkt *ncmd = NULL; /* next pkt ptr */ in fcp_abort_commands() local 8701 for (cmd = head; cmd != NULL; cmd = ncmd) { in fcp_abort_commands() 8704 ncmd = cmd->cmd_next; in fcp_abort_commands() 13488 struct fcp_pkt *ncmd; in fcp_watch() local 13546 cmd != NULL; cmd = ncmd) { in fcp_watch() 13547 ncmd = cmd->cmd_next; in fcp_watch() 13876 struct fcp_pkt *pcmd = NULL, *ncmd = NULL, in fcp_abort_all() local [all …]
|