Home
last modified time | relevance | path

Searched refs:off_max (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c219 bpf->adjust_head.off_max = readl(&cap->off_max); in nfp_bpf_parse_cap_adjust_head()
223 if (bpf->adjust_head.off_min > bpf->adjust_head.off_max) { in nfp_bpf_parse_cap_adjust_head()
228 !FIELD_FIT(UR_REG_IMM_MAX, bpf->adjust_head.off_max)) { in nfp_bpf_parse_cap_adjust_head()
H A Dfw.h38 __le32 off_max; member
H A Dmain.h152 int off_max; member
H A Dverifier.c182 if (!bpf->adjust_head.off_max) { in nfp_bpf_check_helper_call()
H A Djit.c1642 reg_imm(adjust_head->off_max), ALU_OP_SUB, tmp); in adjust_head()
/linux/arch/arm/net/
H A Dbpf_jit_32.c1190 s16 off_max = 0; in is_ldst_imm() local
1195 off_max = 0xfff; in is_ldst_imm()
1198 off_max = 0xff; in is_ldst_imm()
1202 off_max = 0xfff - 4; in is_ldst_imm()
1205 return -off_max <= off && off <= off_max; in is_ldst_imm()
1210 s16 off_max = 0; in is_ldst_imm8() local
1214 off_max = 0xff; in is_ldst_imm8()
1217 off_max = 0xfff; in is_ldst_imm8()
1220 off_max = 0xff; in is_ldst_imm8()
1223 return -off_max <= off && off <= off_max; in is_ldst_imm8()
/linux/fs/reiserfs/
H A Dbitmap.c355 unsigned int off_max = s->s_blocksize << 3; in scan_bitmap() local
391 scan_bitmap_block(th, bm, &off, off_max, in scan_bitmap()
402 scan_bitmap_block(th, bm, &off, off_max, min, max, unfm); in scan_bitmap()
411 *start = bm * off_max + off; in scan_bitmap()
/linux/kernel/bpf/
H A Dcore.c383 s64 off_min, off_max, off; in bpf_adj_delta_to_off() local
389 off_max = S32_MAX; in bpf_adj_delta_to_off()
393 off_max = S16_MAX; in bpf_adj_delta_to_off()
400 if (off < off_min || off > off_max) in bpf_adj_delta_to_off()
/linux/net/packet/
H A Daf_packet.c2744 int off_min, off_max; in tpacket_parse_header() local
2747 off_max = po->tx_ring.frame_size - tp_len; in tpacket_parse_header()
2773 if (unlikely((off < off_min) || (off_max < off))) in tpacket_parse_header()
/linux/net/core/
H A Dfilter.c700 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
709 if (off < off_min || off > off_max) \ in bpf_convert_filter()