Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 25 of 55) sorted by relevance

123

/Linux-v5.4/drivers/hid/
Dhid-roccat-common.h47 #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ argument
53 SIZE, COMMAND); \
56 #define ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) \ argument
62 SIZE, COMMAND); \
65 #define ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE) \ argument
66 ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \
67 ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE)
69 #define ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(thingy, COMMAND, SIZE) \ argument
70 ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \
73 .size = SIZE, \
[all …]
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_transport_access_macros.h96 #define ADF_MSG_SIZE_TO_BYTES(SIZE) (SIZE << 5) argument
97 #define ADF_BYTES_TO_MSG_SIZE(SIZE) (SIZE >> 5) argument
98 #define ADF_SIZE_TO_RING_SIZE_IN_BYTES(SIZE) ((1 << (SIZE - 1)) << 7) argument
99 #define ADF_RING_SIZE_IN_BYTES_TO_SIZE(SIZE) ((1 << (SIZE - 1)) >> 7) argument
102 #define ADF_RING_SIZE_BYTES_MIN(SIZE) \ argument
103 ((SIZE < ADF_SIZE_TO_RING_SIZE_IN_BYTES(ADF_RING_SIZE_4K)) ? \
104 ADF_SIZE_TO_RING_SIZE_IN_BYTES(ADF_RING_SIZE_4K) : SIZE)
105 #define ADF_RING_SIZE_MODULO(SIZE) (SIZE + 0x6) argument
106 #define ADF_SIZE_TO_POW(SIZE) ((((SIZE & 0x4) >> 1) | ((SIZE & 0x4) >> 2) | \ argument
107 SIZE) & ~0x4)
/Linux-v5.4/tools/testing/selftests/powerpc/stringloops/
Dstrlen.c8 #define SIZE 256 macro
19 for (offset = 0; offset < SIZE; offset++) { in test_one()
29 for (i = offset; i < SIZE; i++) in test_one()
56 s = memalign(128, SIZE); in testcase()
64 memset(s, 0, SIZE); in testcase()
65 for (i = 0; i < SIZE; i++) { in testcase()
78 for (j = 0; j < SIZE; j++) { in testcase()
87 s[SIZE - 1 - j] = 0; in testcase()
92 for (i = 0; i < SIZE; i++) { in testcase()
Dmemcmp.c8 #define SIZE 256 macro
75 unsigned long comp_size = (islarge ? LARGE_SIZE : SIZE); in testcase()
114 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
142 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
/Linux-v5.4/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c9 #define SIZE (16 * 1024 * 1024) macro
18 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body()
28 if (munmap(addr, SIZE)) { in test_body()
34 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body()
57 munmap(addr, SIZE); in test_body()
Dprot_sao.c15 #define SIZE (64 * 1024) macro
29 p = mmap(NULL, SIZE, PROT_READ | PROT_WRITE | PROT_SAO, in test_prot_sao()
34 memset(p, 0xaa, SIZE); in test_prot_sao()
/Linux-v5.4/samples/bpf/
Dbpf_insn.h109 #define BPF_LD_ABS(SIZE, IMM) \ argument
111 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
119 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \ argument
121 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
129 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \ argument
131 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
139 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) \ argument
141 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XADD, \
149 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \ argument
151 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
Dtracex2_user.c39 #define SIZE sizeof(struct task) macro
54 if (memcmp(&next_key, task, SIZE)) { in print_hist_for_pid()
92 if (memcmp(&tasks[i], &next_key, SIZE) == 0) in print_hist()
95 memcpy(&tasks[task_cnt++], &next_key, SIZE); in print_hist()
/Linux-v5.4/tools/include/linux/
Dfilter.h134 #define BPF_LD_ABS(SIZE, IMM) \ argument
136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
144 #define BPF_LD_IND(SIZE, SRC, IMM) \ argument
146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
154 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \ argument
156 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
164 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \ argument
166 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
174 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) \ argument
176 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XADD, \
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dnbio_v2_3.c84 BIF_SDMA0_DOORBELL_RANGE, SIZE, in nbio_v2_3_sdma_doorbell_range()
88 BIF_SDMA0_DOORBELL_RANGE, SIZE, in nbio_v2_3_sdma_doorbell_range()
106 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 8); in nbio_v2_3_vcn_doorbell_range()
109 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 0); in nbio_v2_3_vcn_doorbell_range()
155 BIF_IH_DOORBELL_RANGE, SIZE, in nbio_v2_3_ih_doorbell_range()
159 BIF_IH_DOORBELL_RANGE, SIZE, in nbio_v2_3_ih_doorbell_range()
Dnbio_v7_0.c87 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, doorbell_size); in nbio_v7_0_sdma_doorbell_range()
89 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_0_sdma_doorbell_range()
106 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 8); in nbio_v7_0_vcn_doorbell_range()
109 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_0_vcn_doorbell_range()
133 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 2); in nbio_v7_0_ih_doorbell_range()
135 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 0); in nbio_v7_0_ih_doorbell_range()
Dnbio_v7_4.c118 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, doorbell_size); in nbio_v7_4_sdma_doorbell_range()
120 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_4_sdma_doorbell_range()
143 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 8); in nbio_v7_4_vcn_doorbell_range()
146 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_4_vcn_doorbell_range()
183 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 2); in nbio_v7_4_ih_doorbell_range()
185 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 0); in nbio_v7_4_ih_doorbell_range()
Dnbio_v6_1.c80 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, doorbell_size); in nbio_v6_1_sdma_doorbell_range()
82 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, 0); in nbio_v6_1_sdma_doorbell_range()
122 BIF_IH_DOORBELL_RANGE, SIZE, 6); in nbio_v6_1_ih_doorbell_range()
124 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 0); in nbio_v6_1_ih_doorbell_range()
/Linux-v5.4/arch/x86/kernel/cpu/
Dmkcapflags.sh15 SIZE=$2
22 echo "const char * const $ARRAY[$SIZE] = {"
/Linux-v5.4/lib/
Dtest_hash.c141 #define SIZE 256 /* Run time is cubic in SIZE */ macro
146 char buf[SIZE+1]; in test_hash_init()
152 fill_buf(buf, SIZE, 1); in test_hash_init()
155 for (j = SIZE; j > 0; --j) { in test_hash_init()
/Linux-v5.4/tools/testing/selftests/netfilter/
Dnft_flowtable.sh201 SIZE=$((RANDOM % (1024 * 8)))
202 TSIZE=$((SIZE * 1024))
204 dd if=/dev/urandom of="$name" bs=1024 count=$SIZE 2> /dev/null
206 SIZE=$((RANDOM % 1024))
207 SIZE=$((SIZE + 128))
208 TSIZE=$((TSIZE + SIZE))
209 dd if=/dev/urandom conf=notrunc of="$name" bs=1 count=$SIZE 2> /dev/null
/Linux-v5.4/include/linux/
Dfilter.h220 #define BPF_LD_ABS(SIZE, IMM) \ argument
222 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
230 #define BPF_LD_IND(SIZE, SRC, IMM) \ argument
232 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
240 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \ argument
242 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
250 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \ argument
252 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
260 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) \ argument
262 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XADD, \
[all …]
/Linux-v5.4/scripts/
Dfaddr2line49 SIZE="${CROSS_COMPILE:-}size"
55 command -v ${SIZE} >/dev/null 2>&1 || die "size isn't installed"
114 file_end=$(${SIZE} -Ax $objfile | awk '$1 == ".text" {print $2}')
/Linux-v5.4/arch/powerpc/net/
Dbpf_jit_asm.S99 #define bpf_slow_path_common(SIZE) \ argument
110 li r6, SIZE; \
152 #define sk_negative_common(SIZE) \ argument
162 li r5, SIZE; \
/Linux-v5.4/tools/perf/Documentation/
Djit-interface.txt10 START SIZE symbolname
12 START and SIZE are hex numbers without 0x.
/Linux-v5.4/fs/coda/
Dupcall.c71 #define SIZE(tag) max_t(unsigned int, INSIZE(tag), OUTSIZE(tag)) macro
81 insize = SIZE(root); in venus_rootfid()
99 insize = SIZE(getattr); in venus_getattr()
118 insize = SIZE(setattr); in venus_setattr()
167 insize = SIZE(release); in venus_close()
187 insize = SIZE(open_by_fd); in venus_open()
446 insize=SIZE(fsync); in venus_fsync()
462 insize = SIZE(access); in venus_access()
517 error = coda_upcall(coda_vcp(sb), SIZE(ioctl) + data->vi.in_size, in venus_pioctl()
556 insize = SIZE(statfs); in venus_statfs()
[all …]
/Linux-v5.4/security/apparmor/include/
Dlabel.h51 #define vec_last(VEC, SIZE) ((VEC)[(SIZE) - 1]) argument
52 #define vec_ns(VEC, SIZE) (vec_last((VEC), (SIZE))->ns) argument
53 #define vec_labelset(VEC, SIZE) (&vec_ns((VEC), (SIZE))->labels) argument
/Linux-v5.4/arch/powerpc/include/asm/
Dsstep.h93 #define SIZE(n) ((n) << 12) macro
98 #define MKOP(t, f, s) ((t) | (f) | SIZE(s))
/Linux-v5.4/fs/jfs/
Djfs_btree.h54 #define BT_GETPAGE(IP, BN, MP, TYPE, SIZE, P, RC, ROOT)\ argument
64 MP = read_metapage((IP), BN, SIZE, 1);\
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_da_btree.h131 #define XFS_DA_LOGRANGE(BASE, ADDR, SIZE) \ argument
133 (uint)(XFS_DA_LOGOFF(BASE, ADDR)+(SIZE)-1)

123