Searched refs:frag_size (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 71 size_t frag_size; /* size of fragments fore and aft */ in memalign() local 145 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign() 146 if (frag_size != 0) { in memalign() 150 if (frag_size < MINSIZE + WORDSIZE) { in memalign() 157 frag_size += align; in memalign() 160 blksize -= frag_size; in memalign() 162 frag_size -= WORDSIZE; in memalign() 163 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign() 171 frag_size = blksize - nbytes; in memalign() 172 if (frag_size >= MINSIZE + WORDSIZE) { in memalign() [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; in oce_rqb_cache_create() 340 int frag_size; in oce_rx() local 369 frag_size = (pkt_len > rq->cfg.frag_size) ? in oce_rx() 370 rq->cfg.frag_size : pkt_len; in oce_rx() 371 mp->b_wptr = mp->b_rptr + frag_size; in oce_rx() 372 pkt_len -= frag_size; in oce_rx() 399 int frag_size; in oce_rx_bcopy() local 427 frag_size = (pkt_len > rq->cfg.frag_size) ? in oce_rx_bcopy() 428 rq->cfg.frag_size : pkt_len; in oce_rx_bcopy() 430 bcopy(rqbd->rqb->base + OCE_RQE_BUF_HEADROOM, rptr, frag_size); in oce_rx_bcopy() [all …]
|
H A D | oce_queue.c | 58 uint32_t frag_size, uint32_t mtu, 695 uint32_t frag_size, uint32_t mtu, in oce_rq_init() argument 703 if (!OCE_LOG2(frag_size)) in oce_rq_init() 717 rq->cfg.frag_size = frag_size; in oce_rq_init() 847 fwcmd->params.req.frag_size = OCE_LOG2(rq->cfg.frag_size); in oce_rq_create()
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_server.c | 701 unsigned long frag_size; in ndr_send_reply() local 705 frag_size = mxa->pipe->np_max_recv_frag; in ndr_send_reply() 709 if (pdu_size <= frag_size) { in ndr_send_reply() 758 frag_data_size = frag_size - NDR_RSP_HDR_SIZE; in ndr_send_reply() 764 hdr->frag_length = frag_size; in ndr_send_reply() 768 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, frag_size); in ndr_send_reply() 778 hdr->frag_length = frag_size; in ndr_send_reply() 783 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, frag_size); in ndr_send_reply() 792 frag_size = pdu_data_size + NDR_RSP_HDR_SIZE; in ndr_send_reply() 793 hdr->frag_length = frag_size; in ndr_send_reply() [all …]
|
H A D | ndr_client.c | 354 int frag_size; in ndr_clnt_get_frags() local 365 frag_size = hdr.frag_length; in ndr_clnt_get_frags() 370 if (frag_size > (nds->pdu_size - nds->pdu_scan_offset)) { in ndr_clnt_get_frags()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgobjmap.c | 485 ulong_t frag_size; in nblks() local 488 frag_size = (ulong_t)get_frag_size_n(fsys_entry); in nblks() 492 nblk(block_size, block_size, frag_size); in nblks() 495 frag_size); in nblks() 508 ulong_t frag_size; in size_xchng() local 518 frag_size = (ulong_t)get_frag_size_n(fsys_entry); in size_xchng() 520 blks1 = nblk(ext1->cf_ent.cinfo.size, block_size, frag_size); in size_xchng() 521 blks2 = nblk(ext2->cf_ent.cinfo.size, block_size, frag_size); in size_xchng()
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1124 size_t frag_size; /* size of fragments fore and aft */ in memalign() local 1194 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign() 1195 if (frag_size != 0) { in memalign() 1199 if (frag_size < MINSIZE + WORDSIZE) { in memalign() 1206 frag_size += align; in memalign() 1210 blksize -= frag_size; in memalign() 1212 frag_size -= WORDSIZE; in memalign() 1213 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign() 1227 frag_size = blksize - nbytes; in memalign() 1228 if (frag_size >= MINSIZE + WORDSIZE) { in memalign() [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 436 uint8_t frag_size;
|
H A D | oce_io.h | 238 uint32_t frag_size; /* fragment size. Send log2(size) in commmand */ member
|
/illumos-gate/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 503 size_t frag_size = alloc_size - in memalign() local 510 if (IS_OVERSIZE(frag_size, alloc_size)) { in memalign() 519 frag_size = orig->size - data_size - in memalign() 522 tail = oversize_header_alloc(taddr, frag_size); in memalign()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 1282 DEFINE_STR_LEN(frag_size); in g_output() 1299 SET_STR_LEN("frag size", frag_size); in g_output()
|