/kernel/linux/linux-5.10/include/linux/ |
H A D | tnum.h | 0 /* tnum: tracked (or tristate) numbers 3 * A tnum tracks knowledge about the bits of a value. Each bit can be either 5 * propagate the unknown bits such that the tnum result represents all the 14 struct tnum { struct 20 /* Represent a known constant as a tnum. */ 21 struct tnum tnum_const(u64 value); 23 extern const struct tnum tnum_unknown; 25 struct tnum tnum_range(u64 min, u64 max); 28 /* Shift a tnum left (by a fixed shift) */ 29 struct tnum tnum_lshif [all...] |
H A D | bpf_verifier.h | 9 #include <linux/tnum.h> 122 struct tnum var_off; 151 /* if (!precise && SCALAR_VALUE) min/max/tnum don't affect safety */
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | tnum.h | 0 /* tnum: tracked (or tristate) numbers 3 * A tnum tracks knowledge about the bits of a value. Each bit can be either 5 * propagate the unknown bits such that the tnum result represents all the 14 struct tnum { struct 20 /* Represent a known constant as a tnum. */ 21 struct tnum tnum_const(u64 value); 23 extern const struct tnum tnum_unknown; 30 struct tnum tnum_range(u64 min, u64 max); 33 /* Shift a tnum left (by a fixed shift) */ 34 struct tnum tnum_lshif [all...] |
H A D | bpf_verifier.h | 10 #include <linux/tnum.h> 143 struct tnum var_off; 226 /* if (!precise && SCALAR_VALUE) min/max/tnum don't affect safety */ 301 struct tnum callback_ret_range;
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | tnum.c | 2 /* tnum: tracked (or tristate) numbers 4 * A tnum tracks knowledge about the bits of a value. Each bit can be either 6 * propagate the unknown bits such that the tnum result represents all the 10 #include <linux/tnum.h> 12 #define TNUM(_v, _m) (struct tnum){.value = _v, .mask = _m} 14 const struct tnum tnum_unknown = { .value = 0, .mask = -1 }; 16 struct tnum tnum_const(u64 value) in tnum_const() 21 struct tnum tnum_range(u64 min, u64 max) in tnum_range() 37 struct tnum tnum_lshift(struct tnum [all...] |
H A D | Makefile | 9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o bpf_iter.o map_iter.o task_iter.o prog_iter.o
|
H A D | verifier.c | 1147 struct tnum var32_off = tnum_subreg(reg->var_off); in __update_reg32_bounds() 1257 struct tnum var64_off = tnum_intersect(reg->var_off, in __reg_bound_offset() 1260 struct tnum var32_off = tnum_intersect(tnum_subreg(reg->var_off), in __reg_bound_offset() 1294 * from tnum. in __reg_assign_32_into_64() 1317 * then learn as much as possible from the 64-bit tnum in __reg_combine_32_into_64() 1320 * so they do not impact tnum bounds calculation. in __reg_combine_32_into_64() 3356 struct tnum reg_off; in check_pkt_ptr_alignment() 3392 struct tnum reg_off; in check_generic_ptr_alignment() 6672 struct tnum var32_off = tnum_subreg(dst_reg->var_off); in scalar32_min_max_and() 6741 struct tnum var32_of in scalar32_min_max_or() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | tnum.c | 2 /* tnum: tracked (or tristate) numbers 4 * A tnum tracks knowledge about the bits of a value. Each bit can be either 6 * propagate the unknown bits such that the tnum result represents all the 10 #include <linux/tnum.h> 12 #define TNUM(_v, _m) (struct tnum){.value = _v, .mask = _m} 14 const struct tnum tnum_unknown = { .value = 0, .mask = -1 }; 16 struct tnum tnum_const(u64 value) in tnum_const() 21 struct tnum tnum_range(u64 min, u64 max) in tnum_range() 37 struct tnum tnum_lshift(struct tnum [all...] |
H A D | Makefile | 9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o log.o
|
H A D | verifier.c | 412 struct tnum *range, const char *ctx, in verbose_invalid_scalar() 2273 struct tnum var32_off = tnum_subreg(reg->var_off); in __update_reg32_bounds() 2383 struct tnum var64_off = tnum_intersect(reg->var_off, in __reg_bound_offset() 2386 struct tnum var32_off = tnum_intersect(tnum_subreg(var64_off), in __reg_bound_offset() 2420 * from tnum. in __reg_assign_32_into_64() 2443 * then learn as much as possible from the 64-bit tnum in __reg_combine_32_into_64() 2446 * so they do not impact tnum bounds calculation. in __reg_combine_32_into_64() 5715 struct tnum reg_off; in check_pkt_ptr_alignment() 5751 struct tnum reg_off; in check_generic_ptr_alignment() 9622 struct tnum rang in prepare_func_exit() [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/sn0/ |
H A D | hubio.h | 456 tnum: 5, /* TNUM field in xtalk */ member 478 tnum: 5, /* TNUM field in xtalk */ member 881 tnum: 5, /* 36-32: TNUM of xtalk request */ member
|
/kernel/linux/linux-6.6/arch/mips/include/asm/sn/sn0/ |
H A D | hubio.h | 456 tnum: 5, /* TNUM field in xtalk */ member 478 tnum: 5, /* TNUM field in xtalk */ member 881 tnum: 5, /* 36-32: TNUM of xtalk request */ member
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | uniphier-xdmac.c | 137 u32 val, its, tnum; in uniphier_xdmac_chan_start() local 143 tnum = xd->nodes[xd->cur_node].nr_burst; in uniphier_xdmac_chan_start() 185 writel(tnum, xc->reg_ch_base + XDMAC_TNUM); in uniphier_xdmac_chan_start()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | uniphier-xdmac.c | 137 u32 val, its, tnum; in uniphier_xdmac_chan_start() local 143 tnum = xd->nodes[xd->cur_node].nr_burst; in uniphier_xdmac_chan_start() 185 writel(tnum, xc->reg_ch_base + XDMAC_TNUM); in uniphier_xdmac_chan_start()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/xtalk/ |
H A D | xwidget.h | 239 unsigned tnum:5; member
|
/kernel/linux/linux-6.6/arch/mips/include/asm/xtalk/ |
H A D | xwidget.h | 239 unsigned tnum:5; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
H A D | fman.h | 296 * tnum - Owner of error 305 u64 addr, u8 tnum, u16 liodn);
|
H A D | fman.c | 585 u8 __maybe_unused tnum, in fman_bus_error() 1284 u8 tnum, port_id, relative_port_id; in dma_err_event() local 1317 tnum = (u8)((com_id & DMA_TRANSFER_TNUM_MASK) >> in dma_err_event() 1320 ret = fman->bus_error_cb(fman, relative_port_id, addr, tnum, in dma_err_event() 583 fman_bus_error(struct fman *fman, u8 __maybe_unused port_id, u64 __maybe_unused addr, u8 __maybe_unused tnum, u16 __maybe_unused liodn) fman_bus_error() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/ |
H A D | fman.h | 269 * tnum - Owner of error 278 u64 addr, u8 tnum, u16 liodn);
|
H A D | fman.c | 559 u8 __maybe_unused tnum, in fman_bus_error() 1258 u8 tnum, port_id, relative_port_id; in dma_err_event() local 1291 tnum = (u8)((com_id & DMA_TRANSFER_TNUM_MASK) >> in dma_err_event() 1294 ret = fman->bus_error_cb(fman, relative_port_id, addr, tnum, in dma_err_event() 557 fman_bus_error(struct fman *fman, u8 __maybe_unused port_id, u64 __maybe_unused addr, u8 __maybe_unused tnum, u16 __maybe_unused liodn) fman_bus_error() argument
|
/kernel/linux/linux-5.10/arch/mips/include/asm/pci/ |
H A D | bridge.h | 278 tnum:5, /* Trans Number */ member
|
/kernel/linux/linux-6.6/arch/mips/include/asm/pci/ |
H A D | bridge.h | 278 tnum:5, /* Trans Number */ member
|