Home
last modified time | relevance | path

Searched refs:tnum (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
H A Dtnum.h1 /* 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. */ argument
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 Dbpf_verifier.h10 #include <linux/tnum.h>
147 struct tnum var_off;
201 /* if (!precise && SCALAR_VALUE) min/max/tnum don't affect safety */ in reg_u32_min()
/linux/kernel/bpf/
H A Dtnum.c2 /* 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>
13 #define TNUM(_v, _m) (struct tnum){.value = _v, .mask = _m}
15 const struct tnum tnum_unknown = { .value = 0, .mask = -1 };
17 struct tnum tnum_const(u64 value) in tnum_const()
22 struct tnum tnum_range(u64 min, u64 max) in tnum_range()
38 struct tnum tnum_lshift(struct tnum
[all...]
H A DMakefile9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o cnum.o log.o token.o liveness.o const_fold.o diagnostics.o loops.o scev.o
H A Dverifier.c2258 static struct cnum32 cnum32_from_tnum(struct tnum tnum) in mark_btf_ld_reg()
2260 tnum = tnum_subreg(tnum); in mark_btf_ld_reg()
2261 if ((tnum.mask & S32_MIN) || (tnum.value & S32_MIN)) in mark_btf_ld_reg()
2264 return cnum32_from_srange(tnum.value | (tnum.mask & S32_MIN), in mark_btf_ld_reg()
2265 tnum.value | (tnum in mark_btf_ld_reg()
2018 cnum32_from_tnum(struct tnum tnum) cnum32_from_tnum() argument
2030 cnum64_from_tnum(struct tnum tnum) cnum64_from_tnum() argument
[all...]
H A Dlog.c546 int tnum_strn(char *str, size_t size, struct tnum a) in tnum_strn()
548 /* print as a constant, if tnum is fully known */ in tnum_strn()
H A Ddiagnostics.c109 struct tnum var_off;
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubio.h456 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
/linux/drivers/dma/
H A Duniphier-xdmac.c137 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()
/linux/arch/mips/include/asm/xtalk/
H A Dxwidget.h239 unsigned tnum:5; member
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman.c558 u8 __maybe_unused tnum, in fman_bus_error() argument
1257 u8 tnum, port_id, relative_port_id; in dma_err_event() local
1290 tnum = (u8)((com_id & DMA_TRANSFER_TNUM_MASK) >> in dma_err_event()
1293 ret = fman->bus_error_cb(fman, relative_port_id, addr, tnum, in dma_err_event()
/linux/arch/mips/include/asm/pci/
H A Dbridge.h278 tnum:5, /* Trans Number */ member
/linux/
H A DMAINTAINERS5075 F: include/linux/tnum.h
5080 F: kernel/bpf/tnum.c