Searched refs:file_pos (Results 1 – 11 of 11) sorted by relevance
/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
|
/linux/tools/perf/util/ |
H A D | session.h | 98 u64 file_pos; member
|
H A D | session.c | 1974 (skip = perf_session__process_event(session, event, decomp->file_pos, in __perf_session__process_decomp_events() 1977 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events() 2020 u64 file_pos; in reader__init() 2095 rd->file_pos = rd->file_offset + rd->head; 2131 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) { in reader__read_event() 2144 rd->file_pos += size; in reader__read_event() 2159 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__process_events() 2010 u64 file_pos; global() member
|
H A D | tool.c | 36 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
|
/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)),
|
/linux/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/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 147 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
/linux/kernel/bpf/ |
H A D | cgroup.c | 2227 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2256 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
/linux/fs/btrfs/ |
H A D | inode.c | 2868 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent() argument 2900 drop_args.start = file_pos; in insert_reserved_file_extent() 2901 drop_args.end = file_pos + num_bytes; in insert_reserved_file_extent() 2910 ins.offset = file_pos; in insert_reserved_file_extent() 2934 if (file_pos == 0 && !IS_ALIGNED(drop_args.bytes_found, sectorsize)) { in insert_reserved_file_extent() 2950 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent() 2955 file_pos - offset, in insert_reserved_file_extent()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 7352 __u32 file_pos; /* Sysctl file position to read from, write to. member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7352 __u32 file_pos; /* Sysctl file position to read from, write to. member
|