Searched refs:struct_id (Results 1 – 3 of 3) sorted by relevance
965 fct_struct_id_t struct_id; member998 fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags) in fct_alloc() argument1004 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()1016 fct_sizes[struct_id].struct_specific + additional_size; in fct_alloc()1018 if (struct_id == FCT_STRUCT_LOCAL_PORT) { in fct_alloc()1029 } else if (struct_id == FCT_STRUCT_DBUF_STORE) { in fct_alloc()1047 sh->fp = (__ifct_t *)GET_BYTE_OFFSET(sh, fct_sizes[struct_id].shared); in fct_alloc()1048 sh->cp = GET_BYTE_OFFSET(sh->fp, fct_sizes[struct_id].fw_private); in fct_alloc()[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()