/src/sys/dist/pf/net/ |
pf_norm.c | 215 struct pf_fragment *frag; local in function:pf_purge_expired_fragments 219 while ((frag = TAILQ_LAST(&pf_fragqueue, pf_fragqueue)) != NULL) { 220 KASSERT(BUFFER_FRAGMENTS(frag)); 221 if (frag->fr_timeout > expire) 224 DPFPRINTF(("expiring %d(%p)\n", frag->fr_id, frag)); 225 pf_free_fragment(frag); 228 while ((frag = TAILQ_LAST(&pf_cachequeue, pf_cachequeue)) != NULL) { 229 KASSERT(!BUFFER_FRAGMENTS(frag)); 230 if (frag->fr_timeout > expire 247 struct pf_fragment *frag; local in function:pf_flush_fragments 320 struct pf_fragment *frag; local in function:pf_find_fragment 862 struct pf_fragment *frag = NULL; local in function:pf_normalize_ip 1107 struct ip6_frag frag; local in function:pf_normalize_ip6 [all...] |
/src/sys/external/bsd/ipf/netinet/ |
ip_frag.c | 196 RWLOCK_INIT(&softf->ipfr_ipidfrag, "frag ipid lock"); 334 /* Returns: ipfrstat_t* - pointer to struct with current frag stats */ 354 /* table(I) - pointer to frag table to add to */ 375 ipfr_t *fra, frag, *fran; local in function:ipfr_frag_new 396 memset(&frag, 0, sizeof(frag)); 397 frag.ipfr_v = fin->fin_v; 399 frag.ipfr_p = fin->fin_p; 401 frag.ipfr_id = fin->fin_id; 403 frag.ipfr_source = fin->fin_fi.fi_src 634 ipfr_t *f, frag; local in function:ipf_frag_lookup 1160 ipfr_t *frag, *next, zero; local in function:ipf_frag_next [all...] |
/src/sys/ufs/chfs/ |
chfs_readinode.c | 57 /* frag node operations */ 105 /* frag node rbtree operations */ 118 const struct chfs_node_frag *frag = n; local in function:frag_compare_key 121 return (frag->ofs - ofs); 489 * Puts hole frag into the holes between fragments. 526 /* Find the offset of frag which is before the new one. */ 659 struct chfs_node_frag *frag; local in function:chfs_truncate_fragtree 663 frag = (struct chfs_node_frag *)rb_tree_find_node_leq(fragtree, &size); 665 /* Find the last frag before size and set its new size. */ 666 if (frag && frag->ofs != size) 1103 struct chfs_node_frag *frag; local in function:chfs_read_data [all...] |
chfs.h | 245 struct chfs_node_frag *frag; local in function:frag_first 247 frag = (struct chfs_node_frag *)RB_TREE_MIN(tree); 249 return frag; 256 struct chfs_node_frag *frag; local in function:frag_last 258 frag = (struct chfs_node_frag *)RB_TREE_MAX(tree); 260 return frag; 264 #define frag_next(tree, frag) (struct chfs_node_frag *)rb_tree_iterate(tree, frag, RB_DIR_RIGHT) 265 #define frag_prev(tree, frag) (struct chfs_node_frag *)rb_tree_iterate(tree, frag, RB_DIR_LEFT [all...] |
chfs_gc.c | 851 struct chfs_node_frag *frag; local in function:chfs_gcollect_live 878 for(frag = frag_first(&ip->fragtree); 879 frag; frag = frag_next(&ip->fragtree, frag)) { 880 if (frag->node && frag->node->nref == nref) { 881 fn = frag->node; 882 end = frag->ofs + frag->size [all...] |
chfs_malloc.c | 371 chfs_free_node_frag(struct chfs_node_frag *frag) 373 pool_cache_put(chfs_node_frag_cache, frag);
|
/src/tests/net/icmp/ |
t_ping.c | 342 size_t tot, frag; local in function:ATF_TC_BODY 418 tot += (frag - sizeof(*ip))) { 419 frag = MIN(65538 - tot, sizeof(data)); 422 ip->ip_len = frag; 424 if (frag == sizeof(data)) { 428 error = rump_sys_sendto(s, data, frag, 0, 435 if ((size_t)error != frag)
|
/src/sys/fs/filecorefs/ |
filecore_bmap.c | 138 u_long frag, sect, zone, izone, a, b, m, n; local in function:filecore_map 147 frag = addr >> 8; 150 if (frag != 2) 151 zone = frag / fcmp->idspz; 199 if (a == frag) {
|
/src/sys/arch/landisk/stand/boot/ |
biosdisk.c | 358 int frag; local in function:biosdisk_strategy 375 frag = size % BIOSDISK_SECSIZE; 376 if (frag) { 382 memcpy(buf + blks * BIOSDISK_SECSIZE, d->buf, frag);
|
/src/sys/dev/usb/ |
mbim.h | 180 struct mbim_fraghdr frag; member in struct:mbim_fragmented_msg_hdr 194 struct mbim_fraghdr frag; member in struct:mbim_h2f_cmd 206 struct mbim_fraghdr frag; member in struct:mbim_f2h_indicate_status 234 struct mbim_fraghdr frag; member in struct:mbim_f2h_cmddone
|
/src/sys/external/bsd/ena-com/ |
ena_eth_com.h | 75 bool frag; member in struct:ena_com_rx_ctx
|
ena_eth_com.c | 352 ena_rx_ctx->frag = 356 ena_trc_dbg("ena_rx_ctx->l3_proto %d ena_rx_ctx->l4_proto %d\nena_rx_ctx->l3_csum_err %d ena_rx_ctx->l4_csum_err %d\nhash frag %d frag: %d cdesc_status: %x\n", 362 ena_rx_ctx->frag,
|
/src/sys/dev/pci/ |
if_msk.c | 525 uint32_t rxidx, frag, cur, hiaddr, total; local in function:msk_newbuf 548 rxidx = frag = cur = sc_if->sk_cdata.sk_rx_prod; 588 c = &sc_if->sk_cdata.sk_rx_chain[frag]; 590 r = &sc_if->sk_rdata->sk_rx_ring[frag]; 597 MSK_CDRXSYNC(sc_if, frag, 599 SK_INC(frag, MSK_RX_RING_CNT); 605 c = &sc_if->sk_cdata.sk_rx_chain[frag]; 606 r = &sc_if->sk_rdata->sk_rx_ring[frag]; 615 MSK_CDRXSYNC(sc_if, frag, 617 cur = frag; 1883 uint32_t frag, cur, hiaddr, total; local in function:msk_encap [all...] |
if_ti.c | 2210 uint32_t frag, cur, cnt = 0; local in function:ti_encap_tigon1 2234 cur = frag = *txidx; 2251 if (frag > 383) 2254 else if (frag > 255) 2257 else if (frag > 127) 2263 f = &sc->ti_tx_ring_nic[frag % 128]; 2264 if (sc->ti_cdata.ti_tx_chain[frag] != NULL) 2281 cur = frag; 2282 TI_INC(frag, TI_TX_RING_CNT); 2289 if (frag == sc->ti_tx_saved_considx 2313 uint32_t frag, firstfrag, cur, cnt = 0; local in function:ti_encap_tigon2 [all...] |
if_cas.c | 2066 uint32_t cur, frag, i; local in function:cas_encap 2069 cur = frag = *bixp; 2086 sc->sc_txdescs[frag].cd_addr = 2091 sc->sc_txdescs[frag].cd_flags = CAS_DMA_WRITE(flags); 2093 CAS_CDTXOFF(frag), sizeof(struct cas_desc), 2095 cur = frag; 2096 if (++frag == CAS_NTXDESC) 2097 frag = 0; 2105 bus_space_write_4(sc->sc_memt, sc->sc_memh, CAS_TX_KICK, frag); 2107 *bixp = frag; [all...] |
if_sk.c | 1842 uint32_t frag, cur, cnt = 0, sk_ctl; local in function:sk_encap 1856 cur = frag = *txidx; 1885 f = &sc_if->sk_rdata->sk_tx_ring[frag]; 1893 cur = frag; 1894 SK_INC(frag, SK_TX_RING_CNT); 1922 for (idx = *txidx; idx != frag; SK_INC(idx, SK_TX_RING_CNT)) { 1929 *txidx = frag;
|
/src/sys/sys/ |
disklabel_rdb.h | 120 uint32_t frag; /* 21: allowable frags per block */ member in struct:ados_environ
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_vm.c | 1378 * @frag: resulting fragment size 1385 unsigned int *frag, uint64_t *frag_end) 1390 * granularity is increased from 4KB to (1 << (12 + frag)). The PTE 1417 *frag = 0; 1423 *frag = min((unsigned)ffs(start) - 1, (unsigned)fls64(end - start) - 1); 1424 if (*frag >= max_frag) { 1425 *frag = max_frag; 1428 *frag_end = start + (1 << *frag); 1453 unsigned int frag; local in function:amdgpu_vm_update_ptes 1457 amdgpu_vm_fragment(params, frag_start, end, flags, &frag, &frag_end) [all...] |
/src/ |
build.sh | 827 for frag in ${found} 829 case "$frag" in 831 eval "$frag" 906 local line xline frag 925 for frag in ${xline} 927 case "${frag}" in
|
/src/sys/dev/pci/cxgb/ |
cxgb_lro.c | 313 skb_shinfo(s->skb)->frags[nr].page = frag->page; 315 frag->page_offset + IPH_OFFSET + tcpiphlen;
|
/src/sbin/newfs/ |
mkfs.c | 1295 * allocate a block or frag 1300 int i, frag; local in function:alloc 1341 frag = howmany(size, sblock.fs_fsize); 1342 fscs_0->cs_nffree += sblock.fs_frag - frag; 1343 sblock.fs_cstotal.cs_nffree += sblock.fs_frag - frag; 1344 acg.cg_cs.cs_nffree += sblock.fs_frag - frag; 1345 acg.cg_frsum[sblock.fs_frag - frag]++; 1346 for (i = frag; i < sblock.fs_frag; i++)
|
/src/sys/ufs/ffs/ |
fs.h | 270 int32_t fs_fsize; /* size of frag blocks in fs */ 278 int32_t fs_fmask; /* ``fragoff'' calc of frag offsets */ 285 int32_t fs_fragshift; /* block to frag shift */ 516 u_int32_t cg_frotor; /* position of last used frag */ 550 int32_t cg_frotor; /* position of last used frag */ 686 #define ffs_lfragtosize(fs, frag) /* calculates ((off_t)frag * fs->fs_fsize) */ \ 687 (((off_t)(frag)) << (fs)->fs_fshift)
|
/src/sys/ufs/lfs/ |
lfs_segment.c | 860 int i, frag; local in function:lfs_writefile 932 frag = 0; 937 ++frag; 939 KASSERTMSG((frag <= 1), 940 "lfs_writefile: more than one fragment! frag=%d", frag); 942 (frag == 0 && (lfs_writeindir || (sp->seg_flags & SEGM_CKP)))) { 1763 * If we write a frag in the wrong place, the cleaner won't
|
/src/sys/arch/i386/stand/lib/ |
biosdisk.c | 247 int blks, frag; local in function:biosdisk_strategy 267 frag = size % d->ll.secsize; 268 if (frag) { 274 memcpy(buf + blks * d->ll.secsize, d->buf, frag);
|
/src/sys/arch/ia64/disasm/ |
disasm_extract.c | 38 #define FRAG(o,l) ((int)((o << 8) | (l & 0xff))) 1851 int frag; local in function:vimm 1853 while ((frag = va_arg(ap, int)) != 0) { 1854 val |= (uint64_t)FIELD(bits, FRAG_OFS(frag), FRAG_LEN(frag)) 1856 len += FRAG_LEN(frag); 1934 s_immf(i, 2, bits, FRAG(13,7), FRAG(36,1), 0); 1939 s_immf(i, 2, bits, FRAG(13,7), FRAG(27,6), FRAG(36,1), 0) [all...] |