/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | memalign.c | 66 register uint frag_size; /* size of fragments fore and aft */ local 107 frag_size = (uint)aligned_blk - (uint)blk; 108 if (frag_size != 0) { 112 if ( frag_size < SMALLEST_BLK ) { 117 frag_size += align; 120 blk->size = frag_size; 121 blksize -= frag_size; 131 frag_size = blksize - nbytes; 132 if (frag_size > SMALLEST_BLK) { 137 blk->size = frag_size; [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 69 size_t frag_size; /* size of fragments fore and aft */ local 143 frag_size = (size_t)aligned_blk - (size_t)blk; 144 if (frag_size != 0) { 148 if (frag_size < MINSIZE + WORDSIZE) { 155 frag_size += align; 158 blksize -= frag_size; 160 frag_size -= WORDSIZE; 161 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); 169 frag_size = blksize - nbytes; 170 if (frag_size > [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 93 size = rq->cfg.frag_size + OCE_RQE_BUF_HEADROOM; 340 int frag_size; local 369 frag_size = (pkt_len > rq->cfg.frag_size) ? 370 rq->cfg.frag_size : pkt_len; 371 mp->b_wptr = mp->b_rptr + frag_size; 372 pkt_len -= frag_size; 399 int frag_size; local 427 frag_size = (pkt_len > rq->cfg.frag_size) [all...] |
H A D | oce_queue.c | 58 uint32_t frag_size, uint32_t mtu, 695 uint32_t frag_size, uint32_t mtu, 703 if (!OCE_LOG2(frag_size)) 717 rq->cfg.frag_size = frag_size; 847 fwcmd->params.req.frag_size = OCE_LOG2(rq->cfg.frag_size); 694 oce_rq_init(struct oce_dev *dev, uint32_t q_len, uint32_t frag_size, uint32_t mtu, boolean_t rss) argument
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_server.c | 738 unsigned long frag_size; local 742 frag_size = mxa->pipe->np_max_recv_frag; 746 if (pdu_size <= frag_size) { 790 * frag_size: total fragment size including header 792 * (i.e. frag_size - NDR_RSP_HDR_SIZE) 795 frag_data_size = frag_size - NDR_RSP_HDR_SIZE; 801 hdr->frag_length = frag_size; 805 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, frag_size); 815 hdr->frag_length = frag_size; 820 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, frag_size); [all...] |
H A D | ndr_client.c | 279 int frag_size; local 289 frag_size = hdr.frag_length; 291 if (frag_size > (nds->pdu_size - nds->pdu_scan_offset)) { 297 nds->pdu_scan_offset += frag_size - NDR_RSP_HDR_SIZE;
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgobjmap.c | 485 ulong_t frag_size; local 488 frag_size = (ulong_t)get_frag_size_n(fsys_entry); 492 nblk(block_size, block_size, frag_size); 495 frag_size); 508 ulong_t frag_size; local 518 frag_size = (ulong_t)get_frag_size_n(fsys_entry); 520 blks1 = nblk(ext1->cf_ent.cinfo.size, block_size, frag_size); 521 blks2 = nblk(ext2->cf_ent.cinfo.size, block_size, frag_size);
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1126 size_t frag_size; /* size of fragments fore and aft */ local 1196 frag_size = (size_t)aligned_blk - (size_t)blk; 1197 if (frag_size != 0) { 1201 if (frag_size < MINSIZE + WORDSIZE) { 1208 frag_size += align; 1212 blksize -= frag_size; 1214 frag_size -= WORDSIZE; 1215 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); 1229 frag_size = blksize - nbytes; 1230 if (frag_size > [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw_eth.h | 431 uint8_t frag_size; member in struct:mbx_create_nic_rq::__anon7736::__anon7737 436 uint8_t frag_size;
|
H A D | oce_io.h | 238 uint32_t frag_size; /* fragment size. Send log2(size) in commmand */ member in struct:rq_config
|
/illumos-gate/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 503 size_t frag_size = alloc_size - local 510 if (IS_OVERSIZE(frag_size, alloc_size)) { 519 frag_size = orig->size - data_size - 522 tail = oversize_header_alloc(taddr, frag_size);
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 1337 DEFINE_STR_LEN(frag_size); 1354 SET_STR_LEN("frag size", frag_size);
|