Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 25 of 52) sorted by relevance

123

/linux/fs/btrfs/
A Dordered-data.c25 if (entry->file_offset + entry->num_bytes < entry->file_offset) in entry_end()
44 if (file_offset < entry->file_offset) in tree_insert()
75 if (file_offset < entry->file_offset) in __tree_search()
114 if (file_offset + len <= entry->file_offset || in range_overlaps()
115 entry->file_offset + entry->num_bytes <= file_offset) in range_overlaps()
135 if (in_range(file_offset, entry->file_offset, entry->num_bytes)) in tree_search()
183 entry->file_offset = file_offset; in __btrfs_add_ordered_extent()
861 if (entry->file_offset >= file_offset + len) { in btrfs_lookup_ordered_range()
959 if (file_offset < entry->file_offset) { in btrfs_lookup_first_ordered_range()
978 if (entry->file_offset < file_offset) { in btrfs_lookup_first_ordered_range()
[all …]
A Dordered-data.h81 u64 file_offset; member
175 struct page *page, u64 file_offset,
180 u64 file_offset, u64 io_size);
181 int btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset,
184 int btrfs_add_ordered_extent_dio(struct btrfs_inode *inode, u64 file_offset,
187 int btrfs_add_ordered_extent_compress(struct btrfs_inode *inode, u64 file_offset,
193 u64 file_offset);
197 btrfs_lookup_first_ordered_extent(struct btrfs_inode *inode, u64 file_offset);
199 struct btrfs_inode *inode, u64 file_offset, u64 len);
202 u64 file_offset,
A Dreflink.c50 const u64 file_offset, in copy_inline_to_page() argument
58 const u64 range_end = file_offset + block_size - 1; in copy_inline_to_page()
66 ASSERT(IS_ALIGNED(file_offset, block_size)); in copy_inline_to_page()
79 page = find_or_create_page(mapping, file_offset >> PAGE_SHIFT, in copy_inline_to_page()
90 clear_extent_bit(&inode->io_tree, file_offset, range_end, in copy_inline_to_page()
111 memcpy_to_page(page, offset_in_page(file_offset), data_start, in copy_inline_to_page()
116 offset_in_page(file_offset), in copy_inline_to_page()
140 btrfs_page_set_uptodate(fs_info, page, file_offset, block_size); in copy_inline_to_page()
142 btrfs_page_set_dirty(fs_info, page, file_offset, block_size); in copy_inline_to_page()
149 btrfs_delalloc_release_space(inode, data_reserved, file_offset, in copy_inline_to_page()
[all …]
A Dinode.c3094 ordered_extent->file_offset, in btrfs_finish_ordered_io()
8057 dip->file_offset, in btrfs_dio_private_put()
8062 dip->file_offset, in btrfs_dio_private_put()
8220 csum_offset = file_offset - dip->file_offset; in btrfs_submit_dio_bio()
8237 loff_t file_offset) in btrfs_create_dio_private() argument
8258 dip->file_offset = file_offset; in btrfs_create_dio_private()
8342 file_offset); in btrfs_submit_direct()
8385 file_offset += clone_len; in btrfs_submit_direct()
10183 u64 file_offset) in insert_prealloc_file_extent() argument
10210 file_offset, &stack_fi, in insert_prealloc_file_extent()
[all …]
A Dfile-item.c473 u64 file_offset; in btrfs_lookup_bio_sums() local
477 cur_disk_bytenr, &file_offset); in btrfs_lookup_bio_sums()
479 set_extent_bits(io_tree, file_offset, in btrfs_lookup_bio_sums()
480 file_offset + sectorsize - 1, in btrfs_lookup_bio_sums()
686 if (offset >= ordered->file_offset + ordered->num_bytes || in btrfs_csum_one_bio()
687 offset < ordered->file_offset) { in btrfs_csum_one_bio()
A Dzoned.h59 void btrfs_record_physical_zoned(struct inode *inode, u64 file_offset,
174 u64 file_offset, struct bio *bio) in btrfs_record_physical_zoned() argument
A Dfile.c1463 ordered->file_offset + ordered->num_bytes > start_pos && in lock_and_cleanup_extent_if_need()
1464 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
2594 (ordered->file_offset + ordered->num_bytes <= lockstart || in btrfs_punch_hole_lock_range()
2595 ordered->file_offset > lockend)) && in btrfs_punch_hole_lock_range()
2641 key.offset = extent_info->file_offset; in btrfs_insert_replace_extent()
2679 extent_info->file_offset, in btrfs_insert_replace_extent()
2825 drop_args.drop_end > extent_info->file_offset) { in btrfs_replace_file_extents()
2827 extent_info->file_offset; in btrfs_replace_file_extents()
2838 extent_info->file_offset += replace_len; in btrfs_replace_file_extents()
3494 ordered->file_offset + ordered->num_bytes > alloc_start && in btrfs_fallocate()
[all …]
A Dbtrfs_inode.h364 u64 file_offset; member
/linux/tools/perf/util/
A Dsession.c62 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
102 u64 file_offset);
184 session->tool, event->file_offset); in ordered_events__deliver_event()
1574 u64 file_offset) in perf_session__deliver_event() argument
1601 u64 file_offset) in perf_session__process_user_event() argument
1637 lseek(fd, file_offset, SEEK_SET); in perf_session__process_user_event()
2172 u64 file_offset);
2185 u64 file_offset; member
2246 rd->file_offset += page_offset; in reader__mmap()
2250 rd->file_offset); in reader__mmap()
[all …]
A Dordered-events.h11 u64 file_offset; member
56 u64 timestamp, u64 file_offset);
A Dsession.h77 int perf_session__peek_event(struct perf_session *session, off_t file_offset,
90 u64 timestamp, u64 file_offset);
A Dauxtrace.c416 off_t file_offset, size_t sz) in auxtrace_queues__add_indexed_event() argument
433 file_offset += event->header.size; in auxtrace_queues__add_indexed_event()
435 file_offset, NULL); in auxtrace_queues__add_indexed_event()
855 union perf_event *event, off_t file_offset) in auxtrace_index__auxtrace_event() argument
865 auxtrace_index->entries[nr].file_offset = file_offset; in auxtrace_index__auxtrace_event()
879 ent.file_offset = auxtrace_index->entries[i].file_offset; in auxtrace_index__do_write()
924 auxtrace_index->entries[nr].file_offset = in auxtrace_index__process_entry()
925 bswap_64(ent.file_offset); in auxtrace_index__process_entry()
928 auxtrace_index->entries[nr].file_offset = ent.file_offset; in auxtrace_index__process_entry()
968 ent->file_offset, ent->sz); in auxtrace_queues__process_index_entry()
[all …]
A Dordered-events.c195 u64 timestamp, u64 file_offset) in ordered_events__queue() argument
219 oevent->file_offset = file_offset; in ordered_events__queue()
A Dauxtrace.h164 u64 file_offset; member
584 off_t file_offset);
/linux/drivers/usb/gadget/function/
A Df_mass_storage.c657 file_offset >> curlun->blkbits; in do_read()
665 file_offset_tmp = file_offset; in do_read()
681 file_offset += nread; in do_read()
697 file_offset >> curlun->blkbits; in do_read()
839 file_offset >> curlun->blkbits; in do_write()
864 file_offset_tmp = file_offset; in do_write()
881 file_offset += nwritten; in do_write()
996 file_offset >> curlun->blkbits; in do_verify()
1002 file_offset_tmp = file_offset; in do_verify()
1022 file_offset >> curlun->blkbits; in do_verify()
[all …]
/linux/lib/
A Dtest_firmware.c98 size_t file_offset; member
195 test_fw_config->file_offset = 0; in __test_firmware_config_init()
271 "file_offset:\t%zu\n", test_fw_config->file_offset); in config_show()
488 &test_fw_config->file_offset); in config_file_offset_store()
498 return test_dev_config_show_size_t(buf, test_fw_config->file_offset); in config_file_offset_show()
783 test_fw_config->file_offset); in test_fw_run_batch_request()
/linux/drivers/staging/wfx/
A Dfwio.c102 const struct firmware **fw, int *file_offset) in get_firmware() argument
128 *file_offset = 0; in get_firmware()
131 *file_offset = 8; in get_firmware()
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_dump.h25 __le32 file_offset; member
A Detnaviv_dump.c74 hdr->file_offset = cpu_to_le32(iter->data - iter->start); in etnaviv_core_dump_header()
/linux/drivers/usb/core/
A Ddevices.c438 loff_t *skip_bytes, loff_t *file_offset, in usb_device_dump() argument
534 *file_offset += length; in usb_device_dump()
547 file_offset, childdev, bus, in usb_device_dump()
/linux/fs/ceph/
A Dioctl.h57 __u64 file_offset; /* in+out: file offset */ member
A Dioctl.c198 ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, 1, in ceph_ioctl_get_dataloc()
200 dl.file_offset -= dl.object_offset; in ceph_ioctl_get_dataloc()
/linux/tools/power/acpi/os_specific/service_layers/
A Doslinuxtbl.c37 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/fs/iomap/
A Dbuffered-io.c1301 u64 file_offset; /* file offset of page */ in iomap_writepage_map() local
1312 for (i = 0, file_offset = page_offset(page); in iomap_writepage_map()
1313 i < (PAGE_SIZE >> inode->i_blkbits) && file_offset < end_offset; in iomap_writepage_map()
1314 i++, file_offset += len) { in iomap_writepage_map()
1318 error = wpc->ops->map_blocks(wpc, inode, file_offset); in iomap_writepage_map()
1325 iomap_add_to_ioend(inode, file_offset, page, iop, wpc, wbc, in iomap_writepage_map()
1349 wpc->ops->discard_page(page, file_offset); in iomap_writepage_map()
/linux/include/linux/
A Diomap.h317 loff_t file_offset);

Completed in 84 milliseconds

123