Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c133 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local
139 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()
149 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
152 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()
155 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv)); in is_valid_tlv_boundary()
161 *pad_off = cur_off; in is_valid_tlv_boundary()
164 *tlv_off = cur_off; in is_valid_tlv_boundary()
173 cur_off += sizeof(tlv) + tlv.len; in is_valid_tlv_boundary()
177 *pad_off = cur_off; in is_valid_tlv_boundary()
180 *tlv_off = cur_off; in is_valid_tlv_boundary()
/Linux-v4.19/drivers/mtd/nand/raw/
Dsunxi_nand.c902 int *cur_off, in sunxi_nfc_hw_ecc_read_chunk() argument
913 if (*cur_off != data_off) in sunxi_nfc_hw_ecc_read_chunk()
934 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
982 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() argument
993 if (!cur_off || *cur_off != offset) in sunxi_nfc_hw_ecc_read_extra_oob()
1003 if (cur_off) in sunxi_nfc_hw_ecc_read_extra_oob()
1004 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
1133 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument
1141 if (data_off != *cur_off) in sunxi_nfc_hw_ecc_write_chunk()
1165 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
[all …]
/Linux-v4.19/arch/mips/sibyte/common/
Dsb_tbprof.c459 long cur_off = *offp; in sbprof_tb_read() local
467 cur_sample = cur_off / TB_SAMPLE_SIZE; in sbprof_tb_read()
468 sample_off = cur_off % TB_SAMPLE_SIZE; in sbprof_tb_read()
478 *offp = cur_off + cur_count - err; in sbprof_tb_read()
493 cur_off += cur_count; in sbprof_tb_read()
497 *offp = cur_off; in sbprof_tb_read()
/Linux-v4.19/fs/xfs/
Dxfs_dir2_readdir.c241 xfs_dir2_off_t *cur_off, in xfs_dir2_leaf_readbuf() argument
271 map_off = xfs_dir2_db_to_da(geo, xfs_dir2_byte_to_db(geo, *cur_off)); in xfs_dir2_leaf_readbuf()
280 if (new_off > *cur_off) in xfs_dir2_leaf_readbuf()
281 *cur_off = new_off; in xfs_dir2_leaf_readbuf()
/Linux-v4.19/drivers/nvdimm/
Dbtt.c852 size_t cur_off = 0; in discover_arenas() local
867 arena->infooff = cur_off; in discover_arenas()
886 parse_arena_meta(arena, super, cur_off); in discover_arenas()
910 cur_off += arena->size; in discover_arenas()
935 size_t cur_off = 0; in create_arenas() local
945 arena = alloc_arena(btt, arena_size, btt->nlba, cur_off); in create_arenas()
955 cur_off += arena_size; in create_arenas()
/Linux-v4.19/fs/cifs/
Dsmb2ops.c2843 unsigned int cur_off, struct bio_vec **page_vec) in init_read_bvec() argument
2854 bvec[i].bv_offset = (i == 0) ? cur_off : 0; in init_read_bvec()
2876 unsigned int cur_off; in handle_read_data() local
2940 cur_off = pad_len % PAGE_SIZE; in handle_read_data()
2959 cur_off, &bvec); in handle_read_data()