/freebsd-13-stable/contrib/ntp/include/ |
H A D | parse_conf.h | 66 struct foff struct in struct:format
|
/freebsd-13-stable/sys/vm/ |
H A D | device_pager.c | 99 vm_ooffset_t foff, struct ucred *cred, u_short *color); 132 vm_ooffset_t foff, struct ucred *cred) 146 if (foff & PAGE_MASK) 153 * this point, we know that both foff and size are a multiple 157 pindex = OFF_TO_IDX(foff) + OFF_TO_IDX(size); 158 if (pindex > OBJ_MAX_SIZE || pindex < OFF_TO_IDX(foff) || 162 if (ops->cdev_pg_ctor(handle, size, prot, foff, cred, &color) != 0) 227 vm_ooffset_t foff, struct ucred *cred) 231 size, prot, foff, cred)); 431 vm_ooffset_t foff, struc 130 cdev_pager_allocate(void *handle, enum obj_type tp, const struct cdev_pager_ops *ops, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) argument 226 dev_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) argument 430 old_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument [all...] |
H A D | phys_pager.c | 79 vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) 88 if (foff & PAGE_MASK) 91 pindex = OFF_TO_IDX(foff + PAGE_MASK + size); 143 ops->phys_pg_ctor(object, prot, foff, cred); 150 vm_ooffset_t foff, struct ucred *ucred) 153 size, prot, foff, ucred)); 78 phys_pager_allocate(void *handle, const struct phys_pager_ops *ops, void *data, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) argument 149 phys_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *ucred) argument
|
H A D | sg_pager.c | 74 vm_ooffset_t foff, struct ucred *cred) 84 if (foff & PAGE_MASK) 105 pindex = OFF_TO_IDX(foff) + OFF_TO_IDX(size); 106 if (pindex > npages || pindex < OFF_TO_IDX(foff) || 73 sg_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) argument
|
H A D | vm_pager.h | 262 vm_ooffset_t foff, struct ucred *cred, u_short *color); 268 vm_ooffset_t foff, struct ucred *cred); 281 vm_ooffset_t foff, struct ucred *cred); 286 void *data, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff,
|
H A D | vm_mmap.c | 1285 vm_ooffset_t foff; local 1296 foff = *foffp; 1352 obj = vm_pager_allocate(OBJT_VNODE, vp, objsize, prot, foff, 1394 vm_ooffset_t *foff, vm_object_t *objp) 1403 *foff = 0; 1434 error = dsw->d_mmap_single(cdev, foff, objsize, objp, (int)prot); 1437 obj = vm_pager_allocate(OBJT_DEVICE, cdev, objsize, prot, *foff, 1457 vm_ooffset_t foff) 1485 dsw, &foff, &object); 1491 handle, &foff, 1392 vm_mmap_cdev(struct thread *td, vm_size_t objsize, vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, struct cdev *cdev, struct cdevsw *dsw, vm_ooffset_t *foff, vm_object_t *objp) argument 1454 vm_mmap(vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t maxprot, int flags, objtype_t handle_type, void *handle, vm_ooffset_t foff) argument 1558 vm_mmap_object(vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t maxprot, int flags, vm_object_t object, vm_ooffset_t foff, boolean_t writecounted, struct thread *td) argument [all...] |
H A D | vnode_pager.c | 805 off_t foff; local 820 foff = IDX_TO_OFF(m[0]->pindex); 824 KASSERT(foff < object->un_pager.vnp.vnp_size, 848 error = VOP_BMAP(vp, foff / bsize, &bo, &bp->b_blkno, &after, &before); 901 bp->b_blkno += (foff % bsize) / DEV_BSIZE; 904 poff = (foff % bsize) / PAGE_SIZE; 1041 foff = IDX_TO_OFF(bp->b_pages[0]->pindex); 1043 if ((foff + bytecount) > object->un_pager.vnp.vnp_size) 1044 bytecount = object->un_pager.vnp.vnp_size - foff;
|
/freebsd-13-stable/sys/net/ |
H A D | if_fwsubr.c | 92 int unicast, dgl, foff; local 265 foff = 0; 288 if (foff == 0) { 304 enc->nextfrag.fragment_offset = foff; 307 foff += m->m_pkthdr.len - 2*sizeof(uint32_t);
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_parse.c | 1207 int *foff; /* field value offsets in string */ local 1211 foff = malloc(num * sizeof(*foff), M_NETGRAPH_PARSE, M_NOWAIT | M_ZERO); 1212 if (foff == NULL) { 1311 if (foff[index] != 0) { 1317 foff[index] = *off; 1341 if (foff[index] == 0) { /* use default value */ 1345 *off = foff[index]; 1368 if (foff != NULL) 1369 free(foff, M_NETGRAPH_PARS [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | file.h | 126 int flags, vm_ooffset_t foff, struct thread *td); 431 vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, 438 flags, foff, td)); 430 fo_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
|
/freebsd-13-stable/sys/kern/ |
H A D | vfs_bio.c | 957 vfs_buf_test_cache(struct buf *bp, vm_ooffset_t foff, vm_offset_t off, argument 967 int base = (foff + off) & PAGE_MASK; 2886 vm_ooffset_t foff; local 2902 foff = bp->b_offset; 2909 resid = ((foff + PAGE_SIZE) & ~(off_t)PAGE_MASK) - foff; 2919 m = vm_page_relookup(obj, OFF_TO_IDX(foff)); 2929 KASSERT((m->dirty & vm_page_bits(foff & PAGE_MASK, 2932 vfs_page_set_valid(bp, foff, m); 2934 KASSERT(OFF_TO_IDX(foff) 3688 vm_ooffset_t foff, noff, eoff; local 4657 vm_ooffset_t foff; local [all...] |
H A D | uipc_shm.c | 309 vm_ooffset_t foff, struct ucred *cred) 1418 vm_ooffset_t foff, struct thread *td) 1452 if ((foff & mask) != 0) 1515 rv = vm_map_insert(map, shmfd->shm_object, foff, *addr, *addr + size, 1527 vm_ooffset_t foff, struct thread *td) 1578 foff > OFF_MAX - objsize) { 1597 maxprot, flags, foff, td); 1604 shmfd->shm_object, foff, writecnt, td); 308 shm_largepage_phys_ctor(vm_object_t object, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) argument 1416 shm_mmap_large(struct shmfd *shmfd, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t max_prot, int flags, vm_ooffset_t foff, struct thread *td) argument 1525 shm_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t objsize, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
|
H A D | kern_tc.c | 1746 int foff; local 1770 foff = pps->ppsparam.mode & PPS_OFFSETASSERT; 1784 foff = pps->ppsparam.mode & PPS_OFFSETCLEAR; 1824 if (foff) {
|
H A D | vfs_vnops.c | 2674 vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, 2741 * the value of foff be a legitimate offset within the data 2754 foff > OFF_MAX - size) 2759 &foff, &object, &writecounted); 2763 foff, writecounted, td); 2673 vn_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
|
/freebsd-13-stable/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 990 vm_ooffset_t foff, struct ucred *cred, u_short *color) 995 nm_prinf("handle %p size %jd prot %d foff %jd", 996 handle, (intmax_t)size, prot, (intmax_t)foff); 1073 netmap_mmap_single(struct cdev *cdev, vm_ooffset_t *foff, argument 1082 nm_prinf("cdev %p foff %jd size %jd objp %p prot %d", cdev, 1083 (intmax_t )*foff, (intmax_t )objsize, objp, prot); 1105 *foff, NULL); 989 netmap_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument
|
/freebsd-13-stable/sys/dev/xen/privcmd/ |
H A D | privcmd.c | 93 vm_ooffset_t foff, struct ucred *cred, u_short *color); 113 vm_ooffset_t foff, struct ucred *cred, u_short *color) 112 privcmd_pg_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument
|
/freebsd-13-stable/sys/arm/nvidia/drm2/ |
H A D | tegra_bo.c | 337 vm_ooffset_t foff, struct ucred *cred, u_short *color) 336 tegra_gem_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument
|
/freebsd-13-stable/usr.sbin/bhyve/ |
H A D | snapshot.c | 733 vm_snapshot_mem_part(const int snapfd, const size_t foff, void *src, argument 743 if (lseek(snapfd, foff, SEEK_SET) < 0) { 752 part_done = foff; 758 .maxval = foff + len,
|
/freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 627 vm_ooffset_t foff, struct ucred *cred, u_short *color) 1601 vm_ooffset_t *foff, const struct file_operations *fop, vm_object_t *objp) 1613 return (linux_file_mmap_single(fp, fop, foff, objsize, objp, 1619 vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, 1673 &foff, fop, &object); 1678 foff, FALSE, td); 626 linux_cdev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument 1599 linux_file_mmap_sub(struct thread *td, vm_size_t objsize, vm_prot_t prot, vm_prot_t maxprot, int flags, struct file *fp, vm_ooffset_t *foff, const struct file_operations *fop, vm_object_t *objp) argument 1618 linux_file_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
|
/freebsd-13-stable/sys/dev/drm2/ttm/ |
H A D | ttm_bo_vm.c | 282 vm_ooffset_t foff, struct ucred *cred, u_short *color) 281 ttm_bo_vm_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument
|
/freebsd-13-stable/sys/amd64/sgx/ |
H A D | sgx.c | 540 vm_ooffset_t foff, struct ucred *cred, u_short *color) 550 dprintf("%s: vmh->base %lx foff 0x%lx size 0x%lx\n", 551 __func__, vmh->base, foff, size); 539 sgx_pg_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument
|
/freebsd-13-stable/sys/dev/xen/gntdev/ |
H A D | gntdev.c | 190 vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color); 790 vm_ooffset_t foff, struct ucred *cred, u_short *color) 789 gntdev_gmap_pg_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument
|
/freebsd-13-stable/sys/fs/devfs/ |
H A D | devfs_vnops.c | 1947 vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, 2003 error = vm_mmap_cdev(td, size, prot, &maxprot, &flags, dev, dsw, &foff, 2011 foff, FALSE, td); 1946 devfs_mmap_f(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
|