Searched refs:alloc_len (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libiov/common/
H A Dlibiov.c158 uint_t alloc_len; local
176 * We cache the size of the list we allocate in 'alloc_len' in
181 alloc_len = len;
182 pfp = malloc(alloc_len);
252 if (len > alloc_len) {
256 alloc_len = len;
/osnet-11/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c643 int res, alloc_len, off; local
694 alloc_len = MAX_ALLOC_LEN;
697 res = sg_ll_mode_sense10(sg_fd, ref_md, alloc_len);
704 off = sg_mode_page_offset(ref_md, alloc_len);
714 if (md_len > alloc_len) {
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c941 int alloc_len; local
945 alloc_len = sizeof (struct scsi_inquiry);
946 if ((*inq_buf = (struct scsi_inquiry *)calloc(1, alloc_len)) == NULL) {
956 sizeof (scsi_inq_req), *inq_buf, alloc_len, &sensebuf,
990 int alloc_len; local
994 alloc_len = sizeof (struct report_lun_resp);
995 if ((*resp_buf = (report_lun_resp_t *)calloc(1, alloc_len)) == NULL) {
1008 sizeof (scsi_rl_req), *resp_buf, alloc_len, sensebuf,
1011 FORMG5COUNT(&scsi_rl_req, alloc_len);
1021 alloc_len
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_sp.c1186 * alloc_len - the length of the allocation
1292 * alloc_len (see next paragraph) until it reaches
1294 * - alloc_len is used to represent data space allocated
1298 * alloc_len will be zero and the resulting MD_SP_WMSIZE
1319 sp_ext_length_t alloc_len; local
1393 alloc_len =
1396 if (align && (alloc_len < len)) {
1398 alloc_len -= alloc_len % alignment;
1401 if (alloc_len >
[all...]

Completed in 46 milliseconds