Searched defs:frag (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c684 * fs block allocated, but another is only claiming a frag
746 note_used(daddr32_t frag) argument
749 setbmap(frag);
H A Dutilities.c2242 freelogblk(daddr32_t frag) argument
2244 freeblk(sblock.fs_logbno, frag, 1);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat_y.y651 rr frag age mssclamp nattag setproto
655 rr frag age sticky mssclamp rdrproxy nattag
665 frag: | IPNY_FRAG { nat->in_flags |= IPN_FRAG; } label
799 { "frag", IPNY_FRAG },
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c97 lm_frag_t *frag; local
108 frag = frag_list->frag_arr;
139 for(i = 0; i < frag_list->cnt; i++, frag++) {
140 DbgBreakIf(frag->size > 0xffff || frag->size == 0); /* hw limit: each bd can point to a buffer with max size of 64KB */
142 tx_bd->addr_hi = frag->addr.as_u32.high;
143 tx_bd->addr_lo = frag->addr.as_u32.low;
145 tx_bd->size = (u16_t)frag->size;
146 dbg_bytes_prod_seq += frag->size;
148 dbg_buf_size += frag
[all...]
H A Dlm_l4rx.c306 IN lm_frag_t * frag,
316 DbgBreakIf(frag->size > TCP_MAX_SGE_SIZE || frag->size == 0);
318 rx_bd->addr_hi = frag->addr.as_u32.high;
319 rx_bd->addr_lo = frag->addr.as_u32.low;
321 rx_bd->size = (u16_t)frag->size;
323 DbgMessage(NULL, VERBOSEl4rx, "Setting Rx BD flags=0x%x, bd_addr=0x%p, size=%d\n", rx_bd->flags, rx_bd, frag->size);
1920 lm_frag_t * frag = frag_list->frag_arr; local
1954 /* Attach the first frag to the BD-chain */
1956 rx_bd = _lm_tcp_rx_set_bd(frag, flag
305 _lm_tcp_rx_set_bd( IN lm_frag_t * frag, IN u16_t flags, IN lm_bd_chain_t * rx_chain, IN u32_t dbg_bytes_prod ) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_frag.c128 /* the IP frag related variables are set in ipftuneable_setdefs() to
205 /* Returns: ipfrstat_t* - pointer to struct with current frag stats */
224 /* frag(O) - pointer to ipfr_t structure to fill */
229 static INLINE int ipfr_index(fin, frag)
231 ipfr_t *frag;
246 frag->ipfr_p = fin->fin_fi.fi_p;
247 frag->ipfr_id = fin->fin_id;
248 frag->ipfr_tos = ip6->ip6_flow & IPV6_FLOWINFO_MASK;
249 frag->ipfr_src.in6 = ip6->ip6_src;
250 frag
304 ipfr_t *fra, frag; local
496 ipfr_t *f, frag; local
951 ipfr_t *frag, *next, zero; local
[all...]
H A Dfil.c465 if (fin->fin_off != 0) /* Not the first frag */
624 struct ip6_frag *frag; local
635 frag = (struct ip6_frag *)((char *)fin->fin_dp - sizeof(*frag));
641 if ((frag->ip6f_offlg & IP6F_MORE_FRAG) != 0) {
648 fin->fin_id = frag->ip6f_ident;
649 fin->fin_off = ntohs(frag->ip6f_offlg & IP6F_OFF_MASK);
653 return frag->ip6f_nxt;
2244 * If the rule has "keep frag" and the packet is actually a fragment,
6331 /* frag */
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dns8390.c492 unsigned short len, frag; local
545 frag = (eth_memsize << 8) - pktoff;
546 if (len > frag) { /* We have a wrap-around */
549 eth_pio_read(pktoff, p, frag);
551 memcpy(p, bus_to_virt(eth_rmem + pktoff), frag);
553 p += frag;
554 len -= frag;
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c140 OUT lm_frag_t **frag,
215 DbgBreakIfFastPath((*frag)->size >= 0x10000 || (*frag)->size == 0);
220 prod_bd->addr_lo = mm_cpu_to_le32((*frag)->addr.as_u32.low);
221 prod_bd->addr_hi = mm_cpu_to_le32((*frag)->addr.as_u32.high);
222 prod_bd->nbytes = mm_cpu_to_le16((u16_t) (*frag)->size);
229 lm_handle_lso_split((*frag)->addr,
246 packet->size += (*frag)->size;
247 (*frag)++;
337 * - The coalesce buffer frag siz
134 lm_process_lso_packet(IN lm_packet_t *packet, IN lm_device_t *pdev, IN lm_tx_chain_t *tx_chain, IN lm_frag_list_t *frags, IN void *parse_bd, IN struct eth_tx_start_bd *start_bd, OUT lm_frag_t **frag, IN u16_t total_hlen_bytes, IN u8_t split_required) argument
351 lm_frag_t* frag; local
587 lm_frag_t *frag = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c276 struct rdsv3_page_frag *frag; local
279 RDSV3_FOR_EACH_LIST_NODE_SAFE(frag, pos, &ibinc->ii_frags, f_item) {
280 list_remove_node(&frag->f_item);
281 kmem_cache_free(ibinc->ii_ibdev->ib_frag_slab, frag);
336 struct rdsv3_page_frag *frag; local
344 frag = list_head(&ibinc->ii_frags);
352 frag = list_next(&ibinc->ii_frags, frag);
360 "%lu bytes to user %p from frag [%p, %u] + %lu",
362 frag
601 struct rdsv3_page_frag *frag; local
[all...]
H A Drdsv3_impl.c960 struct rdsv3_page_frag *frag = (struct rdsv3_page_frag *)buf; local
966 bzero(frag, sizeof (struct rdsv3_page_frag));
967 list_link_init(&frag->f_item);
969 frag->f_page = kmem_alloc(PAGE_SIZE, kmflags);
970 if (frag->f_page == NULL) {
975 frag->f_offset = 0;
985 iov_arr[0].iov_addr = frag->f_page;
989 wr.recv.wr_sgl = &frag->f_sge;
992 &iov_attr, &wr, &frag->f_mapped) != IBT_SUCCESS) {
995 kmem_free(frag
1006 struct rdsv3_page_frag *frag = (struct rdsv3_page_frag *)buf; local
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h125 struct oce_nic_frag_wqe frag[OCE_TX_MAX_FRAGS]; member in struct:_oce_wqe_desc_s
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c808 sctp_sack_frag_t *frag; local
835 if (datalen < (numfrags * sizeof (*frag))) {
840 frag = (sctp_sack_frag_t *)(scp + 1);
844 ntohs(frag->ssf_start), ntohs(frag->ssf_end));
845 frag += 1;
849 datalen -= numfrags * sizeof (*frag);
856 tsn = (uint32_t *)frag;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_trans.c377 daddr_t frag; local
383 if ((frag = *blkp) != 0) {
391 TRANS_MATAADD(ufsvfsp, ldbtob(fsbtodb(fs, frag)), nb);
402 daddr_t frag,
413 bp = UFS_BREAD(ufsvfsp, ip->i_dev, fsbtodb(fs, frag), fs->fs_bsize);
469 daddr_t frag,
478 TRANS_MATAADD(ufsvfsp, ldbtob(fsbtodb(fs, frag)), nb);
399 ufs_trans_mata_indir( struct inode *ip, daddr_t *fragsp, daddr_t frag, int level) argument
466 ufs_trans_mata_alloc( struct ufsvfs *ufsvfsp, struct inode *ip, daddr_t frag, ulong_t nb, int indir) argument
H A Dufs_alloc.c607 * ((sect/frag) * (ms/sec))
714 "free: freeing free frag, "
1115 daddr_t blkno, rpos, frag; local
1260 frag = (cgp->cg_cgx * fs->fs_fpg) + bno;
1261 if (TRANS_ISCANCEL(ufsvfsp, ldbtob(fsbtodb(fs, frag)), fs->fs_bsize))
1278 return (frag);
1429 * through the bits to find the selected frag
2022 /* convert block offset in cg to frag offset in cg */
2025 /* convert frag offset in cg to frag offse
[all...]
H A Dufs_subr.c1582 int frag; local
1586 frag = fs->fs_frag;
1587 ASSERT(frag == 8 || frag == 4 || frag == 2 || frag == 1);
1588 switch (frag) {
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c1010 ip6_frag_t *frag = NULL; local
1025 &proto, &frag))
1034 if (frag != NULL || (policy & MAC_PKT_HASH_L3) != 0) {
1043 if (frag != NULL) {
1044 uint8_t *identp = (uint8_t *)&frag->ip6f_ident;
H A Dmac_flow.c1969 ip6_frag_t *frag = NULL; local
1974 &nexthdr, &frag)) {
1980 l3info->l3_fragmented = (frag != NULL);
H A Dmac_protect.c811 ip6_frag_t *frag = NULL; local
816 if (!mac_ip_hdr_length_v6(ip6h, end, &hdrlen, &proto, &frag))
822 if (frag != NULL) {
829 if ((ntohs(frag->ip6f_offlg) & ~7) != 0)
860 ip6_frag_t *frag = NULL; local
865 if (!mac_ip_hdr_length_v6(ip6h, end, &hdrlen, &proto, &frag))
871 if (frag != NULL) {
878 if ((ntohs(frag->ip6f_offlg) & ~7) != 0)
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c1141 struct sbbc_fragment frag; local
1169 frag.f_id = msg_id;
1170 frag.f_type = msg->msg_type;
1171 frag.f_status = 0;
1172 frag.f_total_len = msg->msg_len;
1173 frag.f_frag_offset = 0;
1177 bcopy(&msg->msg_data, &frag.f_data, sizeof (msg->msg_data));
1188 rc = mbox_write(&header, &frag, msg);
1204 bytes_written += frag.f_frag_len;
1205 frag
1272 struct sbbc_fragment frag; local
1597 mbox_write(struct sbbc_mbox_header *header, struct sbbc_fragment *frag, sbbc_msg_t *msg) argument
1808 mbox_read(struct sbbc_mbox_header *header, struct sbbc_fragment *frag, sbbc_msg_t *msg) argument
1963 struct sbbc_fragment frag; local
2140 mbox_read_frag(struct sbbc_mbox_header *header, struct sbbc_fragment *frag) argument
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.h300 caddr_t frag; /* terminal count */ member in struct:cmediahd_regs
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c1603 diskaddr_t frag = 0; local
1638 if ((frag = (size - (count * un->un_rs_copysize))) != 0)
1841 if ((count == 1) && frag)
1842 size = frag;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c1212 pfn_t offset, len, hole, base, end, test_end, frag; local
1296 frag = 0;
1299 frag = nearest - hole - end;
1302 len = (len >> stripe_shift) - offset - frag;
1780 uint64_t stripe, frag, remove; local
1841 frag = (end - (base - offset)) & (stride - 1);
1842 if (frag == 0) {
1845 } else if (frag < stripe) {
1850 remove = frag - stripe;
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_rxdma.c2203 uint64_t frag; local
2218 frag = (rcr_entry & RCR_FRAG_MASK);
2717 "is_valid 0x%x multi 0x%llx pkt %d frag %d error %d",
2718 is_valid, multi, is_tcp_udp, frag, error_type));
2720 if (is_tcp_udp && !frag && !error_type) {
2724 "is_valid 0x%x multi 0x%llx pkt %d frag %d "
2726 is_valid, multi, is_tcp_udp, frag, error_type));
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c42 * (INT_MAX) times the maximum number of sectors per frag. Since
43 * the maximum frag size is MAXBSIZE, the maximum number of sectors
44 * per frag is MAXBSIZE/DEV_BSIZE.
852 * frag size can't be any larger than a file system
896 * contains the inode and frag bigmaps, must fit
906 * * frag size
1069 * Since the maximum allocatable unit (the frag) must be less than
2861 * allocate a block or frag
2866 int i, frag; local
2899 frag
4314 csfraginrange(daddr32_t frag) argument
4320 findcsfrag(daddr32_t frag, struct csfrag **cfap) argument
4334 checkindirect(ino_t ino, daddr32_t *fragsp, daddr32_t frag, int level) argument
4354 addcsfrag(ino_t ino, daddr32_t frag, struct csfrag **cfap) argument
4409 delcsfrag(daddr32_t frag, struct csfrag **cfap) argument
4442 diskaddr_t frag; local
4501 fixindirect(daddr32_t frag, int level) argument
4521 fixdirect(caddr_t bp, daddr32_t frag, daddr32_t *db, int ne) argument
4590 checkfragallocated(daddr32_t frag) argument
5055 freefrags(daddr32_t frag, long frags, long cylno) argument
[all...]

Completed in 196 milliseconds

12