Home
last modified time | relevance | path

Searched refs:struct_id (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c965 fct_struct_id_t struct_id; member
1004 if ((struct_id == 0) || (struct_id >= FCT_MAX_STRUCT_IDS)) in fct_alloc()
1014 fct_size = fct_sizes[struct_id].shared + in fct_alloc()
1015 fct_sizes[struct_id].fw_private + in fct_alloc()
1018 if (struct_id == FCT_STRUCT_LOCAL_PORT) { in fct_alloc()
1049 if (fct_sizes[struct_id].struct_specific) in fct_alloc()
1054 sh->fp->struct_id = struct_id; in fct_alloc()
1056 if (struct_id == FCT_STRUCT_CMD_FCP_XCHG) { in fct_alloc()
1075 fct_struct_id_t struct_id = sh->fp->struct_id; in fct_free() local
1077 if (struct_id == FCT_STRUCT_CMD_SOL_CT) { in fct_free()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dfct.h391 void *fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags);
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c2188 stmf_alloc(stmf_struct_id_t struct_id, int additional_size, int flags) in stmf_alloc() argument
2194 if ((struct_id == 0) || (struct_id >= STMF_MAX_STRUCT_IDS)) in stmf_alloc()
2204 stmf_size = stmf_sizes[struct_id].shared + in stmf_alloc()
2205 stmf_sizes[struct_id].fw_private + additional_size; in stmf_alloc()
2227 sh->cp = GET_BYTE_OFFSET(sh, stmf_sizes[struct_id].shared); in stmf_alloc()
2229 stmf_sizes[struct_id].shared + additional_size); in stmf_alloc()