Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 - 25 of 121) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_access_macros.h35 #define ADF_MSG_SIZE_TO_BYTES(SIZE) (SIZE << 5)
36 #define ADF_BYTES_TO_MSG_SIZE(SIZE) (SIZE >> 5)
37 #define ADF_SIZE_TO_RING_SIZE_IN_BYTES(SIZE) ((1 << (SIZE - 1)) << 7)
38 #define ADF_RING_SIZE_IN_BYTES_TO_SIZE(SIZE) ((1 << (SIZE - 1)) >> 7)
41 #define ADF_RING_SIZE_BYTES_MIN(SIZE) \
42 ((SIZE < ADF_SIZE_TO_RING_SIZE_IN_BYTE
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dbinfmt_script.py14 SIZE=256 variable
111 test(name="too-big", size=SIZE+80, good=False)
113 test(name="exact", size=SIZE, good=False)
115 test(name="exact-space", size=SIZE, good=False, leading=" ")
117 test(name="whitespace-too-big", size=SIZE+71, good=False, root="",
120 test(name="truncated", size=SIZE+17, good=False, leading=" " * 19)
125 test(name="spaces", size=SIZE-1, good=False, root="", fill=" ",
128 test(name="newline-prefix", size=SIZE-1, good=False, leading="\n",
139 test(name="one-under", size=SIZE-1)
141 test(name="two-under", size=SIZE
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dmadv_populate.c26 #define SIZE (2 * 1024 * 1024) macro
58 addr = mmap(0, SIZE, PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_prot_read()
62 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_read()
65 ret = madvise(addr, SIZE, MADV_POPULATE_WRITE); in test_prot_read()
69 munmap(addr, SIZE); in test_prot_read()
79 addr = mmap(0, SIZE, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_prot_write()
83 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_write()
87 ret = madvise(addr, SIZE, MADV_POPULATE_WRITE); in test_prot_write()
90 munmap(addr, SIZE); in test_prot_write()
100 addr = mmap(0, SIZE, PROT_REA in test_holes()
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-common.h47 #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \
53 SIZE, COMMAND); \
56 #define ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) \
62 SIZE, COMMAND); \
65 #define ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE) \
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) \
70 ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \
73 .size = SIZE, \
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-roccat-common.h47 #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \
53 SIZE, COMMAND); \
56 #define ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE) \
62 SIZE, COMMAND); \
65 #define ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE) \
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) \
70 ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \
73 .size = SIZE, \
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_transport_access_macros.h52 #define ADF_MSG_SIZE_TO_BYTES(SIZE) (SIZE << 5)
53 #define ADF_BYTES_TO_MSG_SIZE(SIZE) (SIZE >> 5)
54 #define ADF_SIZE_TO_RING_SIZE_IN_BYTES(SIZE) ((1 << (SIZE - 1)) << 7)
55 #define ADF_RING_SIZE_IN_BYTES_TO_SIZE(SIZE) ((1 << (SIZE - 1)) >> 7)
58 #define ADF_RING_SIZE_BYTES_MIN(SIZE) \
59 ((SIZE < ADF_SIZE_TO_RING_SIZE_IN_BYTE
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
H A 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()
H A Dmemcmp.c10 #define SIZE 256 macro
80 comp_size = (islarge ? LARGE_SIZE : SIZE); in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
147 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/
H A 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()
H A Dmemcmp.c10 #define SIZE 256 macro
80 comp_size = (islarge ? LARGE_SIZE : SIZE); in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
147 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
/kernel/linux/linux-6.6/samples/bpf/
H A Dbpf_insn.h109 #define BPF_LD_ABS(SIZE, IMM) \
111 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
119 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \
121 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
129 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \
131 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
152 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \
154 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
161 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) BPF_ATOMIC_OP(SIZE, BPF_AD
[all...]
H A Dtracex2_user.c40 #define SIZE sizeof(struct task) macro
55 if (memcmp(&next_key, task, SIZE)) { in print_hist_for_pid()
93 if (memcmp(&tasks[i], &next_key, SIZE) == 0) in print_hist()
96 memcpy(&tasks[task_cnt++], &next_key, SIZE); in print_hist()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
H A 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()
49 * getcwd(p, SIZE); in test_body()
57 munmap(addr, SIZE); in test_body()
H A Dprot_sao.c16 #define SIZE (64 * 1024) macro
35 p = mmap(NULL, SIZE, PROT_READ | PROT_WRITE | PROT_SAO, in test_prot_sao()
40 memset(p, 0xaa, SIZE); in test_prot_sao()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A 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()
49 * getcwd(p, SIZE); in test_body()
57 munmap(addr, SIZE); in test_body()
H A Dprot_sao.c16 #define SIZE (64 * 1024) macro
35 p = mmap(NULL, SIZE, PROT_READ | PROT_WRITE | PROT_SAO, in test_prot_sao()
40 memset(p, 0xaa, SIZE); in test_prot_sao()
/kernel/liteos_m/components/dynlink/script/
H A Dso_parse36 SIZE=0x0
55 SIZE=`parse_line "${line}"`
56 SIZE=`echo ${SIZE}`
57 SIZE_ALL=$((SIZE_ALL+SIZE))
/kernel/linux/linux-5.10/arch/mips/net/
H A Dbpf_jit_asm.S53 #define is_offset_in_header(SIZE, TYPE) \
55 addiu $r_s0, $r_skb_hl, -SIZE; \
140 #define DS_OFFSET(SIZE) (4 * SZREG)
142 #define DS_OFFSET(SIZE) ((4 * SZREG) + (4 - SIZE))
144 #define bpf_slow_path_common(SIZE) \
146 LONG_ADDIU $r_s1, $r_skb_len, -SIZE; \
150 LONG_ADDIU a3, zero, SIZE; \
155 PTR_ADDIU a2, $r_sp, DS_OFFSET(SIZE); \
244 #define bpf_negative_common(SIZE) \
[all...]
/kernel/linux/linux-6.6/tools/include/linux/
H A Dfilter.h134 #define BPF_LD_ABS(SIZE, IMM) \
136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
144 #define BPF_LD_IND(SIZE, SRC, IMM) \
146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
154 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \
156 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
164 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \
166 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
187 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \
189 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMI
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dbpf_insn.h109 #define BPF_LD_ABS(SIZE, IMM) \
111 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
119 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \
121 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
129 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \
131 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
139 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) \
141 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XADD, \
149 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \
151 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_ME
[all...]
H A Dtracex2_user.c41 #define SIZE sizeof(struct task) macro
56 if (memcmp(&next_key, task, SIZE)) { in print_hist_for_pid()
94 if (memcmp(&tasks[i], &next_key, SIZE) == 0) in print_hist()
97 memcpy(&tasks[task_cnt++], &next_key, SIZE); in print_hist()
/kernel/linux/linux-5.10/tools/include/linux/
H A Dfilter.h134 #define BPF_LD_ABS(SIZE, IMM) \
136 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
144 #define BPF_LD_IND(SIZE, SRC, IMM) \
146 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
154 #define BPF_LDX_MEM(SIZE, DST, SRC, OFF) \
156 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
164 #define BPF_STX_MEM(SIZE, DST, SRC, OFF) \
166 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
174 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) \
176 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XAD
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_hash.c142 #define SIZE 256 /* Run time is cubic in SIZE */ macro
146 char buf[SIZE+1]; in test_string_or()
150 fill_buf(buf, SIZE, 1); in test_string_or()
153 for (j = SIZE; j > 0; --j) { in test_string_or()
171 char buf[SIZE+1]; in test_hash_or()
176 fill_buf(buf, SIZE, 1); in test_hash_or()
179 for (j = SIZE; j > 0; --j) { in test_hash_or()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dnbio_v7_0.c78 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, doorbell_size); in nbio_v7_0_sdma_doorbell_range()
80 doorbell_range = REG_SET_FIELD(doorbell_range, BIF_SDMA0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_0_sdma_doorbell_range()
97 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 8); in nbio_v7_0_vcn_doorbell_range()
100 BIF_MMSCH0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_0_vcn_doorbell_range()
124 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 2); in nbio_v7_0_ih_doorbell_range()
126 ih_doorbell_range = REG_SET_FIELD(ih_doorbell_range, BIF_IH_DOORBELL_RANGE, SIZE, 0); in nbio_v7_0_ih_doorbell_range()
/kernel/linux/linux-5.10/lib/
H A 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()

Completed in 8 milliseconds

12345