Home
last modified time | relevance | path

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

/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/arch/powerpc/lib/
H A Dfeature-fixups.c32 long end_off; member
76 end = calc_addr(fcur, fcur->end_off); in patch_feature_section_mask()
115 calc_addr(fcur, fcur->end_off), in do_feature_fixups_mask()
727 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching()
759 fixup.end_off = calc_offset(&fixup, ftr_fixup_test2 + 2); in test_alternative_patching()
791 fixup.end_off = calc_offset(&fixup, ftr_fixup_test3 + 2); in test_alternative_case_too_big()
821 fixup.end_off = calc_offset(&fixup, ftr_fixup_test4 + 5); in test_alternative_case_too_small()
929 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix1 + 3); in test_prefix_patching()
951 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix2 + 3); in test_prefix_alt_patching()
973 fixup.end_off = calc_offset(&fixup, ftr_fixup_prefix3 + 4); in test_prefix_word_alt_patching()
/openbmc/linux/fs/isofs/
H A Dcompress.c209 loff_t start_off, end_off; in zisofs_fill_pages() local
230 end_off = min_t(loff_t, start_off + PAGE_SIZE, inode->i_size); in zisofs_fill_pages()
233 cend_block = (end_off + (1 << zisofs_block_shift) - 1) in zisofs_fill_pages()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c679 u64 start_off, end_off; in trbe_get_trace_size() local
708 end_off = write - buf->trbe_base; in trbe_get_trace_size()
711 if (WARN_ON_ONCE(end_off < start_off)) in trbe_get_trace_size()
714 size = end_off - start_off; in trbe_get_trace_size()
/openbmc/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()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c2615 int start_off, end_off; in nand_subop_get_num_addr_cyc() local
2625 end_off = subop->last_instr_end_off; in nand_subop_get_num_addr_cyc()
2627 end_off = subop->instrs[instr_idx].ctx.addr.naddrs; in nand_subop_get_num_addr_cyc()
2629 return end_off - start_off; in nand_subop_get_num_addr_cyc()
2669 int start_off = 0, end_off; in nand_subop_get_data_len() local
2679 end_off = subop->last_instr_end_off; in nand_subop_get_data_len()
2681 end_off = subop->instrs[instr_idx].ctx.data.len; in nand_subop_get_data_len()
2683 return end_off - start_off; in nand_subop_get_data_len()
/openbmc/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()
/openbmc/linux/drivers/scsi/
H A Dipr.c3054 u32 num_entries, max_num_entries, start_off, end_off; in ipr_get_ioa_dump() local
3167 end_off = be32_to_cpu(sdt->entry[i].end_token); in ipr_get_ioa_dump()
3170 bytes_to_copy = end_off - start_off; in ipr_get_ioa_dump()