/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_loadimage.c | 187 u64 file_pos; member 248 priv.file_pos = 0; in open() 280 if (priv.file_pos >= img.length) in read() 282 else if (priv.file_pos + *buffer_size > img.length) in read() 283 *buffer_size = img.length - priv.file_pos; in read() 285 boottime->copy_mem(buffer, &image[priv.file_pos], *buffer_size); in read() 286 priv.file_pos += *buffer_size; in read() 305 *pos = priv.file_pos; in getpos() 315 priv.file_pos = pos; in setpos()
|
/openbmc/linux/fs/reiserfs/ |
H A D | xattr.c | 522 size_t file_pos = 0; in reiserfs_xattr_set_handle() local 545 size_t page_offset = (file_pos & (PAGE_SIZE - 1)); in reiserfs_xattr_set_handle() 552 page = reiserfs_get_page(d_inode(dentry), file_pos); in reiserfs_xattr_set_handle() 561 if (file_pos == 0) { in reiserfs_xattr_set_handle() 564 skip = file_pos = sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_set_handle() 585 file_pos += chunk; in reiserfs_xattr_set_handle() 657 size_t file_pos = 0; in reiserfs_xattr_get() local 700 while (file_pos < isize) { in reiserfs_xattr_get() 705 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get() 708 chunk = isize - file_pos; in reiserfs_xattr_get() [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | prog_cgroup_sysctl.rst | 27 __u32 file_pos; 33 * ``file_pos`` indicates file position sysctl is being accessed at, read 38 when it's called by user space on ``file_pos > 0``. Writing non-zero 40 specified ``file_pos``. Not all sysctl support access with ``file_pos != 77 overridden starting from the current ``ctx->file_pos``. If the whole value 78 has to be overridden BPF program can set ``file_pos`` to zero before calling
|
/openbmc/linux/tools/perf/util/ |
H A D | session.h | 56 u64 file_pos; member
|
H A D | session.c | 65 decomp->file_pos = file_offset; in perf_session__process_compressed_event() 2216 (skip = perf_session__process_event(session, event, decomp->file_pos, in __perf_session__process_decomp_events() 2219 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events() 2262 u64 file_pos; member 2337 rd->file_pos = rd->file_offset + rd->head; in reader__mmap() 2373 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) { in reader__read_event() 2386 rd->file_pos += size; in reader__read_event() 2401 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__eof()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 1256 int sock_pos, file_pos, signal_pos; in __cmd_start() local 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1312 if (file_pos < 0) in __cmd_start() 1331 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 166 offsetof(struct bpf_sysctl, file_pos)), 189 offsetof(struct bpf_sysctl, file_pos)), 192 offsetof(struct bpf_sysctl, file_pos) + 3), 216 offsetof(struct bpf_sysctl, file_pos)),
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 144 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
/openbmc/linux/kernel/bpf/ |
H A D | cgroup.c | 2229 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2258 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
/openbmc/linux/fs/btrfs/ |
H A D | inode.c | 2861 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent() argument 2893 drop_args.start = file_pos; in insert_reserved_file_extent() 2894 drop_args.end = file_pos + num_bytes; in insert_reserved_file_extent() 2903 ins.offset = file_pos; in insert_reserved_file_extent() 2927 if (file_pos == 0 && !IS_ALIGNED(drop_args.bytes_found, sectorsize)) { in insert_reserved_file_extent() 2943 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent() 2948 file_pos - offset, in insert_reserved_file_extent()
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 7188 __u32 file_pos; /* Sysctl file position to read from, write to. member
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7191 __u32 file_pos; /* Sysctl file position to read from, write to. member
|