/linux-5.19.10/fs/hfs/ |
D | brec.c | 70 int data_off, end_off; in hfs_brec_insert() local 95 end_off = hfs_bnode_read_u16(node, end_rec_off); in hfs_brec_insert() 98 rec, size, end_off, end_rec_off); in hfs_brec_insert() 99 if (size > end_rec_off - end_off) { in hfs_brec_insert() 114 hfs_bnode_write_u16(node, end_rec_off, end_off + size); in hfs_brec_insert() 115 data_off = end_off; in hfs_brec_insert() 129 end_off - data_off); in hfs_brec_insert() 181 int end_off, rec_off, data_off, size; in hfs_brec_remove() local 187 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove() 211 if (rec_off == end_off) in hfs_brec_remove() [all …]
|
/linux-5.19.10/fs/hfsplus/ |
D | brec.c | 68 int data_off, end_off; in hfs_brec_insert() local 93 end_off = hfs_bnode_read_u16(node, end_rec_off); in hfs_brec_insert() 96 rec, size, end_off, end_rec_off); in hfs_brec_insert() 97 if (size > end_rec_off - end_off) { in hfs_brec_insert() 114 hfs_bnode_write_u16(node, end_rec_off, end_off + size); in hfs_brec_insert() 115 data_off = end_off; in hfs_brec_insert() 129 end_off - data_off); in hfs_brec_insert() 183 int end_off, rec_off, data_off, size; in hfs_brec_remove() local 189 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove() 215 if (rec_off == end_off) in hfs_brec_remove() [all …]
|
/linux-5.19.10/arch/powerpc/lib/ |
D | feature-fixups.c | 32 long end_off; member 75 end = calc_addr(fcur, fcur->end_off); in patch_feature_section() 113 calc_addr(fcur, fcur->end_off), in do_feature_fixups() 733 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching() 765 fixup.end_off = calc_offset(&fixup, ftr_fixup_test2 + 2); in test_alternative_patching() 797 fixup.end_off = calc_offset(&fixup, ftr_fixup_test3 + 2); in test_alternative_case_too_big() 827 fixup.end_off = calc_offset(&fixup, ftr_fixup_test4 + 5); in test_alternative_case_too_small() 935 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix1 + 3); in test_prefix_patching() 957 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix2 + 3); in test_prefix_alt_patching() 979 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix3 + 4); in test_prefix_word_alt_patching()
|
/linux-5.19.10/fs/isofs/ |
D | compress.c | 204 loff_t start_off, end_off; in zisofs_fill_pages() local 225 end_off = min_t(loff_t, start_off + PAGE_SIZE, inode->i_size); in zisofs_fill_pages() 228 cend_block = (end_off + (1 << zisofs_block_shift) - 1) in zisofs_fill_pages()
|
/linux-5.19.10/drivers/hwtracing/coresight/ |
D | coresight-trbe.c | 678 u64 start_off, end_off; in trbe_get_trace_size() local 707 end_off = write - buf->trbe_base; in trbe_get_trace_size() 710 if (WARN_ON_ONCE(end_off < start_off)) in trbe_get_trace_size() 713 size = end_off - start_off; in trbe_get_trace_size()
|
/linux-5.19.10/fs/reiserfs/ |
D | bitmap.c | 354 unsigned int end_bm, end_off; in scan_bitmap() local 365 get_bit_address(s, finish, &end_bm, &end_off); in scan_bitmap() 408 scan_bitmap_block(th, bm, &off, end_off + 1, min, max, unfm); in scan_bitmap()
|
/linux-5.19.10/drivers/mtd/nand/raw/ |
D | nand_base.c | 2506 int start_off, end_off; in nand_subop_get_num_addr_cyc() local 2516 end_off = subop->last_instr_end_off; in nand_subop_get_num_addr_cyc() 2518 end_off = subop->instrs[instr_idx].ctx.addr.naddrs; in nand_subop_get_num_addr_cyc() 2520 return end_off - start_off; in nand_subop_get_num_addr_cyc() 2560 int start_off = 0, end_off; in nand_subop_get_data_len() local 2570 end_off = subop->last_instr_end_off; in nand_subop_get_data_len() 2572 end_off = subop->instrs[instr_idx].ctx.data.len; in nand_subop_get_data_len() 2574 return end_off - start_off; in nand_subop_get_data_len()
|
/linux-5.19.10/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1310 static u32 mxt_calculate_crc(u8 *base, off_t start_off, off_t end_off) in mxt_calculate_crc() argument 1314 u8 *last_val = base + end_off - 1; in mxt_calculate_crc() 1316 if (end_off < start_off) in mxt_calculate_crc()
|
/linux-5.19.10/drivers/scsi/ |
D | ipr.c | 3142 u32 num_entries, max_num_entries, start_off, end_off; in ipr_get_ioa_dump() local 3255 end_off = be32_to_cpu(sdt->entry[i].end_token); in ipr_get_ioa_dump() 3258 bytes_to_copy = end_off - start_off; in ipr_get_ioa_dump()
|