Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/ !
Dtest_seg6_loop.c123 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local
129 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()
141 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
144 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()
147 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv)); in is_valid_tlv_boundary()
153 *pad_off = cur_off; in is_valid_tlv_boundary()
156 *tlv_off = cur_off; in is_valid_tlv_boundary()
165 cur_off += sizeof(tlv) + tlv.len; in is_valid_tlv_boundary()
169 *pad_off = cur_off; in is_valid_tlv_boundary()
172 *tlv_off = cur_off; in is_valid_tlv_boundary()
Dtest_lwt_seg6local.c122 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local
128 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()
138 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
141 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()
144 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv)); in is_valid_tlv_boundary()
150 *pad_off = cur_off; in is_valid_tlv_boundary()
153 *tlv_off = cur_off; in is_valid_tlv_boundary()
162 cur_off += sizeof(tlv) + tlv.len; in is_valid_tlv_boundary()
166 *pad_off = cur_off; in is_valid_tlv_boundary()
169 *tlv_off = cur_off; in is_valid_tlv_boundary()
/linux-6.1.9/drivers/mtd/nand/raw/ !
Dsunxi_nand.c810 int *cur_off, in sunxi_nfc_hw_ecc_read_chunk() argument
820 if (*cur_off != data_off) in sunxi_nfc_hw_ecc_read_chunk()
841 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
889 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() argument
900 if (!cur_off || *cur_off != offset) in sunxi_nfc_hw_ecc_read_extra_oob()
910 if (cur_off) in sunxi_nfc_hw_ecc_read_extra_oob()
911 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
1045 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument
1052 if (data_off != *cur_off) in sunxi_nfc_hw_ecc_write_chunk()
1076 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
[all …]
/linux-6.1.9/arch/mips/sibyte/common/ !
Dsb_tbprof.c447 long cur_off = *offp; in sbprof_tb_read() local
455 cur_sample = cur_off / TB_SAMPLE_SIZE; in sbprof_tb_read()
456 sample_off = cur_off % TB_SAMPLE_SIZE; in sbprof_tb_read()
466 *offp = cur_off + cur_count - err; in sbprof_tb_read()
481 cur_off += cur_count; in sbprof_tb_read()
485 *offp = cur_off; in sbprof_tb_read()
/linux-6.1.9/fs/xfs/ !
Dxfs_dir2_readdir.c244 xfs_dir2_off_t *cur_off, in xfs_dir2_leaf_readbuf() argument
272 map_off = xfs_dir2_db_to_da(geo, xfs_dir2_byte_to_db(geo, *cur_off)); 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()
/linux-6.1.9/drivers/nvdimm/ !
Dbtt.c853 size_t cur_off = 0; in discover_arenas() local
868 arena->infooff = cur_off; in discover_arenas()
887 parse_arena_meta(arena, super, cur_off); in discover_arenas()
911 cur_off += arena->size; in discover_arenas()
936 size_t cur_off = 0; in create_arenas() local
946 arena = alloc_arena(btt, arena_size, btt->nlba, cur_off); in create_arenas()
956 cur_off += arena_size; in create_arenas()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ !
Dcudbg_lib.c3373 u32 i, j, cur_off, tot_len; in cudbg_collect_qdesc() local
3536 cur_off = 0; in cudbg_collect_qdesc()
3547 memcpy(temp_buff.data, data + cur_off, chunk_size); in cudbg_collect_qdesc()
3549 cur_off += chunk_size; in cudbg_collect_qdesc()
/linux-6.1.9/tools/lib/bpf/ !
Dbtf_dump.c867 int cur_off, int m_off, int m_bit_sz, in btf_dump_emit_bit_padding() argument
870 int off_diff = m_off - cur_off; in btf_dump_emit_bit_padding()
/linux-6.1.9/fs/cifs/ !
Dsmb2ops.c4590 unsigned int cur_off, struct bio_vec **page_vec) in init_read_bvec() argument
4601 bvec[i].bv_offset = (i == 0) ? cur_off : 0; in init_read_bvec()
4624 unsigned int cur_off; in handle_read_data() local
4706 cur_off = pad_len % PAGE_SIZE; in handle_read_data()
4731 cur_off, &bvec); in handle_read_data()