/titanic_44/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 83 size_t datasize; in setflabel() local 110 datasize = CALL_SIZE(setfbcl_call_t, path_len - BUFSIZE); in setflabel() 111 datasize += 2; /* PAD */ in setflabel() 113 if (datasize > bufsize) { in setflabel() 114 if ((callp = (labeld_data_t *)malloc(datasize)) == NULL) { in setflabel() 117 bufsize = datasize; in setflabel() 125 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { in setflabel() 183 size_t datasize; in zonecopy() local 201 datasize = CALL_SIZE(zcopy_call_t, strings - BUFSIZE); in zonecopy() 203 datasize += 4; /* PAD */ in zonecopy() [all …]
|
H A D | stob.c | 107 size_t datasize = CALL_SIZE(stobsl_call_t, strlen(string) + 1); in stobsl() local 129 if (datasize > bufsize) { in stobsl() 130 if ((callp = malloc(datasize)) == NULL) { in stobsl() 135 bufsize = datasize; in stobsl() 143 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { in stobsl() 234 size_t datasize = CALL_SIZE(stobclear_call_t, strlen(string) + 1); in stobclear() local 247 if (datasize > bufsize) { in stobclear() 248 if ((callp = malloc(datasize)) == NULL) { in stobclear() 253 bufsize = datasize; in stobclear() 261 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { in stobclear()
|
H A D | misc.c | 93 size_t datasize = CALL_SIZE(inset_call_t, 0); in blinset() local 99 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in blinset() 141 size_t datasize = CALL_SIZE(slvalid_call_t, 0); in bslvalid() local 159 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in bslvalid() 194 size_t datasize = CALL_SIZE(clrvalid_call_t, 0); in bclearvalid() local 212 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in bclearvalid() 242 size_t datasize = CALL_SIZE(info_call_t, 0); in labelinfo() local 247 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) != SUCCESS) { in labelinfo() 282 size_t datasize = CALL_SIZE(vers_call_t, 0); in labelvers() local 287 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in labelvers() [all …]
|
H A D | private.c | 241 size_t datasize = CALL_SIZE(bslcvt_call_t, 0); in bslcvtfull() local 252 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) { in bslcvtfull() 332 size_t datasize = CALL_SIZE(bslcvt_call_t, 0); in bslcvt() local 344 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) { in bslcvt() 418 size_t datasize = CALL_SIZE(bclearcvt_call_t, 0); in bclearcvtfull() local 429 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) { in bclearcvtfull() 512 size_t datasize = CALL_SIZE(bclearcvt_call_t, 0); in bclearcvt() local 524 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) { in bclearcvt() 579 size_t datasize = CALL_SIZE(fields_call_t, 0); in labelfields() local 584 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) != SUCCESS) { in labelfields() [all …]
|
H A D | btos.c | 151 size_t datasize = CALL_SIZE(bsltos_call_t, 0); in bsltos() local 167 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { in bsltos() 246 size_t datasize = CALL_SIZE(bcleartos_call_t, 0); in bcleartos() local 261 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { in bcleartos()
|
/titanic_44/usr/src/lib/libsum/common/ |
H A D | sum-lmd.c | 36 unsigned int datasize; \ 74 for (i = 0; i < lmd->datasize; i++) in lmd_done() 87 for (i = 0; i < lmd->datasize; i++) in lmd_print() 97 data->size = lmd->datasize; in lmd_data() 132 lmd->datasize = 16; in md4_open() 172 lmd->datasize = 16; in md5_open() 213 lmd->datasize = 20; in sha1_open() 253 lmd->datasize = 32; in sha256_open() 287 lmd->datasize = 48; in sha384_open() 321 lmd->datasize = 64; in sha512_open()
|
/titanic_44/usr/src/cmd/mdb/sun4v/modules/mdesc/ |
H A D | mdesc.c | 87 int mdesize, namesize, datasize; in mdinfo() local 118 datasize = mh.data_blk_sz; in mdinfo() 130 if ((datap = mdb_alloc(datasize, UM_NOSLEEP)) == NULL) { in mdinfo() 141 mdb_free(datap, datasize); in mdinfo() 150 mdb_free(datap, datasize); in mdinfo() 155 if (mdb_vread(datap, datasize, vaddr + MD_HEADER_SIZE + mdesize in mdinfo() 156 + namesize) != datasize) { in mdinfo() 159 mdb_free(datap, datasize); in mdinfo() 211 mdb_free(datap, datasize); in mdinfo()
|
/titanic_44/usr/src/common/tsol/ |
H A D | ltos.c | 191 size_t datasize; in label_to_str() local 208 datasize = CALL_SIZE(ls_call_t, 0); in label_to_str() 209 if ((err = __call_labeld(&callp, &bufsize, &datasize)) == in label_to_str() 260 datasize = CALL_SIZE(color_call_t, 0); in label_to_str() 264 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { in label_to_str() 309 datasize = CALL_SIZE(pr_call_t, 0); in label_to_str() 312 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { in label_to_str()
|
H A D | stol.c | 229 size_t datasize; in str_to_label() local 305 datasize = CALL_SIZE_STR(sl_call_t, strlen(st) + 1); in str_to_label() 306 if (datasize > bufsize) { in str_to_label() 307 if ((callp = malloc(datasize)) == NULL) { in str_to_label() 311 bufsize = datasize; in str_to_label() 328 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { in str_to_label()
|
/titanic_44/usr/src/cmd/sgs/elfdump/common/ |
H A D | dwarf.c | 686 dump_eh_frame(const char *file, char *sh_name, uchar_t *data, size_t datasize, in dump_eh_frame() argument 708 while (off < datasize) { in dump_eh_frame() 721 if (dwarf_extract_uint(data + off, datasize - off, in dump_eh_frame() 735 if (length > (datasize - off)) { in dump_eh_frame() 749 if (dwarf_extract_uint(data + off, datasize - off, &ndx, in dump_eh_frame() 785 if (uleb_extract(&data[off], &ndx, datasize - off, in dump_eh_frame() 793 if (sleb_extract(&data[off], &ndx, datasize - off, in dump_eh_frame() 814 datasize - off, &axsize) == in dump_eh_frame() 840 datasize - off, &ndx, &persVal, in dump_eh_frame() 924 switch (dwarf_ehe_extract(&data[off], datasize - off, in dump_eh_frame() [all …]
|
/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | clusters.c | 238 addToCache(int32_t clusterNum, uchar_t *buf, int32_t *datasize) in addToCache() argument 255 (void) memcpy(cp, buf, *datasize); in addToCache() 316 getCluster(int fd, int32_t clusterNum, uchar_t **data, int32_t *datasize) in getCluster() argument 322 *datasize = 0; in getCluster() 337 if ((*datasize = read(fd, clusterBuffer, BytesPerCluster)) == in getCluster() 343 if (*datasize >= 0) { in getCluster() 1470 readCluster(int fd, int32_t clusterNum, uchar_t **data, int32_t *datasize, in readCluster() argument 1478 *datasize = BytesPerCluster; in readCluster() 1482 rv = getCluster(fd, clusterNum, &newBuf, datasize); in readCluster() 1500 if (*datasize > 0) in readCluster() [all …]
|
H A D | fsck_pcfs.h | 221 int32_t *datasize, int shouldCache);
|
/titanic_44/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_q.c | 71 uint_t datasize); 73 uint8_t *data, uint_t datasize); 78 hci1394_q_buf_t *qbuf, uint32_t io_addr, uint_t datasize); 667 hci1394_basic_pkt_t *hdr, uint_t hdrsize, uint8_t *data, uint_t datasize, in hci1394_q_at_with_data() argument 720 status = hci1394_q_reserve(&q_handle->q_data, datasize, &data_ioaddr); in hci1394_q_at_with_data() 733 hci1394_q_at_rep_put8(&q_handle->q_data, cmd, data, datasize); in hci1394_q_at_with_data() 740 datasize); in hci1394_q_at_with_data() 1236 uint8_t *data, uint_t datasize) in hci1394_q_at_rep_put8() argument 1245 ASSERT(qbuf->qb_ptrs.qp_resv_size >= datasize); in hci1394_q_at_rep_put8() 1249 (uint8_t *)qbuf->qb_ptrs.qp_current, datasize, DDI_DEV_AUTOINCR); in hci1394_q_at_rep_put8() [all …]
|
/titanic_44/usr/src/uts/common/io/ |
H A D | pm.c | 1004 req.datasize = req32.datasize; in pm_ioctl() 1020 req.datasize = req32.datasize; in pm_ioctl() 1023 req.datasize = 0; in pm_ioctl() 1055 icount = req32.datasize / sizeof (int32_t); in pm_ioctl() 1063 req.datasize = icount * sizeof (int); in pm_ioctl() 1064 req.data = kmem_alloc(req.datasize, KM_SLEEP); in pm_ioctl() 1073 req.datasize); in pm_ioctl() 1136 req.datasize = 0; in pm_ioctl() 1169 icount = req.datasize / sizeof (int); in pm_ioctl() 1176 req.data = kmem_alloc(req.datasize, KM_SLEEP); in pm_ioctl() [all …]
|
H A D | tty_pts.c | 546 size_t datasize; in ptslioctl() local 800 if ((datasize = in ptslioctl() 808 pty->pt_wbufcid = bufcall(datasize, BPRI_HI, ptslreioctl, pty); in ptslioctl()
|
H A D | wscons.c | 719 size_t datasize; in wcioctl() local 891 datasize = ttycommon_ioctl(&pvc->vc_ttycommon, q, mp, &error); in wcioctl() 892 if (datasize != 0) { in wcioctl() 895 pvc->vc_bufcallid = qbufcall(q, datasize, BPRI_HI, in wcioctl()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | pm.h | 140 size_t datasize; /* Size of data buffer */ member 215 size32_t datasize; /* Size of data buffer */ member
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 2017 size_t datasize = 0; in _nsc_search() local 2049 datasize = pbuf->data_off; in _nsc_search() 2050 status = _nsc_trydoorcall_ext(&doorptr, &bufsize, &datasize); in _nsc_search() 2094 size_t datasize = 0; in _nsc_setent_u() local 2135 datasize = pbuf->data_off; in _nsc_setent_u() 2136 status = _nsc_trydoorcall_ext(&doorptr, &bufsize, &datasize); in _nsc_setent_u() 2171 size_t datasize = 0; in _nsc_getent_u() local 2198 datasize = pbuf->data_off; in _nsc_getent_u() 2199 status = _nsc_trydoorcall_ext(&doorptr, &bufsize, &datasize); in _nsc_getent_u() 2238 size_t datasize = 0; in _nsc_endent_u() local [all …]
|
/titanic_44/usr/src/uts/sun4u/starfire/cvc/ |
H A D | cvc.c | 553 int datasize; in cvc_ioctl() local 563 datasize = ttycommon_ioctl(tty, q, mp, &error); in cvc_ioctl() 564 if (datasize != 0) { in cvc_ioctl() 567 cp->cvc_wbufcid = bufcall(datasize, BPRI_HI, cvc_reioctl, cp); in cvc_ioctl()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_commands.c | 205 smrt_command_alloc_preinit(smrt_t *smrt, size_t datasize, int kmflags) in smrt_command_alloc_preinit() argument 223 if (smrt_command_attach_internal(smrt, smcm, datasize, kmflags) != 0) { in smrt_command_alloc_preinit()
|
/titanic_44/usr/src/uts/sun4u/starcat/io/ |
H A D | cvc.c | 643 int datasize; in cvc_ioctl() local 653 datasize = ttycommon_ioctl(&cp->cvc_tty, q, mp, &error); in cvc_ioctl() 654 if (datasize != 0) { in cvc_ioctl() 658 cp->cvc_wbufcid = bufcall(datasize, BPRI_HI, cvc_reioctl, cp); in cvc_ioctl()
|
/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | nvtype.c | 150 static size_t datasize(Namval_t *np, size_t *offset) in datasize() function 235 dsize = datasize(mp,&dsize); in put_chtype() 430 if((size = datasize(nr,(size_t*)0)) && size==datasize(nq,(size_t*)0)) in clone_type() 868 dsize = datasize(np,&offset); in nv_mktype() 1004 memcpy((char*)nq->nvalue.cp,nr->nvalue.cp,size=datasize(nr,(size_t*)0)); in nv_mktype() 1040 dsize = datasize(np,&offset); in nv_mktype() 1071 dsize = datasize(nr,&offset); in nv_mktype() 1109 memcpy((char*)nq->nvalue.cp,np->nvalue.cp,datasize(np,0)); in nv_mktype()
|
/titanic_44/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394_q.h | 362 hci1394_basic_pkt_t *hdr, uint_t hdrsize, uint8_t *data, uint_t datasize,
|
/titanic_44/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 1210 size_t datasize = 0; in door_server_dispatch() local 1220 datasize = ct->d_args.data_size; in door_server_dispatch() 1232 datasize = 0; in door_server_dispatch() 1235 } else if (datasize == 0) { in door_server_dispatch() 1243 error = door_layout(curthread, datasize, ndesc, in door_server_dispatch() 1274 ASSERT(datasize != 0); in door_server_dispatch() 1276 if (ct->d_upcall != NULL || datasize <= door_max_arg) { in door_server_dispatch() 1277 if (door_stack_copyout(ct->d_buf, datap, datasize)) { in door_server_dispatch() 1308 dr.data_size = datasize; in door_server_dispatch() 1325 dr32.data_size = (size32_t)datasize; in door_server_dispatch()
|
/titanic_44/usr/src/cmd/cpio/ |
H A D | cpio.c | 2231 read_chunk(int ifd, char *buffer, size_t datasize, data_in_t *data_in_info) in read_chunk() argument 2234 return (read(ifd, buffer, datasize)); in read_chunk() 2236 FILL(datasize); in read_chunk() 2240 datasize, NULL); in read_chunk() 2242 swap(Buffr.b_out_p, datasize); in read_chunk() 2258 (void) memcpy(buffer, Buffr.b_out_p, datasize); in read_chunk() 2259 Buffr.b_out_p += datasize; in read_chunk() 2260 Buffr.b_cnt -= datasize; in read_chunk() 2261 return (datasize); in read_chunk() 2512 off_t curpos, noff, datasize; in data_copy_with_holes() local [all …]
|