Home
last modified time | relevance | path

Searched refs:struct_size (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_utils.c969 int struct_size, buf_size; in ibmf_saa_utils_pack_payload() local
993 struct_size = sizeof (ib_mad_notice_t); in ibmf_saa_utils_pack_payload()
1003 struct_size = sizeof (sa_node_record_t); in ibmf_saa_utils_pack_payload()
1048 struct_size = sizeof (sa_link_record_t); in ibmf_saa_utils_pack_payload()
1068 struct_size = sizeof (sa_path_record_t); in ibmf_saa_utils_pack_payload()
1088 struct_size = structs_payload_length; in ibmf_saa_utils_pack_payload()
1161 int struct_size, buf_size; in ibmf_saa_utils_unpack_payload() local
1181 struct_size = sizeof (ib_mad_notice_t); in ibmf_saa_utils_unpack_payload()
1191 struct_size = sizeof (sa_node_record_t); in ibmf_saa_utils_unpack_payload()
1240 struct_size = sizeof (sa_link_record_t); in ibmf_saa_utils_unpack_payload()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlistmgr.c47 #define REC_SIZE(x) (bl_cs_array[x]->struct_size)
60 int struct_size; /* size of a single list element */ member
219 bl_ptr->struct_size)) == NULL) { in alloc_next_seg()
254 bl_create(int count_per_block, int struct_size, char *desc) in bl_create() argument
270 bl_ptr->struct_size = struct_size; in bl_create()
272 bl_ptr->block_size = (count_per_block * struct_size); in bl_create()
307 bl_ptr->cur_segment->avail_ptr += bl_ptr->struct_size; in bl_next_avail()
381 ar_create(int count_per_block, int struct_size, char *desc) in ar_create() argument
455 list_ptr->alloc_segs->avail_ptr -= list_ptr->struct_size; in ar_delete()
462 (void) memset(deleted_rec, '\000', data_ptr->struct_size); in ar_delete()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c80 cache_alloc(char *fname, int len, size_t struct_size) in cache_alloc() argument
96 } else if ((itemp->data = malloc(struct_size)) == NULL) { in cache_alloc()
98 struct_size, "itemp->data"); in cache_alloc()
104 itemp->datal = struct_size; in cache_alloc()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_real.c886 int struct_size, struct_size_old; in sun_setmsg() local
914 struct_size = (int)(MSG_STRUCT_SIZE * count); in sun_setmsg()
918 (msg_struct_size != struct_size))) { in sun_setmsg()
938 struct_size); in sun_setmsg()
940 struct_size + sun_header->str_count_msgid); in sun_setmsg()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_constraints_required.c101 sval_t struct_size; in handle_zero_size_arrays() local
127 if (!get_implied_value(left, &struct_size)) in handle_zero_size_arrays()
129 if (struct_size.value != type_bytes(type)) in handle_zero_size_arrays()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_negotiate.c595 uint16_t struct_size; in smb2_newrq_negotiate() local
619 &struct_size, /* w */ in smb2_newrq_negotiate()
630 if (struct_size != 36) in smb2_newrq_negotiate()
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dlibinst.h168 extern int bl_create __P((int count_per_block, int struct_size,
173 extern int ar_create __P((int count_per_block, int struct_size,
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c557 int struct_size, total_size, real_id_size; in stmf_alloc_id() local
560 struct_size = (sizeof (*id) + 7) & (~7); in stmf_alloc_id()
561 total_size = ((additional_size + 7) & (~7)) + struct_size + in stmf_alloc_id()
566 id->id_data = ((uint8_t *)id) + struct_size; in stmf_alloc_id()
569 id->id_impl_specific = ((uint8_t *)id) + struct_size + in stmf_alloc_id()
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c516 gfs_dir_create(size_t struct_size, vnode_t *pvp, vnodeops_t *ops, in gfs_dir_create() argument
524 vp = gfs_file_create(struct_size, pvp, ops); in gfs_dir_create()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c60 _nss_XbyY_buf_alloc(int struct_size, int buffer_size) in _nss_XbyY_buf_alloc() argument
66 malloc(ALIGN(sizeof (*b)) + struct_size + buffer_size); in _nss_XbyY_buf_alloc()
71 b->buffer = (char *)(b->result) + struct_size; in _nss_XbyY_buf_alloc()
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h385 extern nss_XbyY_buf_t *_nss_XbyY_buf_alloc(int struct_size, int buffer_size);