Searched refs:file_pos (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.1/fs/reiserfs/ |
D | xattr.c | 520 size_t file_pos = 0; in reiserfs_xattr_set_handle() local 543 size_t page_offset = (file_pos & (PAGE_SIZE - 1)); in reiserfs_xattr_set_handle() 550 page = reiserfs_get_page(d_inode(dentry), file_pos); in reiserfs_xattr_set_handle() 559 if (file_pos == 0) { in reiserfs_xattr_set_handle() 562 skip = file_pos = sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_set_handle() 583 file_pos += chunk; in reiserfs_xattr_set_handle() 655 size_t file_pos = 0; in reiserfs_xattr_get() local 698 while (file_pos < isize) { in reiserfs_xattr_get() 703 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get() 706 chunk = isize - file_pos; in reiserfs_xattr_get() [all …]
|
/Linux-v6.1/Documentation/bpf/ |
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-v6.1/tools/perf/util/ |
D | session.h | 54 u64 file_pos; member
|
D | session.c | 64 decomp->file_pos = file_offset; in perf_session__process_compressed_event() 2204 (skip = perf_session__process_event(session, event, decomp->file_pos, in __perf_session__process_decomp_events() 2207 decomp->file_pos + decomp->head, event->header.size, event->header.type); in __perf_session__process_decomp_events() 2250 u64 file_pos; member 2325 rd->file_pos = rd->file_offset + rd->head; in reader__mmap() 2361 (skip = rd->process(session, event, rd->file_pos, rd->path)) < 0) { in reader__read_event() 2374 rd->file_pos += size; in reader__read_event() 2389 return (rd->file_pos >= rd->data_size + rd->data_offset); in reader__eof()
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
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-v6.1/tools/perf/ |
D | builtin-daemon.c | 1256 int sock_pos, file_pos, signal_pos; in __cmd_start() local 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1312 if (file_pos < 0) in __cmd_start() 1331 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start()
|
/Linux-v6.1/fs/btrfs/ |
D | relocation.c | 4317 int btrfs_reloc_clone_csums(struct btrfs_inode *inode, u64 file_pos, u64 len) in btrfs_reloc_clone_csums() argument 4328 ordered = btrfs_lookup_ordered_extent(inode, file_pos); in btrfs_reloc_clone_csums() 4329 BUG_ON(ordered->file_offset != file_pos || ordered->num_bytes != len); in btrfs_reloc_clone_csums() 4331 disk_bytenr = file_pos + inode->index_cnt; in btrfs_reloc_clone_csums()
|
D | inode.c | 3047 struct btrfs_inode *inode, u64 file_pos, in insert_reserved_file_extent() argument 3079 drop_args.start = file_pos; in insert_reserved_file_extent() 3080 drop_args.end = file_pos + num_bytes; in insert_reserved_file_extent() 3089 ins.offset = file_pos; in insert_reserved_file_extent() 3113 if (file_pos == 0 && !IS_ALIGNED(drop_args.bytes_found, sectorsize)) { in insert_reserved_file_extent() 3129 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent() 3134 file_pos - offset, in insert_reserved_file_extent()
|
D | ctree.h | 4018 int btrfs_reloc_clone_csums(struct btrfs_inode *inode, u64 file_pos, u64 len);
|
/Linux-v6.1/kernel/bpf/ |
D | cgroup.c | 2177 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2206 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 6840 __u32 file_pos; /* Sysctl file position to read from, write to. member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 6840 __u32 file_pos; /* Sysctl file position to read from, write to. member
|