/linux-6.6.21/fs/btrfs/ |
D | ordered-data.c | 28 if (entry->file_offset + entry->num_bytes < entry->file_offset) in entry_end() 30 return entry->file_offset + entry->num_bytes; in entry_end() 36 static struct rb_node *tree_insert(struct rb_root *root, u64 file_offset, in tree_insert() argument 47 if (file_offset < entry->file_offset) in tree_insert() 49 else if (file_offset >= entry_end(entry)) in tree_insert() 64 static struct rb_node *__tree_search(struct rb_root *root, u64 file_offset, in __tree_search() argument 78 if (file_offset < entry->file_offset) in __tree_search() 80 else if (file_offset >= entry_end(entry)) in __tree_search() 88 while (prev && file_offset >= entry_end(prev_entry)) { in __tree_search() 94 if (file_offset < entry_end(prev_entry)) in __tree_search() [all …]
|
D | ordered-data.h | 91 u64 file_offset; member 171 struct page *page, u64 file_offset, u64 len, 174 struct page *page, u64 file_offset, 178 u64 file_offset, u64 io_size); 180 struct btrfs_inode *inode, u64 file_offset, 187 u64 file_offset); 191 btrfs_lookup_first_ordered_extent(struct btrfs_inode *inode, u64 file_offset); 193 struct btrfs_inode *inode, u64 file_offset, u64 len); 196 u64 file_offset,
|
D | reflink.c | 58 const u64 file_offset, in copy_inline_to_page() argument 66 const u64 range_end = file_offset + block_size - 1; in copy_inline_to_page() 74 ASSERT(IS_ALIGNED(file_offset, block_size)); in copy_inline_to_page() 82 ret = btrfs_delalloc_reserve_space(inode, &data_reserved, file_offset, in copy_inline_to_page() 87 page = find_or_create_page(mapping, file_offset >> PAGE_SHIFT, in copy_inline_to_page() 98 clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page() 101 ret = btrfs_set_extent_delalloc(inode, file_offset, range_end, 0, NULL); in copy_inline_to_page() 119 memcpy_to_page(page, offset_in_page(file_offset), data_start, in copy_inline_to_page() 123 offset_in_page(file_offset), in copy_inline_to_page() 145 btrfs_page_set_uptodate(fs_info, page, file_offset, block_size); in copy_inline_to_page() [all …]
|
D | bio.c | 94 bbio->file_offset = orig_bbio->file_offset; in btrfs_split_bio() 95 orig_bbio->file_offset += map_length; in btrfs_split_bio() 216 repair_bbio->file_offset, fs_info->sectorsize, in btrfs_end_repair_bio() 248 failed_bbio->file_offset + bio_offset); in repair_one_sector() 274 repair_bbio->file_offset = failed_bbio->file_offset + bio_offset; in repair_one_sector() 732 ASSERT(bbio->inode || bbio->file_offset == 0); in btrfs_submit_bio()
|
D | compression.c | 74 bbio->file_offset = start; in alloc_compressed_bio() 287 ASSERT(IS_ALIGNED(ordered->file_offset, fs_info->sectorsize)); in btrfs_submit_compressed_write() 290 cb = alloc_compressed_bio(inode, ordered->file_offset, in btrfs_submit_compressed_write() 293 cb->start = ordered->file_offset; in btrfs_submit_compressed_write() 326 u64 cur = cb->orig_bbio->file_offset + orig_bio->bi_iter.bi_size; in add_ra_bio_pages() 474 u64 file_offset = bbio->file_offset; in btrfs_submit_compressed_read() local 485 em = lookup_extent_mapping(em_tree, file_offset, fs_info->sectorsize); in btrfs_submit_compressed_read() 495 cb = alloc_compressed_bio(inode, file_offset, REQ_OP_READ, in btrfs_submit_compressed_read()
|
D | bio.h | 38 u64 file_offset; member
|
D | inode.c | 90 u64 file_offset; member 2571 ret = split_extent_map(bbio->inode, bbio->file_offset, in btrfs_extract_ordered_extent() 3003 oe->file_offset, &stack_fi, in insert_ordered_extent_file_extent() 3029 start = ordered_extent->file_offset; in btrfs_finish_one_ordered() 3099 ordered_extent->file_offset, in btrfs_finish_one_ordered() 3100 ordered_extent->file_offset + in btrfs_finish_one_ordered() 3114 unpin_extent_cache(&inode->extent_tree, ordered_extent->file_offset, in btrfs_finish_one_ordered() 3288 u64 file_offset = bbio->file_offset + bio_offset; in btrfs_data_csum_ok() local 3289 u64 end = file_offset + bv->bv_len - 1; in btrfs_data_csum_ok() 3299 test_range_bit(&inode->io_tree, file_offset, end, EXTENT_NODATASUM, in btrfs_data_csum_ok() [all …]
|
D | file.c | 1012 ordered->file_offset + ordered->num_bytes > start_pos && in lock_and_cleanup_extent_if_need() 1013 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need() 2260 key.offset = extent_info->file_offset; in btrfs_insert_replace_extent() 2279 ret = btrfs_inode_set_file_extent_range(inode, extent_info->file_offset, in btrfs_insert_replace_extent() 2298 extent_info->file_offset, in btrfs_insert_replace_extent() 2307 ref_offset = extent_info->file_offset - extent_info->data_offset; in btrfs_insert_replace_extent() 2445 drop_args.drop_end > extent_info->file_offset) { in btrfs_replace_file_extents() 2447 extent_info->file_offset; in btrfs_replace_file_extents() 2458 extent_info->file_offset += replace_len; in btrfs_replace_file_extents() 3295 oe_start = max(oe->file_offset, start); in find_delalloc_subrange() [all …]
|
D | file-item.c | 439 u64 file_offset = bbio->file_offset + bio_offset; in btrfs_lookup_bio_sums() local 441 set_extent_bit(&inode->io_tree, file_offset, in btrfs_lookup_bio_sums() 442 file_offset + sectorsize - 1, in btrfs_lookup_bio_sums()
|
/linux-6.6.21/tools/perf/util/ |
D | session.c | 43 union perf_event *event, u64 file_offset, in perf_session__process_compressed_event() argument 65 decomp->file_pos = file_offset; in perf_session__process_compressed_event() 106 u64 file_offset, 189 session->tool, event->file_offset, in ordered_events__deliver_event() 471 u64 file_offset __maybe_unused, in perf_session__process_compressed_event_stub() 1084 u64 timestamp, u64 file_offset, const char *file_path) in perf_session__queue_event() argument 1086 return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset, file_path); in perf_session__queue_event() 1311 u64 file_offset, struct perf_sample *sample, in dump_event() argument 1318 file_offset, file_path, event->header.size, event->header.type); in dump_event() 1327 printf("%#" PRIx64 " [%#x]: PERF_RECORD_%s", file_offset, in dump_event() [all …]
|
D | ordered-events.h | 11 u64 file_offset; member 57 u64 timestamp, u64 file_offset, const char *file_path);
|
D | session.h | 80 int perf_session__peek_event(struct perf_session *session, off_t file_offset, 93 u64 timestamp, u64 file_offset, const char *file_path);
|
D | auxtrace.c | 426 off_t file_offset, size_t sz) in auxtrace_queues__add_indexed_event() argument 432 err = perf_session__peek_event(session, file_offset, buf, in auxtrace_queues__add_indexed_event() 443 file_offset += event->header.size; in auxtrace_queues__add_indexed_event() 445 file_offset, NULL); in auxtrace_queues__add_indexed_event() 881 union perf_event *event, off_t file_offset) in auxtrace_index__auxtrace_event() argument 891 auxtrace_index->entries[nr].file_offset = file_offset; in auxtrace_index__auxtrace_event() 905 ent.file_offset = auxtrace_index->entries[i].file_offset; in auxtrace_index__do_write() 950 auxtrace_index->entries[nr].file_offset = in auxtrace_index__process_entry() 951 bswap_64(ent.file_offset); in auxtrace_index__process_entry() 954 auxtrace_index->entries[nr].file_offset = ent.file_offset; in auxtrace_index__process_entry() [all …]
|
D | ordered-events.c | 195 u64 timestamp, u64 file_offset, const char *file_path) in ordered_events__queue() argument 219 oevent->file_offset = file_offset; in ordered_events__queue()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 613 loff_t file_offset, file_offset_tmp; in do_read() local 643 file_offset = ((loff_t) lba) << curlun->blkbits; in do_read() 659 curlun->file_length - file_offset); in do_read() 675 file_offset >> curlun->blkbits; in do_read() 683 file_offset_tmp = file_offset; in do_read() 687 (unsigned long long)file_offset, (int)nread); in do_read() 699 file_offset += nread; in do_read() 715 file_offset >> curlun->blkbits; in do_read() 744 loff_t usb_offset, file_offset, file_offset_tmp; in do_write() local 792 file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits; in do_write() [all …]
|
/linux-6.6.21/drivers/gpu/drm/etnaviv/ |
D | etnaviv_dump.h | 25 __le32 file_offset; member
|
/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
D | fwio.c | 99 const struct firmware **fw, int *file_offset) in get_firmware() argument 124 *file_offset = 0; in get_firmware() 127 *file_offset = 8; in get_firmware()
|
/linux-6.6.21/fs/ceph/ |
D | ioctl.h | 57 __u64 file_offset; /* in+out: file offset */ member
|
D | ioctl.c | 199 ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, 1, in ceph_ioctl_get_dataloc() 201 dl.file_offset -= dl.object_offset; in ceph_ioctl_get_dataloc()
|
D | crypto.h | 46 __le64 file_offset; member
|
/linux-6.6.21/drivers/usb/core/ |
D | devices.c | 391 loff_t *skip_bytes, loff_t *file_offset, in usb_device_dump() argument 486 *file_offset += length; in usb_device_dump() 499 file_offset, childdev, bus, in usb_device_dump()
|
/linux-6.6.21/include/sound/sof/ |
D | ext_manifest4.h | 90 uint32_t file_offset; member
|
/linux-6.6.21/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 37 acpi_size file_offset, 1197 acpi_size file_offset, in osl_read_table_from_file() argument 1215 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file() 1266 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file()
|
/linux-6.6.21/lib/ |
D | test_firmware.c | 104 size_t file_offset; member 234 test_fw_config->file_offset = 0; in __test_firmware_config_init() 311 "file_offset:\t%zu\n", test_fw_config->file_offset); in config_show() 578 &test_fw_config->file_offset); in config_file_offset_store() 589 return test_dev_config_show_size_t(buf, test_fw_config->file_offset); in config_file_offset_show() 880 test_fw_config->file_offset); in test_fw_run_batch_request()
|
/linux-6.6.21/include/uapi/drm/ |
D | panfrost_drm.h | 246 __u32 file_offset; member
|