Searched refs:off_max (Results 1 – 9 of 9) sorted by relevance
219 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()
38 __le32 off_max; member
152 int off_max; member
182 if (!bpf->adjust_head.off_max) { in nfp_bpf_check_helper_call()
1642 reg_imm(adjust_head->off_max), ALU_OP_SUB, tmp); in adjust_head()
1190 s16 off_max = 0; in is_ldst_imm() local1195 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() local1214 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()
360 s64 off_min, off_max, off; in bpf_adj_delta_to_off() local366 off_max = S32_MAX; in bpf_adj_delta_to_off()370 off_max = S16_MAX; in bpf_adj_delta_to_off()377 if (off < off_min || off > off_max) in bpf_adj_delta_to_off()
2677 int off_min, off_max; in tpacket_parse_header() local2680 off_max = po->tx_ring.frame_size - tp_len; in tpacket_parse_header()2706 if (unlikely((off < off_min) || (off_max < off))) in tpacket_parse_header()
716 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()725 if (off < off_min || off > off_max) \ in bpf_convert_filter()