Searched refs:struct_id (Results 1 – 3 of 3) sorted by relevance
965 fct_struct_id_t struct_id; member1004 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() local1077 if (struct_id == FCT_STRUCT_CMD_SOL_CT) { in fct_free()[all …]
391 void *fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags);
2188 stmf_alloc(stmf_struct_id_t struct_id, int additional_size, int flags) in stmf_alloc() argument2194 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()