Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c946 fct_struct_id_t struct_id; member
979 fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags) in fct_alloc() argument
985 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 …]
/titanic_50/usr/src/uts/common/sys/
H A Dfct.h388 void *fct_alloc(fct_struct_id_t struct_id, int additional_size, int flags);
/titanic_50/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c2187 stmf_alloc(stmf_struct_id_t struct_id, int additional_size, int flags) in stmf_alloc() argument
2193 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()