/titanic_44/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 …]
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 69 size_t frag_size; /* size of fragments fore and aft */ in memalign() local 143 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign() 144 if (frag_size != 0) { in memalign() 148 if (frag_size < MINSIZE + WORDSIZE) { in memalign() 155 frag_size += align; in memalign() 158 blksize -= frag_size; in memalign() 160 frag_size -= WORDSIZE; in memalign() 161 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign() 169 frag_size = blksize - nbytes; in memalign() 170 if (frag_size >= MINSIZE + WORDSIZE) { in memalign() [all …]
|
/titanic_44/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()
|
/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_server.c | 738 unsigned long frag_size; in ndr_send_reply() local 742 frag_size = mxa->pipe->np_max_recv_frag; in ndr_send_reply() 746 if (pdu_size <= frag_size) { in ndr_send_reply() 795 frag_data_size = frag_size - NDR_RSP_HDR_SIZE; in ndr_send_reply() 801 hdr->frag_length = frag_size; in ndr_send_reply() 805 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, frag_size); in ndr_send_reply() 815 hdr->frag_length = frag_size; in ndr_send_reply() 820 (void) NDR_PIPE_SEND(mxa->pipe, pdu_buf, frag_size); in ndr_send_reply() 829 frag_size = pdu_data_size + NDR_RSP_HDR_SIZE; in ndr_send_reply() 830 hdr->frag_length = frag_size; in ndr_send_reply() [all …]
|
H A D | ndr_client.c | 279 int frag_size; in ndr_clnt_get_frags() local 289 frag_size = hdr.frag_length; in ndr_clnt_get_frags() 291 if (frag_size > (nds->pdu_size - nds->pdu_scan_offset)) { in ndr_clnt_get_frags() 297 nds->pdu_scan_offset += frag_size - NDR_RSP_HDR_SIZE; in ndr_clnt_get_frags()
|
/titanic_44/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()
|
/titanic_44/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1126 size_t frag_size; /* size of fragments fore and aft */ in memalign() local 1196 frag_size = (size_t)aligned_blk - (size_t)blk; in memalign() 1197 if (frag_size != 0) { in memalign() 1201 if (frag_size < MINSIZE + WORDSIZE) { in memalign() 1208 frag_size += align; in memalign() 1212 blksize -= frag_size; in memalign() 1214 frag_size -= WORDSIZE; in memalign() 1215 SIZE(blk) = frag_size | BIT0 | ISBIT1(SIZE(blk)); in memalign() 1229 frag_size = blksize - nbytes; in memalign() 1230 if (frag_size >= MINSIZE + WORDSIZE) { in memalign() [all …]
|
/titanic_44/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
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/fs.d/ |
H A D | df.c | 1273 DEFINE_STR_LEN(frag_size); in g_output() 1290 SET_STR_LEN("frag size", frag_size); in g_output()
|