Searched refs:f_pos (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c402 loff_t *f_pos, bool write)
407 unsigned long dev_offset = (*f_pos >> PAGE_SHIFT);
443 page_offset = *f_pos & ~PAGE_MASK;
449 kmap_end = (*f_pos + count - 1) >> PAGE_SHIFT;
485 *f_pos += io_size;
494 char __user *rbuf, size_t count, loff_t *f_pos,
508 kmap_offset = (*f_pos >> PAGE_SHIFT);
512 page_offset = *f_pos & ~PAGE_MASK;
518 kmap_end = (*f_pos + count - 1) >> PAGE_SHIFT;
553 *f_pos
[all...]
H A Dttm_bo_api.h708 * @f_pos: Pointer to current file position.
722 size_t count, off_t *f_pos, bool write);
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c106 loff_t off = fp->f_pos;
113 fp->f_pos = off;
187 loff_t off = fp->f_pos;
194 fp->f_pos = off;
375 return (fp->f_pos);
H A Dzpl_ctldir.c89 ZPL_DIR_CONTEXT_INIT(dirent, filldir, filp->f_pos);
93 filp->f_pos = ctx.pos;
292 ZPL_DIR_CONTEXT_INIT(dirent, filldir, filp->f_pos);
296 filp->f_pos = ctx.pos;
517 ZPL_DIR_CONTEXT_INIT(dirent, filldir, filp->f_pos);
521 filp->f_pos = ctx.pos;
H A Dzpl_file.c106 ZPL_DIR_CONTEXT_INIT(dirent, filldir, filp->f_pos);
110 filp->f_pos = ctx.pos;
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw2.c1239 int f_pos; local
1241 /* If possible use cached f_pos (in f->cached_pos),
1246 f_pos = f->cached_pos;
1253 f_pos = chain->idxmap[i];
1255 f_pos = ipfw_find_rule(chain, i, 0);
1259 f->cached_pos = f_pos;
1263 return (f_pos);
1273 int f_pos; local
1279 f_pos = chain->idxmap[num];
1281 return (f_pos);
1361 int f_pos = 0; /* index of current rule in the array */ local
[all...]
H A Dip_fw_dynamic.c133 uint32_t f_pos; /* cached rule index */ member in struct:dyn_data
1382 * lookup. Otherwise do lookup and update chain_id and f_pos.
1388 data->f_pos = ipfw_find_rule(&V_layer3_chain,
1403 * pointer to deleted rule and f_pos value
1409 * return such f_pos value, so after the state
1413 if (V_layer3_chain.map[data->f_pos] == rule) {
1415 info->f_pos = data->f_pos;
1419 * So, we return it, but f_pos need to be
1424 data->f_pos
[all...]
H A Dip_fw_private.h205 uint32_t f_pos; member in struct:ipfw_dyn_info
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dvfs_compat.h163 if (offset != filp->f_pos) {
165 filp->f_pos = offset;

Completed in 195 milliseconds