Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/reiserfs/
Dxattr.c527 size_t file_pos = 0; in reiserfs_xattr_set_handle() local
550 size_t page_offset = (file_pos & (PAGE_SIZE - 1)); in reiserfs_xattr_set_handle()
557 page = reiserfs_get_page(d_inode(dentry), file_pos); in reiserfs_xattr_set_handle()
566 if (file_pos == 0) { in reiserfs_xattr_set_handle()
569 skip = file_pos = sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_set_handle()
590 file_pos += chunk; in reiserfs_xattr_set_handle()
662 size_t file_pos = 0; in reiserfs_xattr_get() local
705 while (file_pos < isize) { in reiserfs_xattr_get()
710 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get()
713 chunk = isize - file_pos; in reiserfs_xattr_get()
[all …]
/kernel/linux/linux-5.10/Documentation/bpf/
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
/kernel/linux/linux-5.10/tools/perf/util/
Dsession.h48 u64 file_pos; member
Dsession.c60 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
2108 u64 size, file_pos = 0; in __perf_session__process_decomp_events() local
2124 (skip = perf_session__process_event(session, event, file_pos)) < 0) { in __perf_session__process_decomp_events()
2126 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events()
2169 u64 head, page_offset, file_offset, file_pos, size; in reader__process_events() local
2209 file_pos = file_offset + head; in reader__process_events()
2237 (skip = rd->process(session, event, file_pos)) < 0) { in reader__process_events()
2249 file_pos += size; in reader__process_events()
2260 if (file_pos < data_size) in reader__process_events()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_sysctl.c166 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)),
/kernel/linux/linux-5.10/kernel/bpf/
Dcgroup.c1732 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access()
1761 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
/kernel/linux/linux-5.10/fs/btrfs/
Drelocation.c3904 int btrfs_reloc_clone_csums(struct btrfs_inode *inode, u64 file_pos, u64 len) in btrfs_reloc_clone_csums() argument
3914 ordered = btrfs_lookup_ordered_extent(inode, file_pos); in btrfs_reloc_clone_csums()
3915 BUG_ON(ordered->file_offset != file_pos || ordered->num_bytes != len); in btrfs_reloc_clone_csums()
3917 disk_bytenr = file_pos + inode->index_cnt; in btrfs_reloc_clone_csums()
Dinode.c2511 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent() argument
2539 ret = __btrfs_drop_extents(trans, root, inode, path, file_pos, in insert_reserved_file_extent()
2540 file_pos + num_bytes, NULL, 0, in insert_reserved_file_extent()
2547 ins.offset = file_pos; in insert_reserved_file_extent()
2571 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
2576 file_pos, qgroup_reserved, &ins); in insert_reserved_file_extent()
Dctree.h3524 int btrfs_reloc_clone_csums(struct btrfs_inode *inode, u64 file_pos, u64 len);
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4987 __u32 file_pos; /* Sysctl file position to read from, write to. member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h1075 __u32 file_pos; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h4987 __u32 file_pos; /* Sysctl file position to read from, write to. member