Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dtnum.h14 struct tnum { struct
21 struct tnum tnum_const(u64 value);
23 extern const struct tnum tnum_unknown;
30 struct tnum tnum_range(u64 min, u64 max);
34 struct tnum tnum_lshift(struct tnum a, u8 shift);
36 struct tnum tnum_rshift(struct tnum a, u8 shift);
38 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness);
40 struct tnum tnum_add(struct tnum a, struct tnum b);
42 struct tnum tnum_sub(struct tnum a, struct tnum b);
44 struct tnum tnum_neg(struct tnum a);
[all …]
H A Dbpf_verifier.h119 struct tnum var_off;
/linux/kernel/bpf/
H A Dtnum.c13 #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 a, u8 shift) in tnum_lshift()
43 struct tnum tnum_rshift(struct tnum a, u8 shift) in tnum_rshift()
48 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness) in tnum_arshift()
63 struct tnum tnum_add(struct tnum a, struct tnum b) in tnum_add()
75 struct tnum tnum_sub(struct tnum a, struct tnum b) in tnum_sub()
87 struct tnum tnum_neg(struct tnum a) in tnum_neg()
[all …]
H A DMakefile9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o cnum.o log.o token.o liv…
H A Dverifier.c2018 static struct cnum32 cnum32_from_tnum(struct tnum tnum) in cnum32_from_tnum() argument
2020 tnum = tnum_subreg(tnum); in cnum32_from_tnum()
2021 if ((tnum.mask & S32_MIN) || (tnum.value & S32_MIN)) in cnum32_from_tnum()
2024 return cnum32_from_srange(tnum.value | (tnum.mask & S32_MIN), in cnum32_from_tnum()
2025 tnum.value | (tnum in cnum32_from_tnum()
2030 cnum64_from_tnum(struct tnum tnum) cnum64_from_tnum() argument
[all...]
H A Dlog.c538 int tnum_strn(char *str, size_t size, struct tnum a) 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 DMAINTAINERS4926 F: include/linux/tnum.h
4931 F: kernel/bpf/tnum.c