Searched refs:struct_id (Results 1 – 3 of 3) sorted by relevance
946 fct_struct_id_t struct_id; member979 fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags) in fct_alloc() argument985 if ((struct_id == 0) || (struct_id >= FCT_MAX_STRUCT_IDS)) in fct_alloc()995 fct_size = fct_sizes[struct_id].shared + in fct_alloc()996 fct_sizes[struct_id].fw_private + in fct_alloc()997 fct_sizes[struct_id].struct_specific + additional_size; in fct_alloc()999 if (struct_id == FCT_STRUCT_LOCAL_PORT) { in fct_alloc()1010 } else if (struct_id == FCT_STRUCT_DBUF_STORE) { in fct_alloc()1028 sh->fp = (__ifct_t *)GET_BYTE_OFFSET(sh, fct_sizes[struct_id].shared); in fct_alloc()1029 sh->cp = GET_BYTE_OFFSET(sh->fp, fct_sizes[struct_id].fw_private); in fct_alloc()[all …]
388 void *fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags);
2187 stmf_alloc(stmf_struct_id_t struct_id, int additional_size, int flags) in stmf_alloc() argument2193 if ((struct_id == 0) || (struct_id >= STMF_MAX_STRUCT_IDS)) in stmf_alloc()2203 stmf_size = stmf_sizes[struct_id].shared + in stmf_alloc()2204 stmf_sizes[struct_id].fw_private + additional_size; in stmf_alloc()2226 sh->cp = GET_BYTE_OFFSET(sh, stmf_sizes[struct_id].shared); in stmf_alloc()2228 stmf_sizes[struct_id].shared + additional_size); in stmf_alloc()