Searched refs:file_pos (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/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
|
| /linux-6.15/tools/perf/util/ |
| H A D | session.h | 98 u64 file_pos; member
|
| H A D | session.c | 2011 (skip = perf_session__process_event(session, event, decomp->file_pos, in __perf_session__process_decomp_events() 2014 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events() 2057 u64 file_pos; member 2132 rd->file_pos = rd->file_offset + rd->head; in reader__mmap() 2168 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) { in reader__read_event() 2181 rd->file_pos += size; in reader__read_event() 2196 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__eof()
|
| H A D | tool.c | 36 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-daemon.c | 1257 int sock_pos, file_pos, signal_pos; in __cmd_start() local 1312 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1313 if (file_pos < 0) in __cmd_start() 1332 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start()
|
| /linux-6.15/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)),
|
| /linux-6.15/fs/btrfs/ |
| H A D | inode.c | 1979 u64 file_pos, bool is_prealloc) in nocow_one_range() argument 1983 u64 end = file_pos + len - 1; in nocow_one_range() 1986 lock_extent(&inode->io_tree, file_pos, end, cached); in nocow_one_range() 1994 unlock_extent(&inode->io_tree, file_pos, end, cached); in nocow_one_range() 2007 unlock_extent(&inode->io_tree, file_pos, end, cached); in nocow_one_range() 2031 btrfs_cleanup_ordered_extents(inode, file_pos, end); in nocow_one_range() 2941 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent() argument 2973 drop_args.start = file_pos; in insert_reserved_file_extent() 2974 drop_args.end = file_pos + num_bytes; in insert_reserved_file_extent() 2984 ins.offset = file_pos; in insert_reserved_file_extent() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | ctx_rewrite.c | 147 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
| /linux-6.15/kernel/bpf/ |
| H A D | cgroup.c | 2244 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2273 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | bpf.h | 7403 __u32 file_pos; /* Sysctl file position to read from, write to. member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | bpf.h | 7403 __u32 file_pos; /* Sysctl file position to read from, write to. member
|