Home
last modified time | relevance | path

Searched refs:file_pos (Results 1 – 11 of 11) sorted by relevance

/linux/Documentation/bpf/
H A Dprog_cgroup_sysctl.rst27 __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 Dsession.h98 u64 file_pos; member
H A Dsession.c2031 (skip = perf_session__process_event(session, event, decomp->file_pos, in __perf_session__process_decomp_events()
2034 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events()
2077 u64 file_pos; member
2152 rd->file_pos = rd->file_offset + rd->head; in reader__mmap()
2188 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) { in reader__read_event()
2201 rd->file_pos += size; in reader__read_event()
2216 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__eof()
H A Dtool.c39 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
/linux/tools/perf/
H A Dbuiltin-daemon.c1257 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 Dtest_sysctl.c152 offsetof(struct bpf_sysctl, file_pos)),
175 offsetof(struct bpf_sysctl, file_pos)),
178 offsetof(struct bpf_sysctl, file_pos) + 3),
202 offsetof(struct bpf_sysctl, file_pos)),
H A Dctx_rewrite.c147 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
/linux/fs/btrfs/
H A Dinode.c1933 u64 file_pos, bool is_prealloc) in nocow_one_range() argument
1937 const u64 end = file_pos + len - 1; in nocow_one_range()
1940 btrfs_lock_extent(&inode->io_tree, file_pos, end, cached); in nocow_one_range()
1945 em = btrfs_create_io_em(inode, file_pos, &nocow_args->file_extent, in nocow_one_range()
1954 ordered = btrfs_alloc_ordered_extent(inode, file_pos, &nocow_args->file_extent, in nocow_one_range()
1960 btrfs_drop_extent_map_range(inode, file_pos, end, false); in nocow_one_range()
1976 extent_clear_unlock_delalloc(inode, file_pos, end, locked_folio, cached, in nocow_one_range()
1983 btrfs_cleanup_ordered_extents(inode, file_pos, len); in nocow_one_range()
1984 extent_clear_unlock_delalloc(inode, file_pos, end, locked_folio, cached, in nocow_one_range()
1992 file_pos, len, ret); in nocow_one_range()
[all …]
/linux/kernel/bpf/
H A Dcgroup.c2406 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access()
2435 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
/linux/include/uapi/linux/
H A Dbpf.h7475 __u32 file_pos; /* Sysctl file position to read from, write to. member
/linux/tools/include/uapi/linux/
H A Dbpf.h7475 __u32 file_pos; /* Sysctl file position to read from, write to. member