/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 56 * bytes_left - Set in function on exit 76 int *write_offset, int *bytes_left) 82 *bytes_left = buflen; 95 *bytes_left -= sizeof_rep_hdr; 98 while (*bytes_left >= slen) { 101 if ((retval == 0) && (*bytes_left > slen) && 116 *bytes_left -= (strlen(sol) + 1); 122 if (*bytes_left > 0) { 124 if ((retval = strncmp(sol, srch_str, *bytes_left)) >= 0) { 223 int len, write_offset, bytes_left; local 75 search_line(char *buf, int buflen, char *srch_str, int slen, int *write_offset, int *bytes_left) argument [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_utf8.c | 124 int bytes_left; local 144 bytes_left = 1; 147 bytes_left = 2; 153 while (bytes_left--) {
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_nt_transact_security.c | 452 int bytes_left; local 456 bytes_left = mbc->max_bytes - offset; 457 if (bytes_left < (int)sizeof (smb_sid_t)) 460 if (MBC_SHADOW_CHAIN(&sidbuf, mbc, offset, bytes_left) != 0) 506 int bytes_left; local 512 bytes_left = mbc->max_bytes - offset; 513 if (bytes_left < SMB_ACL_HDRSIZE) 516 if (MBC_SHADOW_CHAIN(&aclbuf, mbc, offset, bytes_left) != 0)
|
H A D | smb_quota.c | 136 uint32_t offset, mb_offset, sid_offset, bytes_left; local 147 bytes_left = mbc->max_bytes - mb_offset; 149 mb_offset, bytes_left); 174 } while ((next_offset != 0) && (bytes_left > 0)); 216 uint32_t offset, mb_offset, sid_offset, bytes_left; local 228 bytes_left = mbc->max_bytes - mb_offset; 230 mb_offset, bytes_left); 261 } while ((next_offset != 0) && (bytes_left > 0));
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_q.c | 1284 uint_t bytes_left; local 1297 bytes_left = mblk->length; 1305 if ((mblk->next_offset + bytes_left) <= 1309 (uint8_t *)mblk->next_offset, bytes_left); 1312 mblk->next_offset += bytes_left; 1315 bytes_left = 0; 1344 bytes_left = bytes_left - length; 1349 } while (bytes_left > 0); 1601 uint_t bytes_left; local 1629 (uint8_t *)mblk->next_offset, new_addr, bytes_left); local [all...] |
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 135 uint32_t bytes_left; member in struct:aggr_ioc_info_state 148 if (state->bytes_left < sizeof (grp)) 165 state->bytes_left -= sizeof (grp); 177 if (state->bytes_left < sizeof (port)) 189 state->bytes_left -= sizeof (port); 201 state.bytes_left = info_argp->li_bufsize - sizeof (laioc_info_t);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | wscons.c | 1266 ssize_t bytes_left; local 1276 bytes_left = MAXHIWAT; 1294 if (bytes_left == 0) { 1306 bytes_left--; 1315 if ((cc = MAXHIWAT - bytes_left) != 0)
|
H A D | ldterm.c | 3396 ssize_t bytes_left; local 3417 bytes_left = obp->b_datap->db_lim - obp->b_wptr; \ 3437 bytes_left = obp->b_datap->db_lim - obp->b_wptr; 3440 bytes_left = 0; 3450 if ((bytes_left < (int)tp->t_maxeuc)) { 3502 bytes_left--; 3503 if (bytes_left == 0) { 3532 bytes_left--; 3573 if (bytes_to_move > bytes_left) 3574 bytes_to_move = bytes_left; [all...] |
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi.c | 91 size_t id_len, int *write_offset, int *bytes_left); 3356 * bytes_left - Set in function on exit 3365 int *write_offset, int *bytes_left) 3371 *bytes_left = buflen; 3388 while (*bytes_left >= (id_len + 3)) { 3402 *bytes_left = buflen - ((cur_pos + 1) - buf); 3409 *bytes_left = buflen - ((cur_pos + 1) - buf); 3455 int mpconf, bytes_left, write_offset; local 3532 pluginid, strlen(pluginid), &write_offset, &bytes_left) == 0) { 3577 int mpconf, tmp_mpconf, bytes_left, write_offse local 3364 search_line(MP_CHAR *buf, size_t buflen, MP_CHAR *srch_id, size_t id_len, int *write_offset, int *bytes_left) argument [all...] |
/illumos-gate/usr/src/uts/common/io/atu/ |
H A D | atu.c | 921 int block_size, bytes_left = 0, block = 0, err, i, count = 0; local 944 bytes_left = atu_fw_table[i].atur_int_size; 965 if (bytes_left >= DFU_MaxBlockSize) 968 block_size = bytes_left; 979 bytes_left -= block_size; 1033 int block_size, bytes_left = 0, block = 0, err, i; local 1038 bytes_left = atu_fw_table[i].atur_ext_size; 1041 while (bytes_left) { 1042 if (bytes_left > 1024) 1045 block_size = bytes_left; [all...] |
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 433 uint_t bytes_left; local 448 bytes_left = hwgrpp->dih_size; 453 if (sizeof (dld_hwgrpinfo_t) > bytes_left) { 472 bytes_left -= sizeof (dld_hwgrpinfo_t); 478 if (sizeof (dld_hwgrpinfo_t) > bytes_left) { 497 bytes_left -= sizeof (dld_hwgrpinfo_t); 502 if (sizeof (dld_hwgrpinfo_t) > bytes_left) { 522 bytes_left -= sizeof (dld_hwgrpinfo_t); 528 if (sizeof (dld_hwgrpinfo_t) > bytes_left) { 548 bytes_left 567 uint_t bytes_left; local [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 1331 int bytes_left; local 1337 bytes_left = CDATA_BUF_SIZE - pc->cdata_buf_len; 1338 if (len > bytes_left) { 1344 if (bytes_to_copy > bytes_left) 1345 bytes_to_copy = bytes_left;
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.c | 1467 int bytes_left; local 1474 bytes_left = data_sz; 1479 while (bytes_left > 0) { 1500 num_bytes = write(fd, bufp, bytes_left); 1524 bytes_left -= num_bytes; 1602 int bytes_left; local 1608 bytes_left = data_size; 1613 while (bytes_left > 0) { 1643 num_bytes = read(fd, bufp, bytes_left); 1667 bytes_left [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4rx.c | 625 u32_t bytes_left; local 640 bytes_left = min(tcp_buf->more_to_comp, max_num_bytes_to_copy); /* copy to buffer only what's aloud...*/ 643 while (bytes_left && curr_gen_buf && curr_gen_buf->placed_bytes) { 645 if (ncopy > bytes_left) { 646 ncopy = bytes_left; 693 bytes_left -= ncopy;
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslrec.c | 1077 int bytes_left = (int)datalen; local 1100 while (bytes_left > 0) { 1112 if (bytes_left > hashlen) { 1117 bytes_left -= hashlen; 1125 bcopy(result, data, bytes_left); 1126 data += bytes_left; 1127 bytes_left = 0;
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_xfer.c | 891 uint_t status, split_status, bytes_left; local 918 bytes_left = status & EHCI_QH_STS_BYTES_TO_XFER; 920 (bytes_left != 0)) {
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 451 size_t bytes_left = bytes_req; local 463 while (bytes_left > 0) { 465 nbytes = bytes_left; 490 bytes_left -= nbytes; 502 if (bytes_left == bytes_req) {
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 2215 size_t bytes_left, pos, rsz; local 2224 bytes_left = physpath_size - pos; 2227 rsz = snprintf(physpath + pos, bytes_left, format, tmppath); 2230 if (rsz >= bytes_left) { 2232 if (bytes_left != 0) {
|