Home
last modified time | relevance | path

Searched refs:new_off (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dstrset.c118 long old_off, new_off, len; in strset__find_str() local
127 new_off = set->strs_data_len; in strset__find_str()
130 if (hashmap__find(set->strs_hash, new_off, &old_off)) in strset__find_str()
144 long old_off, new_off, len; in strset__add_str() local
161 new_off = set->strs_data_len; in strset__add_str()
168 err = hashmap__insert(set->strs_hash, new_off, new_off, in strset__add_str()
176 return new_off; in strset__add_str()
H A Dbtf_dump.c870 int new_off, pad_bits, bits, i; in btf_dump_emit_bit_padding() local
898 new_off = roundup(cur_off, pad_bits); in btf_dump_emit_bit_padding()
899 if (new_off <= next_off) in btf_dump_emit_bit_padding()
903 if (new_off > cur_off && new_off <= next_off) { in btf_dump_emit_bit_padding()
914 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
915 (new_off != next_off && next_off - new_off <= new_off - cur_off)) in btf_dump_emit_bit_padding()
918 in_bitfield ? new_off - cur_off : 0); in btf_dump_emit_bit_padding()
919 cur_off = new_off; in btf_dump_emit_bit_padding()
/openbmc/linux/fs/hpfs/
H A Ddir.c26 loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); in hpfs_dir_lseek() local
41 if (new_off == 0 || new_off == 1 || new_off == 11 || new_off == 12 || new_off == 13) goto ok; in hpfs_dir_lseek()
43 while (pos != new_off) { in hpfs_dir_lseek()
54 filp->f_pos = new_off; in hpfs_dir_lseek()
57 return new_off; in hpfs_dir_lseek()
/openbmc/linux/tools/objtool/
H A Dspecial.c113 reloc_to_sec_off(new_reloc, &alt->new_sec, &alt->new_off); in get_alt_entry()
116 if (alt->new_off >= 0x7ffffff0) in get_alt_entry()
117 alt->new_off -= 0x7ffffff0; in get_alt_entry()
H A Dcheck.c1797 nop->offset = special_alt->new_off + special_alt->new_len; in handle_group_alt()
1814 if (insn->offset >= special_alt->new_off + special_alt->new_len) in handle_group_alt()
1846 if (dest_off == special_alt->new_off + special_alt->new_len) { in handle_group_alt()
1857 special_alt->new_sec, special_alt->new_off); in handle_group_alt()
1948 special_alt->new_off); in add_special_section_alts()
1952 special_alt->new_off); in add_special_section_alts()
/openbmc/linux/fs/xfs/scrub/
H A Dreaddir.c157 xfs_dir2_off_t new_off; in xchk_read_leaf_dir_buf() local
176 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); in xchk_read_leaf_dir_buf()
177 if (new_off > *curoff) in xchk_read_leaf_dir_buf()
178 *curoff = new_off; in xchk_read_leaf_dir_buf()
/openbmc/linux/fs/hfs/
H A Dbrec.c236 int num_recs, new_rec_off, new_off, old_rec_off; in hfs_bnode_split() local
301 new_off = 14; in hfs_bnode_split()
302 size = data_start - new_off; in hfs_bnode_split()
306 hfs_bnode_write_u16(new_node, new_rec_off, new_off); in hfs_bnode_split()
310 new_off = data_end - size; in hfs_bnode_split()
313 hfs_bnode_write_u16(new_node, new_rec_off, new_off); in hfs_bnode_split()
/openbmc/linux/fs/hfsplus/
H A Dbrec.c240 int num_recs, new_rec_off, new_off, old_rec_off; in hfs_bnode_split() local
305 new_off = 14; in hfs_bnode_split()
306 size = data_start - new_off; in hfs_bnode_split()
310 hfs_bnode_write_u16(new_node, new_rec_off, new_off); in hfs_bnode_split()
314 new_off = data_end - size; in hfs_bnode_split()
317 hfs_bnode_write_u16(new_node, new_rec_off, new_off); in hfs_bnode_split()
/openbmc/linux/tools/objtool/include/objtool/
H A Dspecial.h28 unsigned long new_off; member
/openbmc/linux/fs/xfs/
H A Dxfs_dir2_readdir.c254 xfs_dir2_off_t new_off; in xfs_dir2_leaf_readbuf() local
280 new_off = xfs_dir2_da_to_byte(geo, map.br_startoff); in xfs_dir2_leaf_readbuf()
281 if (new_off > *cur_off) in xfs_dir2_leaf_readbuf()
282 *cur_off = new_off; in xfs_dir2_leaf_readbuf()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dverifier.c348 s32 old_off, new_off; in nfp_bpf_check_stack_access() local
362 new_off = reg->off + reg->var_off.value; in nfp_bpf_check_stack_access()
364 meta->ptr_not_const |= old_off != new_off; in nfp_bpf_check_stack_access()
369 if (old_off % 4 == new_off % 4) in nfp_bpf_check_stack_access()
373 old_off, new_off); in nfp_bpf_check_stack_access()
H A Djit.c808 u8 new_off; in nfp_cpp_memcpy() local
815 new_off = meta->paired_st->off + (xfer_num - 1) * 4; in nfp_cpp_memcpy()
816 off = re_load_imm_any(nfp_prog, new_off, imm_b(nfp_prog)); in nfp_cpp_memcpy()
/openbmc/linux/drivers/hid/
H A Dhid-sony.c1327 u8 new_on, new_off; in sony_led_blink_set() local
1345 new_off = *delay_off / 10; in sony_led_blink_set()
1358 new_off != drv_data->led_delay_off[n]) { in sony_led_blink_set()
1360 drv_data->led_delay_off[n] = new_off; in sony_led_blink_set()
/openbmc/qemu/hw/hyperv/
H A Dvmbus.c407 static inline void gpadl_iter_seek(GpadlIter *iter, uint32_t new_off) in gpadl_iter_seek() argument
410 iter->off = new_off; in gpadl_iter_seek()
676 static inline void ringbuf_seek(VMBusRingBufCommon *ringbuf, uint32_t new_off) in ringbuf_seek() argument
679 ringbuf->base + rb_idx_wrap(new_off, ringbuf->len)); in ringbuf_seek()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c4204 int off = 0, new_off = 0; in dpaa2_eth_cls_trim_rule() local
4210 memcpy(key_mem + new_off, key_mem + off, size); in dpaa2_eth_cls_trim_rule()
4211 new_off += size; in dpaa2_eth_cls_trim_rule()