Home
last modified time | relevance | path

Searched refs:foff (Results 1 – 17 of 17) sorted by relevance

/dragonfly/sys/vm/
H A Ddevice_pager.c85 vm_ooffset_t foff, struct ucred *cred, u_short *pg_color);
110 vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) in cdev_pager_allocate() argument
119 if (foff & PAGE_MASK) in cdev_pager_allocate()
124 if (ops->cdev_pg_ctor(handle, size, prot, foff, cred, &color) != 0) in cdev_pager_allocate()
137 OFF_TO_IDX(foff + size)); in cdev_pager_allocate()
161 if (OFF_TO_IDX(foff + size) > object->size) in cdev_pager_allocate()
162 object->size = OFF_TO_IDX(foff + size); in cdev_pager_allocate()
174 dev_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t foff) in dev_pager_alloc() argument
177 size, prot, foff, NULL)); in dev_pager_alloc()
314 vm_ooffset_t foff, struct ucred *cred, u_short *color) in old_dev_pager_ctor() argument
[all …]
H A Dphys_pager.c60 phys_pager_alloc(void *handle, off_t size, vm_prot_t prot, off_t foff) in phys_pager_alloc() argument
67 if (foff & PAGE_MASK) in phys_pager_alloc()
73 object = vm_object_allocate(OBJT_PHYS, OFF_TO_IDX(foff + size)); in phys_pager_alloc()
H A Dvnode_pager.c465 off_t foff; in vnode_pager_generic_getpages() local
504 foff = IDX_TO_OFF(mpp[0]->pindex); in vnode_pager_generic_getpages()
505 if (foff >= vp->v_filesize) { in vnode_pager_generic_getpages()
513 if (foff + bytecount > vp->v_filesize) { in vnode_pager_generic_getpages()
514 bytecount = vp->v_filesize - foff; in vnode_pager_generic_getpages()
559 auio.uio_offset = foff; in vnode_pager_generic_getpages()
603 i, foff, obytecount, bytecount, in vnode_pager_generic_getpages()
H A Dvm_mmap.c1201 vm_prot_t maxprot, int flags, void *handle, vm_ooffset_t foff, in vm_mmap() argument
1254 if (foff & PAGE_MASK) { in vm_mmap()
1312 prot, foff); in vm_mmap()
1323 foff = 0; in vm_mmap()
1363 error = dev_dmmap_single(vp->v_rdev, &foff, objsize, in vm_mmap()
1368 object = dev_pager_alloc(handle, objsize, prot, foff); in vm_mmap()
1442 foff, addr, size, in vm_mmap()
1451 foff, addr, size, in vm_mmap()
H A Dvm_pager.h175 vm_ooffset_t foff, struct ucred *cred, u_short *color);
181 vm_ooffset_t foff, struct ucred *cred);
/dragonfly/sys/net/netmap/
H A Dnetmap_freebsd.c203 vm_ooffset_t foff, struct ucred *cred, u_short *color) in netmap_dev_pager_ctor() argument
208 handle, (intmax_t)size, prot, (intmax_t)foff); in netmap_dev_pager_ctor()
312 vm_ooffset_t *foff = ap->a_offset; in netmap_mmap_single() local
321 (intmax_t )*foff, (intmax_t )objsize, objp, prot); in netmap_mmap_single()
343 *foff, NULL); in netmap_mmap_single()
/dragonfly/sys/netgraph/netgraph/
H A Dng_parse.c1059 int *foff; /* field value offsets in string */ in ng_parse_composite() local
1063 foff = kmalloc(num * sizeof(*foff), M_NETGRAPH, M_NOWAIT | M_ZERO); in ng_parse_composite()
1064 if (foff == NULL) { in ng_parse_composite()
1162 if (foff[index] != 0) { in ng_parse_composite()
1168 foff[index] = *off; in ng_parse_composite()
1192 if (foff[index] == 0) { /* use default value */ in ng_parse_composite()
1196 *off = foff[index]; in ng_parse_composite()
1219 if (foff != NULL) in ng_parse_composite()
1220 kfree(foff, M_NETGRAPH); in ng_parse_composite()
/dragonfly/sys/kern/
H A Dvfs_bio.c376 int base = (foff + off) & PAGE_MASK; in vfs_buf_test_cache()
1389 off_t foff; in brelse() local
1410 foff = bp->b_loffset; in brelse()
1482 int poffset = foff & PAGE_MASK; in brelse()
1504 foff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK; in brelse()
3576 vm_ooffset_t foff; in bpdone() local
3591 foff = bp->b_loffset; in bpdone()
3620 resid = ((foff + PAGE_SIZE) & ~(off_t)PAGE_MASK) - foff; in bpdone()
3643 if (OFF_TO_IDX(foff) != m->pindex) { in bpdone()
3670 (int) foff & 0xffffffff, resid, i); in bpdone()
[all …]
H A Dkern_clock.c1721 int foff; in pps_event() local
1733 foff = pps->ppsparam.mode & PPS_OFFSETASSERT; in pps_event()
1742 foff = pps->ppsparam.mode & PPS_OFFSETCLEAR; in pps_event()
1779 if (foff) { in pps_event()
/dragonfly/sys/netgraph7/netgraph/
H A Dng_parse.c1217 int *foff; /* field value offsets in string */ in ng_parse_composite() local
1221 foff = kmalloc(num * sizeof(*foff), M_NETGRAPH_PARSE, in ng_parse_composite()
1223 if (foff == NULL) { in ng_parse_composite()
1320 if (foff[index] != 0) { in ng_parse_composite()
1326 foff[index] = *off; in ng_parse_composite()
1350 if (foff[index] == 0) { /* use default value */ in ng_parse_composite()
1354 *off = foff[index]; in ng_parse_composite()
1377 if (foff != NULL) in ng_parse_composite()
1378 kfree(foff, M_NETGRAPH_PARSE); in ng_parse_composite()
/dragonfly/contrib/binutils-2.34/gold/
H A Doutput.cc4419 off_t foff = *poff; in set_section_addresses() local
4426 foff += last_relro_pad; in set_section_addresses()
4445 gold_assert(*poff == foff in set_section_addresses()
4451 off = foff; in set_section_addresses()
4526 off_t foff = *pfoff; in set_section_list_addresses() local
4581 foff = off; in set_section_list_addresses()
4590 foff = off; in set_section_list_addresses()
4613 foff = off; in set_section_list_addresses()
4627 foff = off; in set_section_list_addresses()
4673 foff = off; in set_section_list_addresses()
[all …]
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_gem.h224 vm_ooffset_t foff, struct ucred *cred, u_short *color);
/dragonfly/sys/platform/pc64/x86_64/
H A Defirt.c153 vm_ooffset_t foff, struct ucred *cred, u_short *color) in efi_pg_ctor() argument
/dragonfly/sys/dev/drm/ttm/
H A Dttm_bo_vm.c735 vm_ooffset_t foff, struct ucred *cred, u_short *color) in ttm_bo_vm_ctor() argument
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-structalias.c5160 HOST_WIDE_INT foff = bitpos_of_field (field); in push_fields_onto_fieldstack() local
5167 (TREE_TYPE (field), fieldstack, offset + foff) in push_fields_onto_fieldstack()
5186 && offset + foff != 0) in push_fields_onto_fieldstack()
5190 pair->size = offset + foff; in push_fields_onto_fieldstack()
5208 && pair->offset + (HOST_WIDE_INT)pair->size == offset + foff) in push_fields_onto_fieldstack()
5215 pair->offset = offset + foff; in push_fields_onto_fieldstack()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-ssa-structalias.c5595 HOST_WIDE_INT foff = bitpos_of_field (field); in push_fields_onto_fieldstack() local
5603 (field_type, fieldstack, offset + foff) in push_fields_onto_fieldstack()
5622 && offset + foff != 0) in push_fields_onto_fieldstack()
5625 = {0, offset + foff, false, false, true, false, NULL_TREE}; in push_fields_onto_fieldstack()
5640 && pair->offset + (HOST_WIDE_INT)pair->size == offset + foff) in push_fields_onto_fieldstack()
5647 e.offset = offset + foff; in push_fields_onto_fieldstack()
/dragonfly/sys/dev/drm/i915/
H A Di915_gem.c5570 vm_ooffset_t foff, struct ucred *cred, u_short *color) in i915_gem_pager_ctor() argument