Home
last modified time | relevance | path

Searched refs:end_off (Results 1 – 7 of 7) sorted by relevance

/linux/fs/hfs/
H A Dbrec.c70 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/fs/hfsplus/
H A Dbrec.c68 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/arch/powerpc/lib/
H A Dfeature-fixups.c39 long end_off; member
83 end = calc_addr(fcur, fcur->end_off); in patch_feature_section_mask()
122 calc_addr(fcur, fcur->end_off), in do_feature_fixups_mask()
735 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching()
767 fixup.end_off = calc_offset(&fixup, ftr_fixup_test2 + 2); in test_alternative_patching()
799 fixup.end_off = calc_offset(&fixup, ftr_fixup_test3 + 2); in test_alternative_case_too_big()
829 fixup.end_off = calc_offset(&fixup, ftr_fixup_test4 + 5); in test_alternative_case_too_small()
937 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix1 + 3); in test_prefix_patching()
959 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix2 + 3); in test_prefix_alt_patching()
981 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix3 + 4); in test_prefix_word_alt_patching()
/linux/tools/testing/selftests/mm/
H A Dhugetlb_dio.c23 void run_dio_using_hugetlb(unsigned int start_off, unsigned int end_off) in run_dio_using_hugetlb() argument
35 writesize = end_off - start_off; in run_dio_using_hugetlb()
/linux/fs/reiserfs/
H A Dbitmap.c354 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/drivers/mtd/nand/raw/
H A Dnand_base.c2634 int start_off, end_off; in nand_subop_get_num_addr_cyc() local
2644 end_off = subop->last_instr_end_off; in nand_subop_get_num_addr_cyc()
2646 end_off = subop->instrs[instr_idx].ctx.addr.naddrs; in nand_subop_get_num_addr_cyc()
2648 return end_off - start_off; in nand_subop_get_num_addr_cyc()
2688 int start_off = 0, end_off; in nand_subop_get_data_len() local
2698 end_off = subop->last_instr_end_off; in nand_subop_get_data_len()
2700 end_off = subop->instrs[instr_idx].ctx.data.len; in nand_subop_get_data_len()
2702 return end_off - start_off; in nand_subop_get_data_len()
/linux/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1343 static u32 mxt_calculate_crc(u8 *base, off_t start_off, off_t end_off) in mxt_calculate_crc() argument
1347 u8 *last_val = base + end_off - 1; in mxt_calculate_crc()
1349 if (end_off < start_off) in mxt_calculate_crc()