Home
last modified time | relevance | path

Searched refs:poffset (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/net/
H A Dbpf_zerocopy.c242 u_int count, page, poffset; in bpf_zerocopy_append_bytes() local
262 poffset = offset % PAGE_SIZE; in bpf_zerocopy_append_bytes()
267 count = min(len, PAGE_SIZE - poffset); in bpf_zerocopy_append_bytes()
269 poffset, count); in bpf_zerocopy_append_bytes()
270 poffset += count; in bpf_zerocopy_append_bytes()
271 if (poffset == PAGE_SIZE) { in bpf_zerocopy_append_bytes()
272 poffset = 0; in bpf_zerocopy_append_bytes()
275 KASSERT(poffset < PAGE_SIZE, in bpf_zerocopy_append_bytes()
277 poffset)); in bpf_zerocopy_append_bytes()
294 u_int count, moffset, page, poffset; in bpf_zerocopy_append_mbuf() local
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dgen_template.c470 char *poffset = NULL; in template_members()
475 poffset = partial_offset(basetype, name, need_offset); in template_members()
482 poffset, t->symbol->gen_name); in template_members()
484 add_line_pointer(temp, t->symbol->gen_name, poffset, in template_members()
507 add_line(temp, "{ A1_PARSE_T(A1T_%s), %s, NULL }", itype, poffset); in template_members()
511 add_line(temp, "{ A1_PARSE_T(A1T_GENERAL_STRING), %s, NULL }", poffset); in template_members()
514 add_line(temp, "{ A1_PARSE_T(A1T_TELETEX_STRING), %s, NULL }", poffset); in template_members()
517 add_line(temp, "{ A1_PARSE_T(A1T_PRINTABLE_STRING), %s, NULL }", poffset); in template_members()
520 add_line(temp, "{ A1_PARSE_T(A1T_OCTET_STRING), %s, NULL }", poffset); in template_members()
523 add_line(temp, "{ A1_PARSE_T(A1T_IA5_STRING), %s, NULL }", poffset); in template_members()
468 char *poffset = NULL; template_members() local
[all...]
/freebsd/sys/contrib/libfdt/
H A Dfdt_overlay.c300 uint32_t poffset; in overlay_update_local_node_references() local
302 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()
310 memcpy(&adj_val, tree_val + poffset, sizeof(adj_val)); in overlay_update_local_node_references()
318 poffset, in overlay_update_local_node_references()
416 int poffset, const char *label) in overlay_fixup_one_phandle() argument
448 name, name_len, poffset, in overlay_fixup_one_phandle()
494 int poffset, ret; in overlay_fixup_phandle() local
523 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
529 poffset, label); in overlay_fixup_phandle()
H A Dfdt_ro.c332 int *poffset) in fdt_get_property_namelen_() argument
345 if (poffset) in fdt_get_property_namelen_()
346 *poffset = offset; in fdt_get_property_namelen_()
386 int poffset; in fdt_getprop_namelen() local
390 &poffset); in fdt_getprop_namelen()
395 if (fdt_version(fdt) < 0x10 && (poffset + sizeof(*prop)) % 8 && in fdt_getprop_namelen()
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/qat/
H A Dlac_sym_qat_constants_table.c213 uint8_t *poffset) in LacSymQat_ConstantsGetCipherOffset() argument
226 *poffset = pConstantsLookupTables in LacSymQat_ConstantsGetCipherOffset()
242 uint8_t *poffset) in LacSymQat_ConstantsGetAuthOffset() argument
255 *poffset = pConstantsLookupTables->auth_offset[algo][mode][nested]; in LacSymQat_ConstantsGetAuthOffset()
/freebsd/lib/libc/gen/
H A Ddisklabel.c67 pfsize[3], poffset[3], ptype[3]; in getdiskbyname() local
120 strcpy(poffset, "ox"); in getdiskbyname()
126 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname()
131 cgetnum(buf, poffset, &l); in getdiskbyname()
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_qat_constants_table.h79 uint8_t *poffset);
108 uint8_t *poffset);
/freebsd/sys/vm/
H A Dvnode_pager.c1376 vm_ooffset_t max_offset, next_offset, poffset, prev_offset; in vnode_pager_generic_putpages() local
1402 poffset = IDX_TO_OFF(ma[0]->pindex); in vnode_pager_generic_putpages()
1417 if (maxsize + poffset > object->un_pager.vnp.vnp_size) { in vnode_pager_generic_putpages()
1418 if (object->un_pager.vnp.vnp_size > poffset) { in vnode_pager_generic_putpages()
1419 maxsize = object->un_pager.vnp.vnp_size - poffset; in vnode_pager_generic_putpages()
1451 max_offset = roundup2(poffset + maxsize, DEV_BSIZE); in vnode_pager_generic_putpages()
1453 for (prev_offset = poffset; prev_offset < max_offset;) { in vnode_pager_generic_putpages()
1456 m = ma[OFF_TO_IDX(prev_offset - poffset)]; in vnode_pager_generic_putpages()
1472 m = ma[OFF_TO_IDX(next_offset - poffset)]; in vnode_pager_generic_putpages()
1482 if (next_offset > poffset + maxsize) in vnode_pager_generic_putpages()
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c331 mlx5e_parse_mbuf_chain(const struct mbuf **mb, int *poffset, int eth_hdr_len, in mlx5e_parse_mbuf_chain()
335 poffset[0] = eth_hdr_len; in mlx5e_parse_mbuf_chain()
339 if (unlikely(mb[0]->m_len < eth_hdr_len - poffset[0] + min_len)) in mlx5e_parse_mbuf_chain()
341 return (mb[0]->m_data + eth_hdr_len - poffset[0]); in mlx5e_parse_mbuf_chain()
330 mlx5e_parse_mbuf_chain(const struct mbuf ** mb,int * poffset,int eth_hdr_len,int min_len) mlx5e_parse_mbuf_chain() argument
/freebsd/sys/geom/
H A Dgeom_disk.c331 g_disk_seg_limit(bus_dma_segment_t *seg, off_t *poffset, in g_disk_seg_limit() argument
340 offset = *poffset; in g_disk_seg_limit()
356 *poffset = 0; in g_disk_seg_limit()
/freebsd/sys/dev/firewire/
H A Dfwdev.c126 q->bulkxfer[i].poffset = i * q->bnpacket; in fwdev_allocbuf()
364 ir->stproc->poffset + ir->queued); in fw_read()
496 it->stproc->poffset + it->queued); in fw_write()
H A Dfirewirereg.h205 int poffset; member
H A Dfwohci.c1533 fwdma_sync_multiseg(it->buf, chunk->poffset, it->bnpacket,
2211 fwdma_sync_multiseg(ir->buf, chunk->poffset,
2570 int poffset) argument
2581 db_tr->buf = fwdma_v_addr(it->buf, poffset);
2589 fwdma_bus_addr(it->buf, poffset) + sizeof(uint32_t));
2602 int poffset, struct fwdma_alloc *dummy_dma) argument
2631 db_tr->buf = fwdma_v_addr(ir->buf, poffset);
2632 dbuf[db_tr->dbcnt] = fwdma_bus_addr(ir->buf, poffset);
/freebsd/sys/kern/
H A Dvfs_bio.c3034 int flags, i, resid, poffset, presid; in vfs_vmio_invalidate() local
3056 poffset = bp->b_offset & PAGE_MASK; in vfs_vmio_invalidate()
3064 presid = resid > (PAGE_SIZE - poffset) ? in vfs_vmio_invalidate()
3065 (PAGE_SIZE - poffset) : resid; in vfs_vmio_invalidate()
3069 vm_page_set_invalid(m, poffset, presid); in vfs_vmio_invalidate()
3073 poffset = 0; in vfs_vmio_invalidate()
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c2490 m_advance(struct mbuf **pm, int *poffset, int len) in m_advance() argument
2493 int offset = *poffset; in m_advance()
2509 *poffset = offset; in m_advance()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c8204 char *ctx = NULL, *icon, *poffset, *psize; in get_hs20_icon() local
8212 poffset = str_token(cmd, " ", &ctx); in get_hs20_icon()
8214 if (!icon || !poffset || !psize) in get_hs20_icon()
8218 return hs20_get_icon(wpa_s, dst_addr, icon, atoi(poffset), atoi(psize), in get_hs20_icon()