Searched refs:file_pos (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/fs/reiserfs/ |
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 …]
|
/linux-6.6.21/Documentation/bpf/ |
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
|
/linux-6.6.21/tools/perf/util/ |
D | session.h | 56 u64 file_pos; member
|
D | session.c | 65 decomp->file_pos = file_offset; in perf_session__process_compressed_event() 2208 (skip = perf_session__process_event(session, event, decomp->file_pos, in __perf_session__process_decomp_events() 2211 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events() 2254 u64 file_pos; member 2329 rd->file_pos = rd->file_offset + rd->head; in reader__mmap() 2365 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) { in reader__read_event() 2378 rd->file_pos += size; in reader__read_event() 2393 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__eof()
|
/linux-6.6.21/tools/perf/ |
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()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
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)),
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | ctx_rewrite.c | 144 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
/linux-6.6.21/kernel/bpf/ |
D | cgroup.c | 2209 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2238 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
/linux-6.6.21/fs/btrfs/ |
D | inode.c | 2859 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent() argument 2891 drop_args.start = file_pos; in insert_reserved_file_extent() 2892 drop_args.end = file_pos + num_bytes; in insert_reserved_file_extent() 2901 ins.offset = file_pos; in insert_reserved_file_extent() 2925 if (file_pos == 0 && !IS_ALIGNED(drop_args.bytes_found, sectorsize)) { in insert_reserved_file_extent() 2941 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent() 2946 file_pos - offset, in insert_reserved_file_extent()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | bpf.h | 7167 __u32 file_pos; /* Sysctl file position to read from, write to. member
|
/linux-6.6.21/include/uapi/linux/ |
D | bpf.h | 7167 __u32 file_pos; /* Sysctl file position to read from, write to. member
|