Searched refs:cur_off (Results 1 - 10 of 10) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_seg6_loop.c125 uint32_t srh_off, cur_off; local
130 // cur_off = end of segments, start of possible TLVs
131 cur_off = srh_off + sizeof(*srh) +
143 if (cur_off == *tlv_off)
146 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3))
149 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv));
155 *pad_off = cur_off;
158 *tlv_off = cur_off;
167 cur_off += sizeof(tlv) + tlv.len;
171 *pad_off = cur_off;
[all...]
H A Dtest_lwt_seg6local.c124 uint32_t srh_off, cur_off; local
129 // cur_off = end of segments, start of possible TLVs
130 cur_off = srh_off + sizeof(*srh) +
140 if (cur_off == *tlv_off)
143 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3))
146 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv));
152 *pad_off = cur_off;
155 *tlv_off = cur_off;
164 cur_off += sizeof(tlv) + tlv.len;
168 *pad_off = cur_off;
[all...]
/linux-master/arch/mips/sibyte/common/
H A Dsb_tbprof.c447 long cur_off = *offp; local
455 cur_sample = cur_off / TB_SAMPLE_SIZE;
456 sample_off = cur_off % TB_SAMPLE_SIZE;
466 *offp = cur_off + cur_count - err;
481 cur_off += cur_count;
485 *offp = cur_off;
/linux-master/drivers/mtd/nand/raw/
H A Dsunxi_nand.c798 int *cur_off,
808 if (*cur_off != data_off)
829 *cur_off = oob_off + ecc->bytes + 4;
877 u8 *oob, int *cur_off,
888 if (!cur_off || *cur_off != offset)
898 if (cur_off)
899 *cur_off = mtd->oobsize + mtd->writesize;
1033 int *cur_off, bool bbm,
1040 if (data_off != *cur_off)
795 sunxi_nfc_hw_ecc_read_chunk(struct nand_chip *nand, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips, bool bbm, bool oob_required, int page) argument
876 sunxi_nfc_hw_ecc_read_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, bool randomize, int page) argument
1030 sunxi_nfc_hw_ecc_write_chunk(struct nand_chip *nand, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off, bool bbm, int page) argument
1069 sunxi_nfc_hw_ecc_write_extra_oob(struct nand_chip *nand, u8 *oob, int *cur_off, int page) argument
1097 int ret, i, cur_off = 0; local
1155 int ret, i, cur_off = 0; local
1211 int ret, i, cur_off = 0; local
1248 int ret, i, cur_off = 0; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_dir2_readdir.c246 xfs_dir2_off_t *cur_off,
274 map_off = xfs_dir2_db_to_da(geo, xfs_dir2_byte_to_db(geo, *cur_off));
283 if (new_off > *cur_off)
284 *cur_off = new_off;
243 xfs_dir2_leaf_readbuf( struct xfs_da_args *args, size_t bufsize, xfs_dir2_off_t *cur_off, xfs_dablk_t *ra_blk, struct xfs_buf **bpp) argument
/linux-master/tools/lib/bpf/
H A Dbtf_dump.c861 int cur_off, int next_off, int next_align,
873 if (cur_off >= next_off)
898 new_off = roundup(cur_off, pad_bits);
903 if (new_off > cur_off && new_off <= next_off) {
914 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) ||
915 (new_off != next_off && next_off - new_off <= new_off - cur_off))
918 in_bitfield ? new_off - cur_off : 0);
919 cur_off = new_off;
928 while (cur_off != next_off) {
929 bits = min(next_off - cur_off, pad_bit
860 btf_dump_emit_bit_padding(const struct btf_dump *d, int cur_off, int next_off, int next_align, bool in_bitfield, int lvl) argument
[all...]
/linux-master/drivers/nvdimm/
H A Dbtt.c853 size_t cur_off = 0; local
866 arena->infooff = cur_off;
885 parse_arena_meta(arena, super, cur_off);
909 cur_off += arena->size;
931 size_t cur_off = 0; local
941 arena = alloc_arena(btt, arena_size, btt->nlba, cur_off);
951 cur_off += arena_size;
/linux-master/fs/btrfs/
H A Dextent_io.c4838 unsigned long cur_off = 0; local
4854 while (cur_off < len) {
4855 unsigned long cur_src = cur_off + src_offset;
4861 const bool use_memmove = areas_overlap(src_offset + cur_off,
4862 dst_offset + cur_off, cur_len);
4864 __write_extent_buffer(dst, src_addr, dst_offset + cur_off, cur_len,
4866 cur_off += cur_len;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib.c3373 u32 i, j, cur_off, tot_len; local
3536 cur_off = 0;
3547 memcpy(temp_buff.data, data + cur_off, chunk_size);
3549 cur_off += chunk_size;
/linux-master/fs/smb/client/
H A Dsmb2ops.c4490 unsigned int cur_off; local
4569 cur_off = pad_len % PAGE_SIZE;
4595 cur_off, &rdata->iter);

Completed in 204 milliseconds