Home
last modified time | relevance | path

Searched refs:frag (Results 1 – 25 of 36) sorted by relevance

12

/titanic_44/usr/src/uts/common/inet/ipf/
H A Dip_frag.c229 static INLINE int ipfr_index(fin, frag) in ipfr_index() argument
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->ipfr_dst.in6 = ip6->ip6_dst;
256 frag->ipfr_p = ip->ip_p;
257 frag->ipfr_id = ip->ip_id;
258 frag->ipfr_tos = ip->ip_tos;
[all …]
/titanic_44/usr/src/lib/libsecdb/
H A Dsvc-rbac59 tmp_frag=$tmp_rbac/frag
91 for frag in `ls -tr $f $d/* 2> /dev/null`
93 if [ "$frag" = "$f" ]
98 if [ -f "$frag" ]
103 /usr/bin/grep '^#' $frag > $tmp_frag
107 /usr/bin/grep -v '^#' $frag >> $tmp_file
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c140 OUT lm_frag_t **frag, in lm_process_lso_packet() argument
215 DbgBreakIfFastPath((*frag)->size >= 0x10000 || (*frag)->size == 0); in lm_process_lso_packet()
220 prod_bd->addr_lo = mm_cpu_to_le32((*frag)->addr.as_u32.low); in lm_process_lso_packet()
221 prod_bd->addr_hi = mm_cpu_to_le32((*frag)->addr.as_u32.high); in lm_process_lso_packet()
222 prod_bd->nbytes = mm_cpu_to_le16((u16_t) (*frag)->size); in lm_process_lso_packet()
229 lm_handle_lso_split((*frag)->addr, in lm_process_lso_packet()
246 packet->size += (*frag)->size; in lm_process_lso_packet()
247 (*frag)++; in lm_process_lso_packet()
351 lm_frag_t* frag; in lm_copy_packet_to_coalesce_buffer() local
364 frag = &frags->frag_arr[0]; in lm_copy_packet_to_coalesce_buffer()
[all …]
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c1141 struct sbbc_fragment frag; in sbbc_mbox_send_msg() local
1169 frag.f_id = msg_id; in sbbc_mbox_send_msg()
1170 frag.f_type = msg->msg_type; in sbbc_mbox_send_msg()
1171 frag.f_status = 0; in sbbc_mbox_send_msg()
1172 frag.f_total_len = msg->msg_len; in sbbc_mbox_send_msg()
1173 frag.f_frag_offset = 0; in sbbc_mbox_send_msg()
1177 bcopy(&msg->msg_data, &frag.f_data, sizeof (msg->msg_data)); in sbbc_mbox_send_msg()
1188 rc = mbox_write(&header, &frag, msg); in sbbc_mbox_send_msg()
1204 bytes_written += frag.f_frag_len; in sbbc_mbox_send_msg()
1205 frag.f_frag_offset += frag.f_frag_len; in sbbc_mbox_send_msg()
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c276 struct rdsv3_page_frag *frag; in rdsv3_ib_inc_drop() local
279 RDSV3_FOR_EACH_LIST_NODE_SAFE(frag, pos, &ibinc->ii_frags, f_item) { in rdsv3_ib_inc_drop()
280 list_remove_node(&frag->f_item); in rdsv3_ib_inc_drop()
281 kmem_cache_free(ibinc->ii_ibdev->ib_frag_slab, frag); in rdsv3_ib_inc_drop()
336 struct rdsv3_page_frag *frag; in rdsv3_ib_inc_copy_to_user() local
344 frag = list_head(&ibinc->ii_frags); in rdsv3_ib_inc_copy_to_user()
352 frag = list_next(&ibinc->ii_frags, frag); in rdsv3_ib_inc_copy_to_user()
362 frag->f_page, frag->f_offset, frag_off); in rdsv3_ib_inc_copy_to_user()
364 ret = uiomove((caddr_t)(frag->f_page + in rdsv3_ib_inc_copy_to_user()
365 frag->f_offset + frag_off), in rdsv3_ib_inc_copy_to_user()
[all …]
H A Drdsv3_impl.c960 struct rdsv3_page_frag *frag = (struct rdsv3_page_frag *)buf; in rdsv3_ib_frag_constructor() local
966 bzero(frag, sizeof (struct rdsv3_page_frag)); in rdsv3_ib_frag_constructor()
967 list_link_init(&frag->f_item); in rdsv3_ib_frag_constructor()
969 frag->f_page = kmem_alloc(PAGE_SIZE, kmflags); in rdsv3_ib_frag_constructor()
970 if (frag->f_page == NULL) { in rdsv3_ib_frag_constructor()
975 frag->f_offset = 0; in rdsv3_ib_frag_constructor()
985 iov_arr[0].iov_addr = frag->f_page; in rdsv3_ib_frag_constructor()
989 wr.recv.wr_sgl = &frag->f_sge; in rdsv3_ib_frag_constructor()
992 &iov_attr, &wr, &frag->f_mapped) != IBT_SUCCESS) { in rdsv3_ib_frag_constructor()
995 kmem_free(frag->f_page, PAGE_SIZE); in rdsv3_ib_frag_constructor()
[all …]
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c97 lm_frag_t *frag; in lm_tcp_tx_post_buf() local
108 frag = frag_list->frag_arr; in lm_tcp_tx_post_buf()
139 for(i = 0; i < frag_list->cnt; i++, frag++) { in lm_tcp_tx_post_buf()
140 …DbgBreakIf(frag->size > 0xffff || frag->size == 0); /* hw limit: each bd can point to a buffer wit… in lm_tcp_tx_post_buf()
142 tx_bd->addr_hi = frag->addr.as_u32.high; in lm_tcp_tx_post_buf()
143 tx_bd->addr_lo = frag->addr.as_u32.low; in lm_tcp_tx_post_buf()
145 tx_bd->size = (u16_t)frag->size; in lm_tcp_tx_post_buf()
146 dbg_bytes_prod_seq += frag->size; in lm_tcp_tx_post_buf()
148 dbg_buf_size += frag->size; in lm_tcp_tx_post_buf()
H A Dlm_l4rx.c306 IN lm_frag_t * frag, in _lm_tcp_rx_set_bd() argument
316 DbgBreakIf(frag->size > TCP_MAX_SGE_SIZE || frag->size == 0); in _lm_tcp_rx_set_bd()
318 rx_bd->addr_hi = frag->addr.as_u32.high; in _lm_tcp_rx_set_bd()
319 rx_bd->addr_lo = frag->addr.as_u32.low; in _lm_tcp_rx_set_bd()
321 rx_bd->size = (u16_t)frag->size; in _lm_tcp_rx_set_bd()
323 …VERBOSEl4rx, "Setting Rx BD flags=0x%x, bd_addr=0x%p, size=%d\n", rx_bd->flags, rx_bd, frag->size); in _lm_tcp_rx_set_bd()
1920 lm_frag_t * frag = frag_list->frag_arr; in _lm_tcp_rx_post_buf() local
1956 rx_bd = _lm_tcp_rx_set_bd(frag, flags, rx_chain, bd_bytes_prod); in _lm_tcp_rx_post_buf()
1957 bd_bytes_prod += frag->size; in _lm_tcp_rx_post_buf()
1958 dbg_buf_size += frag->size; in _lm_tcp_rx_post_buf()
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dspd.c6172 ipsec_fragcache_init(ipsec_fragcache_t *frag) in ipsec_fragcache_init() argument
6177 mutex_init(&frag->itpf_lock, NULL, MUTEX_DEFAULT, NULL); in ipsec_fragcache_init()
6178 frag->itpf_ptr = (ipsec_fragcache_entry_t **) in ipsec_fragcache_init()
6181 if (frag->itpf_ptr == NULL) in ipsec_fragcache_init()
6188 kmem_free(frag->itpf_ptr, sizeof (ipsec_fragcache_entry_t *) * in ipsec_fragcache_init()
6193 frag->itpf_freelist = NULL; in ipsec_fragcache_init()
6196 ftemp->itpfe_next = frag->itpf_freelist; in ipsec_fragcache_init()
6197 frag->itpf_freelist = ftemp; in ipsec_fragcache_init()
6201 frag->itpf_expire_hint = 0; in ipsec_fragcache_init()
6207 ipsec_fragcache_uninit(ipsec_fragcache_t *frag, ipsec_stack_t *ipss) in ipsec_fragcache_uninit() argument
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c435 bcopy(&wqed->frag[i], wqe, NIC_WQE_SIZE); in oce_fill_ring_descs()
468 wqed->frag[wqed->frag_idx].u0.s.frag_pa_hi = wqbd->frag_addr.dw.addr_hi; in oce_bcopy_wqe()
469 wqed->frag[wqed->frag_idx].u0.s.frag_pa_lo = wqbd->frag_addr.dw.addr_lo; in oce_bcopy_wqe()
488 wqed->frag[wqed->frag_idx].u0.s.frag_len = pkt_len; in oce_bcopy_wqe()
535 wqed->frag[wqed->frag_idx].u0.s.frag_pa_hi = in oce_map_wqe()
537 wqed->frag[wqed->frag_idx].u0.s.frag_pa_lo = in oce_map_wqe()
539 wqed->frag[wqed->frag_idx].u0.s.frag_len = in oce_map_wqe()
802 wqeh = (struct oce_nic_hdr_wqe *)&wqed->frag[0]; in oce_send_packet()
840 bzero(&wqed->frag[num_wqes], sizeof (struct oce_nic_frag_wqe)); in oce_send_packet()
845 DW_SWAP(u32ptr(&wqed->frag[0]), (wqed->wqe_cnt * NIC_WQE_SIZE)); in oce_send_packet()
/titanic_44/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2845 int i, frag; in alloc() local
2878 frag = howmany(size, sblock.fs_fsize); in alloc()
2879 fscs[0].cs_nffree += sblock.fs_frag - frag; in alloc()
2880 sblock.fs_cstotal.cs_nffree += sblock.fs_frag - frag; in alloc()
2881 acg.cg_cs.cs_nffree += sblock.fs_frag - frag; in alloc()
2882 acg.cg_frsum[sblock.fs_frag - frag]++; in alloc()
2883 for (i = frag; i < sblock.fs_frag; i++) in alloc()
4290 csfraginrange(daddr32_t frag) in csfraginrange() argument
4292 return ((frag >= mincsfrag) && (frag <= maxcsfrag)); in csfraginrange()
4296 findcsfrag(daddr32_t frag, struct csfrag **cfap) in findcsfrag() argument
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c808 sctp_sack_frag_t *frag; in parse_sack_chunk() local
835 if (datalen < (numfrags * sizeof (*frag))) { in parse_sack_chunk()
840 frag = (sctp_sack_frag_t *)(scp + 1); in parse_sack_chunk()
844 ntohs(frag->ssf_start), ntohs(frag->ssf_end)); in parse_sack_chunk()
845 frag += 1; in parse_sack_chunk()
849 datalen -= numfrags * sizeof (*frag); in parse_sack_chunk()
856 tsn = (uint32_t *)frag; in parse_sack_chunk()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_trans.c377 daddr_t frag; in ufs_trans_mata_direct() local
383 if ((frag = *blkp) != 0) { in ufs_trans_mata_direct()
391 TRANS_MATAADD(ufsvfsp, ldbtob(fsbtodb(fs, frag)), nb); in ufs_trans_mata_direct()
402 daddr_t frag, in ufs_trans_mata_indir() argument
413 bp = UFS_BREAD(ufsvfsp, ip->i_dev, fsbtodb(fs, frag), fs->fs_bsize); in ufs_trans_mata_indir()
469 daddr_t frag, in ufs_trans_mata_alloc() argument
478 TRANS_MATAADD(ufsvfsp, ldbtob(fsbtodb(fs, frag)), nb); in ufs_trans_mata_alloc()
H A Dufs_subr.c1582 int frag; in isclrblock() local
1586 frag = fs->fs_frag; in isclrblock()
1587 ASSERT(frag == 8 || frag == 4 || frag == 2 || frag == 1); in isclrblock()
1588 switch (frag) { in isclrblock()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dns8390.c492 unsigned short len, frag; in ns8390_poll() local
545 frag = (eth_memsize << 8) - pktoff; in ns8390_poll()
546 if (len > frag) { /* We have a wrap-around */ in ns8390_poll()
549 eth_pio_read(pktoff, p, frag); in ns8390_poll()
551 memcpy(p, bus_to_virt(eth_rmem + pktoff), frag); in ns8390_poll()
553 p += frag; in ns8390_poll()
554 len -= frag; in ns8390_poll()
/titanic_44/usr/src/uts/sun4v/os/
H A Dmpo.c1212 pfn_t offset, len, hole, base, end, test_end, frag; in plat_mem_node_intersect_range() local
1296 frag = 0; in plat_mem_node_intersect_range()
1299 frag = nearest - hole - end; in plat_mem_node_intersect_range()
1302 len = (len >> stripe_shift) - offset - frag; in plat_mem_node_intersect_range()
1780 uint64_t stripe, frag, remove; in mstripe_update() local
1841 frag = (end - (base - offset)) & (stride - 1); in mstripe_update()
1842 if (frag == 0) { in mstripe_update()
1845 } else if (frag < stripe) { in mstripe_update()
1850 remove = frag - stripe; in mstripe_update()
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_util.c1010 ip6_frag_t *frag = NULL; in mac_pkt_hash() local
1025 &proto, &frag)) in mac_pkt_hash()
1034 if (frag != NULL || (policy & MAC_PKT_HASH_L3) != 0) { in mac_pkt_hash()
1043 if (frag != NULL) { in mac_pkt_hash()
1044 uint8_t *identp = (uint8_t *)&frag->ip6f_ident; in mac_pkt_hash()
H A Dmac_protect.c811 ip6_frag_t *frag = NULL; in get_dhcpv6_info() local
816 if (!mac_ip_hdr_length_v6(ip6h, end, &hdrlen, &proto, &frag)) in get_dhcpv6_info()
822 if (frag != NULL) { in get_dhcpv6_info()
829 if ((ntohs(frag->ip6f_offlg) & ~7) != 0) in get_dhcpv6_info()
860 ip6_frag_t *frag = NULL; in get_ra_info() local
865 if (!mac_ip_hdr_length_v6(ip6h, end, &hdrlen, &proto, &frag)) in get_ra_info()
871 if (frag != NULL) { in get_ra_info()
878 if ((ntohs(frag->ip6f_offlg) & ~7) != 0) in get_ra_info()
/titanic_44/usr/src/uts/common/smbsrv/ndl/
H A Drpcpdu.ndl192 WORD frag_length; /* 08:02 total length of frag */
428 WORD max_xmit_frag; /* 16:02 max xmit frag size, bytes */
429 WORD max_recv_frag; /* 18:02 max recv frag size, bytes */
465 WORD max_xmit_frag; /* 16:02 max xmit frag size, bytes */
466 WORD max_recv_frag; /* 18:02 max recv frag size, bytes */
/titanic_44/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.c728 OUTW(devc, (portc->bufsz/4) - 1, devc->rec_eng.frag); in cmediahd_reset_port()
927 devc->rec_eng.frag = RECA_FRAG; in cmediahd_hwinit()
1016 devc->rec_eng.frag = RECB_FRAG; in cmediahd_hwinit()
1044 devc->rec_eng.frag = RECB_FRAG; in cmediahd_hwinit()
1073 devc->rec_eng.frag = RECB_FRAG; in cmediahd_hwinit()
1108 devc->rec_eng.frag = RECA_FRAG; in cmediahd_hwinit()
/titanic_44/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
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c746 note_used(daddr32_t frag) in note_used() argument
749 setbmap(frag); in note_used()
/titanic_44/usr/src/cmd/ipf/examples/
H A Dexample.sr11 block in log quick on le0 from any to any with short frag
/titanic_44/usr/src/cmd/cmd-inet/etc/
H A Dprotocols65 ipv6-frag 44 IPv6-Frag # Fragment header for IPv6
/titanic_44/usr/src/grub/grub-0.97/
H A Dconfig.status.solaris589 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
591 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
593 if test ! -s $tmp/subs.frag; then
601 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed

12