Home
last modified time | relevance | path

Searched refs:file_pos (Results 1 – 10 of 10) 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.c2249 (skip = perf_session__process_event(session, event, decomp->file_pos,
2252 decomp->file_pos + decomp->head, event->header.size,
2297 u64 file_pos; in reader__init()
2372 rd->file_pos = rd->file_offset + rd->head; in reader__read_event()
2408 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) {
2423 rd->file_pos += size; in reader__process_events()
2438 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__process_events()
2272 u64 file_pos; global() member
H A Dtool.c40 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_sysctl.c153 offsetof(struct bpf_sysctl, file_pos)),
176 offsetof(struct bpf_sysctl, file_pos)),
179 offsetof(struct bpf_sysctl, file_pos) + 3),
203 offsetof(struct bpf_sysctl, file_pos)),
H A Dctx_rewrite.c147 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
/linux/tools/perf/
H A Dbuiltin-daemon.c1255 int sock_pos, file_pos, signal_pos; in __cmd_start() local
1310 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
1311 if (file_pos < 0) in __cmd_start()
1330 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start()
/linux/fs/btrfs/
H A Dinode.c1930 u64 file_pos, bool is_prealloc) in nocow_one_range() argument
1934 const u64 end = file_pos + len - 1; in nocow_one_range()
1937 btrfs_lock_extent(&inode->io_tree, file_pos, end, cached); in nocow_one_range()
1942 em = btrfs_create_io_em(inode, file_pos, &nocow_args->file_extent, in nocow_one_range()
1951 ordered = btrfs_alloc_ordered_extent(inode, file_pos, &nocow_args->file_extent, in nocow_one_range()
1957 btrfs_drop_extent_map_range(inode, file_pos, end, false); in nocow_one_range()
1973 extent_clear_unlock_delalloc(inode, file_pos, end, locked_folio, cached, in nocow_one_range()
1980 btrfs_cleanup_ordered_extents(inode, file_pos, len); in nocow_one_range()
1981 extent_clear_unlock_delalloc(inode, file_pos, end, locked_folio, cached, in nocow_one_range()
1989 file_pos, len, ret); in nocow_one_range()
[all …]
/linux/kernel/bpf/
H A Dcgroup.c2402 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access()
2431 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
/linux/tools/include/uapi/linux/
H A Dbpf.h7511 __u32 file_pos; /* Sysctl file position to read from, write to.
7475 __u32 file_pos; /* Sysctl file position to read from, write to. global() member