Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_access_macros.h35 #define ADF_MSG_SIZE_TO_BYTES(SIZE) (SIZE << 5) argument
36 #define ADF_BYTES_TO_MSG_SIZE(SIZE) (SIZE >> 5) argument
37 #define ADF_SIZE_TO_RING_SIZE_IN_BYTES(SIZE) ((1 << (SIZE - 1)) << 7) argument
38 #define ADF_RING_SIZE_IN_BYTES_TO_SIZE(SIZE) ((1 << (SIZE - 1)) >> 7) argument
41 #define ADF_RING_SIZE_BYTES_MIN(SIZE) \ argument
42 ((SIZE < ADF_SIZE_TO_RING_SIZE_IN_BYTES(ADF_RING_SIZE_4K)) ? \
43 ADF_SIZE_TO_RING_SIZE_IN_BYTES(ADF_RING_SIZE_4K) : SIZE)
44 #define ADF_RING_SIZE_MODULO(SIZE) (SIZE + 0x6) argument
45 #define ADF_SIZE_TO_POW(SIZE) ((((SIZE & 0x4) >> 1) | ((SIZE & 0x4) >> 2) | \ argument
46 SIZE) & ~0x4)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/tinymembench/tinymembench/
H A D0001-asm-Delete-.func-.endfunc-directives.patch35 subs SIZE, SIZE, #64
43 subs SIZE, SIZE, #64
51 subs SIZE, SIZE, #64
59 subs SIZE, SIZE, #64
67 subs SIZE, SIZE, #64
75 subs SIZE, SIZE, #64
83 subs SIZE, SIZE, #64
91 subs SIZE, SIZE, #64
99 subs SIZE, SIZE, #64
107 subs SIZE, SIZE, #64
[all …]
/openbmc/linux/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)
139 test(name="one-under", size=SIZE-1)
141 test(name="two-under", size=SIZE-2)
143 test(name="exact-trunc-whitespace", size=SIZE, arg=" ")
145 test(name="exact-trunc-arg", size=SIZE, arg=" f")
147 test(name="one-under-full-arg", size=SIZE-1, arg=" f")
149 test(name="one-under-no-nl", size=SIZE-1, newline="")
153 test(name="one-under-trunc-arg", size=SIZE-1, arg=" ")
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmadv_populate.c26 #define SIZE (2 * 1024 * 1024) macro
62 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_read()
69 munmap(addr, SIZE); in test_prot_read()
83 ret = madvise(addr, SIZE, MADV_POPULATE_READ); in test_prot_write()
90 munmap(addr, SIZE); in test_prot_write()
100 addr = mmap(0, SIZE, PROT_READ | PROT_WRITE, in test_holes()
132 munmap(addr, SIZE); in test_holes()
170 addr = mmap(0, SIZE, PROT_READ | PROT_WRITE, in test_populate_read()
182 munmap(addr, SIZE); in test_populate_read()
204 munmap(addr, SIZE); in test_populate_write()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-roccat-common.h47 #define ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \ argument
53 SIZE, COMMAND); \
62 SIZE, COMMAND); \
66 ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE) \
67 ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE)
70 ROCCAT_COMMON2_SYSFS_RW(thingy, COMMAND, SIZE); \
73 .size = SIZE, \
79 ROCCAT_COMMON2_SYSFS_R(thingy, COMMAND, SIZE); \
82 .size = SIZE, \
87 ROCCAT_COMMON2_SYSFS_W(thingy, COMMAND, SIZE); \
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dload_align.c138 checkp(ptr, &buf[0 * (SIZE)]); \
141 checkp(ptr, &buf[1 * (SIZE)]); \
144 checkp(ptr, &buf[2 * (SIZE)]); \
147 checkp(ptr, &buf[3 * (SIZE)]); \
178 LOAD_pr_##SZ(result, ptr, (SIZE)); \
180 checkp(ptr, &buf[1 * (SIZE)]); \
181 LOAD_pr_##SZ(result, ptr, (SIZE)); \
183 checkp(ptr, &buf[2 * (SIZE)]); \
184 LOAD_pr_##SZ(result, ptr, (SIZE)); \
186 checkp(ptr, &buf[3 * (SIZE)]); \
[all …]
H A Dload_unpack.c153 checkp(ptr, &buf[0 * (SIZE)]); \
156 checkp(ptr, &buf[1 * (SIZE)]); \
159 checkp(ptr, &buf[2 * (SIZE)]); \
162 checkp(ptr, &buf[3 * (SIZE)]); \
198 BxW_LOAD_pr_##SIGN(result, ptr, (SIZE)); \
200 checkp(ptr, &buf[1 * (SIZE)]); \
201 BxW_LOAD_pr_##SIGN(result, ptr, (SIZE)); \
203 checkp(ptr, &buf[2 * (SIZE)]); \
204 BxW_LOAD_pr_##SIGN(result, ptr, (SIZE)); \
206 checkp(ptr, &buf[3 * (SIZE)]); \
[all …]
H A Dbrev.c27 #define SIZE (1 << NBITS) macro
29 int64_t dbuf[SIZE] __attribute__((aligned(1 << 16))) = {0};
30 int32_t wbuf[SIZE] __attribute__((aligned(1 << 16))) = {0};
31 int16_t hbuf[SIZE] __attribute__((aligned(1 << 16))) = {0};
115 for (int i = 0; i < SIZE; i++) { \
126 for (int i = 0; i < SIZE; i++) { \
129 for (int i = 0; i < SIZE; i++) { \
138 for (int i = 0; i < SIZE; i++) { \
141 for (int i = 0; i < SIZE; i++) { \
150 int high_half[SIZE];
[all …]
H A Dcirc.c69 #define CIRC_LOAD_IMM(SIZE, RES, ADDR, START, LEN, INC) \ in INIT() argument
74 "%0 = mem" #SIZE "(%1++#" #INC ":circ(M0))\n\t" \ in INIT()
106 #define CIRC_LOAD_REG(SIZE, RES, ADDR, START, LEN, INC) \ argument
111 "%0 = mem" #SIZE "(%1++I:circ(M1))\n\t" \
137 #define CIRC_STORE_IMM(SIZE, PART, VAL, ADDR, START, LEN, INC) \ argument
142 "mem" #SIZE "(%0++#" #INC ":circ(M0)) = %2" PART "\n\t" \
157 #define CIRC_STORE_NEW_IMM(SIZE, VAL, ADDR, START, LEN, INC) \ argument
176 #define CIRC_STORE_REG(SIZE, PART, VAL, ADDR, START, LEN, INC) \ argument
181 "mem" #SIZE "(%0++I:circ(M1)) = %3" PART "\n\t" \
198 #define CIRC_STORE_NEW_REG(SIZE, VAL, ADDR, START, LEN, INC) \ argument
[all …]
/openbmc/linux/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()
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dparallels-checks44 SIZE=$((4 * 1024 * 1024))
50 _make_test_img $SIZE
54 LAST_CLUSTER_OFF=$((SIZE - CLUSTER_SIZE))
60 { $QEMU_IO -c "write -P 0x11 0 $SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
70 _make_test_img $SIZE
97 _make_test_img $SIZE
102 { $QEMU_IO -c "write -P 0x11 0 $SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
136 _make_test_img $SIZE
141 { $QEMU_IO -c "write -P 0x11 0 $SIZE" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir
172 _make_test_img $SIZE
[all …]
/openbmc/u-boot/test/env/
H A Dhashtable.c14 #define SIZE 32 macro
94 ut_asserteq(1, hcreate_r(SIZE, &htab)); in env_test_htab_fill()
96 ut_assertok(htab_fill(uts, &htab, SIZE)); in env_test_htab_fill()
97 ut_assertok(htab_check_fill(uts, &htab, SIZE)); in env_test_htab_fill()
98 ut_asserteq(SIZE, htab.filled); in env_test_htab_fill()
114 ut_asserteq(1, hcreate_r(SIZE, &htab)); in env_test_htab_deletes()
116 ut_assertok(htab_fill(uts, &htab, SIZE / 2)); in env_test_htab_deletes()
118 ut_assertok(htab_check_fill(uts, &htab, SIZE / 2)); in env_test_htab_deletes()
119 ut_asserteq(SIZE / 2, htab.filled); in env_test_htab_deletes()
/openbmc/linux/samples/bpf/
H A 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, \
152 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \ argument
154 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
161 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) BPF_ATOMIC_OP(SIZE, BPF_ADD, DST, SRC, OFF) argument
165 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \ argument
[all …]
/openbmc/linux/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()
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()
/openbmc/linux/tools/include/linux/
H A 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, \
196 #define BPF_STX_XADD(SIZE, DST, SRC, OFF) BPF_ATOMIC_OP(SIZE, BPF_ADD, DST, SRC, OFF) argument
200 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \ argument
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D267.out36 ID TAG VM SIZE DATE VM CLOCK ICOUNT
37 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
47 ID TAG VM SIZE DATE VM CLOCK ICOUNT
48 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
72 ID TAG VM SIZE DATE VM CLOCK ICOUNT
73 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
97 ID TAG VM SIZE DATE VM CLOCK ICOUNT
98 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
108 ID TAG VM SIZE DATE VM CLOCK ICOUNT
109 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
[all …]
H A D191.out131 "actual-size": SIZE,
162 "actual-size": SIZE,
200 "actual-size": SIZE,
231 "actual-size": SIZE,
269 "actual-size": SIZE,
300 "actual-size": SIZE,
329 "actual-size": SIZE,
357 "actual-size": SIZE,
538 "actual-size": SIZE,
569 "actual-size": SIZE,
[all …]
H A D273.out32 "actual-size": SIZE,
40 "actual-size": SIZE,
50 "actual-size": SIZE,
81 "actual-size": SIZE,
110 "actual-size": SIZE,
118 "actual-size": SIZE,
149 "actual-size": SIZE,
177 "actual-size": SIZE,
/openbmc/qemu/scripts/coccinelle/
H A Dmemory-region-housekeeping.cocci75 expression SIZE;
78 -memory_region_init_ram_nomigrate(MR, NULL, NAME, SIZE, ERRP);
79 +memory_region_init_ram(MR, NULL, NAME, SIZE, ERRP);
85 expression SIZE;
88 -memory_region_init_rom_nomigrate(MR, NULL, NAME, SIZE, ERRP);
89 +memory_region_init_rom(MR, NULL, NAME, SIZE, ERRP);
97 expression SIZE;
100 -memory_region_init_rom_device_nomigrate(MR, NULL, OPS, OPAQUE, NAME, SIZE, ERRP);
101 +memory_region_init_rom_device(MR, NULL, OPS, OPAQUE, NAME, SIZE, ERRP);
/openbmc/linux/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()
/openbmc/openbmc/poky/scripts/contrib/bb-perf/
H A Dbb-matrix-plot.sh24 SIZE="640,480"
34 -s W,H PNG and window size in pixels (default: $SIZE)
56 SIZE="$OPTARG"
108 set term png size $SIZE
121 set term wxt size $SIZE
/openbmc/qemu/target/hexagon/
H A Dmacros.h86 #define CHECK_NOSHUF(VA, SIZE) \ argument
94 #define CHECK_NOSHUF_PRED(GET_EA, SIZE, PRED) \ argument
522 #define fLOAD(NUM, SIZE, SIGN, EA, DST) MEM_LOAD##SIZE##SIGN(DST, EA) argument
529 #define fLOAD(NUM, SIZE, SIGN, EA, DST) \ argument
532 DST = (size##SIZE##SIGN##_t)MEM_LOAD##SIZE(env, EA, GETPC()); \
536 #define fMEMOP(NUM, SIZE, SIGN, EA, FNTYPE, VALUE) argument
550 #define fLOAD_LOCKED(NUM, SIZE, SIGN, EA, DST) \ argument
555 #define fSTORE(NUM, SIZE, EA, SRC) MEM_STORE##SIZE(EA, SRC, insn->slot) argument
557 #define fSTORE(NUM, SIZE, EA, SRC) MEM_STORE##SIZE(EA, SRC, slot) argument
561 #define fSTORE_LOCKED(NUM, SIZE, EA, SRC, PRED) \ argument
[all …]
/openbmc/linux/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()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dmkcapflags.sh14 SIZE=$2
22 echo "const char * const $ARRAY[$SIZE] = {"

123456