/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_transport_access_macros.h | 35 #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 D | 0001-asm-Delete-.func-.endfunc-directives.patch | 35 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 D | binfmt_script.py | 14 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-2) [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 26 #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_READ | PROT_WRITE, in test_holes() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-roccat-common.h | 47 #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 …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | load_align.c | 62 #define TEST_io(NAME, SZ, SIZE, EXP1, EXP2, EXP3, EXP4) \ argument 66 LOAD_io_##SZ(result, buf, 0 * (SIZE)); \ 68 LOAD_io_##SZ(result, buf, 1 * (SIZE)); \ 70 LOAD_io_##SZ(result, buf, 2 * (SIZE)); \ 72 LOAD_io_##SZ(result, buf, 3 * (SIZE)); \ 131 #define TEST_ap(NAME, SZ, SIZE, RES1, RES2, RES3, RES4) \ argument 136 LOAD_ap_##SZ(result, ptr, (buf + 0 * (SIZE))); \ 138 checkp(ptr, &buf[0 * (SIZE)]); \ 139 LOAD_ap_##SZ(result, ptr, (buf + 1 * (SIZE))); \ 141 checkp(ptr, &buf[1 * (SIZE)]); \ [all …]
|
H A D | load_unpack.c | 65 #define TEST_io(NAME, TYPE, SIGN, SIZE, EXT, EXP1, EXP2, EXP3, EXP4) \ argument 70 BxW_LOAD_io_##SIGN(result, buf, 0 * (SIZE)); \ 72 BxW_LOAD_io_##SIGN(result, buf, 1 * (SIZE)); \ 74 BxW_LOAD_io_##SIGN(result, buf, 2 * (SIZE)); \ 76 BxW_LOAD_io_##SIGN(result, buf, 3 * (SIZE)); \ 145 #define TEST_ap(NAME, TYPE, SIGN, SIZE, EXT, RES1, RES2, RES3, RES4) \ argument 151 BxW_LOAD_ap_##SIGN(result, ptr, (buf + 0 * (SIZE))); \ 153 checkp(ptr, &buf[0 * (SIZE)]); \ 154 BxW_LOAD_ap_##SIGN(result, ptr, (buf + 1 * (SIZE))); \ 156 checkp(ptr, &buf[1 * (SIZE)]); \ [all …]
|
H A D | brev.c | 27 #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}; 32 uint8_t bbuf[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++) { \ [all …]
|
H A D | circ.c | 69 #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 164 " mem" #SIZE "(%0++#" #INC ":circ(M0)) = r5.new\n\t" \ 176 #define CIRC_STORE_REG(SIZE, PART, VAL, ADDR, START, LEN, INC) \ argument 181 "mem" #SIZE "(%0++I:circ(M1)) = %3" PART "\n\t" \ [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | parallels-checks | 44 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/linux/tools/testing/selftests/powerpc/stringloops/ |
H A D | strlen.c | 8 #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/linux/samples/bpf/ |
H A D | bpf_insn.h | 109 #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/u-boot/test/env/ |
H A D | hashtable.c | 14 #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/tools/include/linux/ |
H A D | filter.h | 134 #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, \ 187 #define BPF_ATOMIC_OP(SIZE, OP, DST, SRC, OFF) \ argument 189 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \ [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | hugetlb_vs_thp_test.c | 9 #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 D | prot_sao.c | 16 #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/qemu/scripts/coccinelle/ |
H A D | memory-region-housekeeping.cocci | 75 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/qemu/tests/qemu-iotests/ |
H A D | 191.out | 123 "actual-size": SIZE, 131 "actual-size": SIZE, 162 "actual-size": SIZE, 192 "actual-size": SIZE, 200 "actual-size": SIZE, 231 "actual-size": SIZE, 261 "actual-size": SIZE, 269 "actual-size": SIZE, 300 "actual-size": SIZE, 329 "actual-size": SIZE, [all …]
|
H A D | 273.out | 32 "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,
|
H A D | 267.out | 37 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 48 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 73 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 98 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 109 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 123 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 138 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 149 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 156 1 snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- 170 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 -- [all …]
|
/openbmc/linux/lib/ |
H A D | test_hash.c | 142 #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 D | bb-matrix-plot.sh | 24 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 D | macros.h | 83 #define CHECK_NOSHUF(VA, SIZE) \ argument 86 probe_noshuf_load(VA, SIZE, ctx->mem_idx); \ 91 #define CHECK_NOSHUF_PRED(GET_EA, SIZE, PRED) \ argument 97 probe_noshuf_load(EA, SIZE, ctx->mem_idx); \ 518 #define fLOAD(NUM, SIZE, SIGN, EA, DST) MEM_LOAD##SIZE##SIGN(DST, EA) argument 525 #define fLOAD(NUM, SIZE, SIGN, EA, DST) \ argument 527 check_noshuf(env, pkt_has_store_s1, slot, EA, SIZE, GETPC()); \ 528 DST = (size##SIZE##SIGN##_t)MEM_LOAD##SIZE(env, EA, GETPC()); \ 532 #define fMEMOP(NUM, SIZE, SIGN, EA, FNTYPE, VALUE) argument 546 #define fLOAD_LOCKED(NUM, SIZE, SIGN, EA, DST) \ argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | nbio_v7_0.c | 78 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()
|
H A D | nbio_v7_7.c | 78 SIZE, doorbell_size); in nbio_v7_7_sdma_doorbell_range() 82 SIZE, 0); in nbio_v7_7_sdma_doorbell_range() 99 GDC0_BIF_VCN0_DOORBELL_RANGE, SIZE, 8); in nbio_v7_7_vcn_doorbell_range() 102 GDC0_BIF_VCN0_DOORBELL_RANGE, SIZE, 0); in nbio_v7_7_vcn_doorbell_range() 157 GDC0_BIF_IH_DOORBELL_RANGE, SIZE, in nbio_v7_7_ih_doorbell_range() 161 GDC0_BIF_IH_DOORBELL_RANGE, SIZE, in nbio_v7_7_ih_doorbell_range()
|