Home
last modified time | relevance | path

Searched +full:256 +full:k (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/linux/lib/raid6/
H A Dmktables.c55 int i, j, k; in main() local
57 uint8_t exptbl[256], invtbl[256]; in main()
65 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
66 "raid6_gfmul[256][256] =\n" in main()
68 for (i = 0; i < 256; i++) { in main()
70 for (j = 0; j < 256; j += 8) { in main()
72 for (k = 0; k < 8; k++) in main()
73 printf("0x%02x,%c", gfmul(i, j + k), in main()
74 (k == 7) ? '\n' : ' '); in main()
84 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
[all …]
/linux/arch/powerpc/include/asm/
H A Dpage.h19 * On regular PPC32 page size is 4K (but we support 4K/16K/64K/256K pages
20 * on PPC44x and 4K/16K on 8xx). For PPC64 we support either 4K or 64K software
21 * page size. When using 64K pages however, whether we are really supporting
22 * 64K pages in HW or not is irrelevant to those definitions.
33 #define HPAGE_SHIFT 19 /* 512k pages */
128 * virtual_base = ALIGN_DOWN(KERNELBASE,256M) +
129 * MODULO(_stext.run,256M)
132 * ALIGN_DOWN(_stext.run,256M) => ALIGN_DOWN(KERNELBASE,256M)
166 * = ALIGN_DOWN(KERNELBASE,256M) +
167 * MODULO(PHYSICAL_START,256M)
[all …]
H A Dhighmem.h39 * We use one full pte table with 4K pages. And with 16K/64K/256K pages pte
42 * in case of 16K/64K/256K page sizes.
/linux/tools/thermal/tmon/
H A Dsysfs.c89 ret = fscanf(fd, "%256s", str); in sysfs_get_string()
124 char filename[256]; in get_trip_point_data()
125 char temp_str[256]; in get_trip_point_data()
202 char cdev_name_linked[256]; in find_tzone_cdev()
284 char tz_name[256]; in scan_tzones()
285 int i, j, n, k = 0; in scan_tzones() local
292 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
304 sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); in scan_tzones()
305 ptdata.tzi[k].instance = i; in scan_tzones()
308 ptdata.tzi[k].nr_cdev = 0; in scan_tzones()
[all …]
/linux/kernel/trace/
H A Dpid_list.h17 * array of 256 pointers (1 or 2K in size) to "upper_chunk" unions, where
18 * each has an array of 256 pointers (1 or 2K in size) to the "lower_chunk"
19 * structures, where each has an array of size 2K bytes representing a bitmask
20 * of the 14 LSB of the PID (256 * 8 = 2048)
22 * When a trace_pid_list is allocated, it includes the 256 pointer array
37 * bitmask (made up of 2K bytes).
70 unsigned long data[LOWER_SIZE]; // 2K in size
75 union lower_chunk *data[UPPER2_SIZE]; // 1 or 2K in size
81 union upper_chunk *upper[UPPER1_SIZE]; // 1 or 2K in size
/linux/include/uapi/linux/
H A Dkeyboard.h20 #define NR_KEYS 256
21 #define MAX_NR_KEYMAPS 256
24 #define MAX_NR_OF_USER_KEYMAPS 256 /* should be at least 7 */
27 #define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */
45 #define K(t,v) (((t)<<8)|(v)) macro
49 #define K_F1 K(KT_FN,0)
50 #define K_F2 K(KT_FN,1)
51 #define K_F3 K(KT_FN,2)
52 #define K_F4 K(KT_FN,3)
53 #define K_F5 K(KT_FN,4)
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dnvidia,tegra194-pcie.yaml161 a) speed is Gen-2 and MPS is 256B
268 reg = <0x0 0x14180000 0x0 0x00020000>, /* appl registers (128K) */
269 <0x0 0x38000000 0x0 0x00040000>, /* configuration space (256K) */
270 <0x0 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
271 <0x0 0x38080000 0x0 0x00040000>; /* DBI reg space (256K) */
334 reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K) */
335 <0x00 0x36000000 0x0 0x00040000>, /* configuration space (256K) */
336 <0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
337 <0x00 0x36080000 0x0 0x00040000>, /* DBI reg space (256K) */
338 <0x24 0x30000000 0x0 0x10000000>; /* ECAM (256MB) */
/linux/arch/microblaze/include/asm/
H A Dhighmem.h36 * We use one full pte table with 4K pages. And with 16K/64K/256K pages pte
39 * in case of 16K/64K/256K page sizes.
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_resize.sh63 …if ! conntrack -I -s \$((\$RANDOM%256)).\$((\$RANDOM%256)).\$((\$RANDOM%256)).\$((\$RANDOM%255+1))…
64 -d \$((\$RANDOM%256)).\$((\$RANDOM%256)).\$((\$RANDOM%256)).\$((\$RANDOM%255+1)) \
137 local k=0
140 j=$((j%256))
141 k=$((k%256))
144 "j=$j k=$k; for i in \$(seq 1 254); do ping -q -c 1 127.\$k.\$j.\$i & done; wait" >/dev/null 2>&1
148 if [ $j -eq 256 ];then
149 k=$((k+1))
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h12 #define I40E_DEFAULT_IRQ_WORK 256
101 #define I40E_RXBUFFER_256 256
110 * we could have is 1K.
122 * use a 2K buffer for receives and need 1536/1534 to store the data for
127 * Note: For cache line sizes 256 or larger this value is going to end
149 /* If a 2K buffer cannot handle a standard Ethernet frame then in i40e_skb_pad()
150 * optimize padding for a 3K buffer instead of a 1.5K buffer. in i40e_skb_pad()
152 * For a 3K buffer we need to add enough padding to allow for in i40e_skb_pad()
205 /* The size limit for a transmit buffer in a descriptor is (16K - 1).
207 * the nearest 4K which represents our maximum read request size.
[all …]
/linux/tools/power/x86/intel-speed-select/
H A Disst-display.c88 static char delimiters[256]; in format_and_print_txt()
115 static char delimiters[256]; in format_and_print()
147 int k = 0; in format_and_print() local
150 k += snprintf(&delimiters[k], in format_and_print()
151 sizeof(delimiters) - k, in format_and_print()
171 char header[256]; in print_package_info()
221 static char header[256]; in _isst_pbf_display_information()
267 char header[256]; in _isst_fact_display_information()
268 char value[256]; in _isst_fact_display_information()
341 char value[256]; in isst_ctdp_display_core_info()
[all …]
/linux/drivers/isdn/mISDN/
H A Ddsp_audio.c21 s32 dsp_audio_ulaw_to_s32[256];
23 s32 dsp_audio_alaw_to_s32[256];
33 u8 dsp_audio_alaw_to_ulaw[256];
35 static u8 dsp_audio_ulaw_to_alaw[256];
107 static int exp_lut[256] = { in linear2ulaw()
144 for (i = 0; i < 256; i++) in dsp_audio_generate_law_tables()
147 for (i = 0; i < 256; i++) in dsp_audio_generate_law_tables()
150 for (i = 0; i < 256; i++) { in dsp_audio_generate_law_tables()
184 u8 dsp_audio_law2seven[256];
193 int i, j, k; in dsp_audio_generate_seven() local
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Dunstriped.rst48 CHUNK=256
87 The current LBA model has a RAID 0 128k chunk on each core, resulting
88 in a 256k stripe across the two cores::
93 | LBA 0 | | LBA 256|
118 dmsetup create nvmset0 --table '0 512 unstriped 2 256 0 /dev/nvme0n1 0'
119 dmsetup create nvmset1 --table '0 512 unstriped 2 256 1 /dev/nvme0n1 0'
127 unstriped on top of striped with 4 drives using 128K chunk size
132 dmsetup create raid_disk0 --table '0 512 unstriped 4 256 0 /dev/mapper/striped 0'
133 dmsetup create raid_disk1 --table '0 512 unstriped 4 256 1 /dev/mapper/striped 0'
134 dmsetup create raid_disk2 --table '0 512 unstriped 4 256 2 /dev/mapper/striped 0'
[all …]
/linux/arch/powerpc/
H A DKconfig39 # consume "normal" amounts of address space. Book3S 64 only supports 64K
40 # and 4K page sizes.
41 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K)
42 default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K)
46 # of address space (2^44). Only 4K page sizes are supported.
47 default 32 if 64BIT # 32 = 44 (16T) - 12 (4K)
54 default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K)
55 default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K)
63 default 11 if PPC_256K_PAGES # 11 = 29 (512MB) - 18 (256K)
64 default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K)
[all …]
/linux/tools/testing/kunit/test_data/
H A Dtest_is_test_passed-no_tests_run_no_header.log11 PID hash table entries: 256 (order: -1, 2048 bytes)
14 Memory: 27868K/56932K available (1681K kernel code, 480K rwdata, 400K rodata, 89K init, 205K bss, 2…
26 futex hash table entries: 256 (order: 0, 6144 bytes)
H A Dtest_output_isolated_correctly.log3 Kernel command line: mem=256M root=98:0
6 Memory: 254468K/283500K available (1734K kernel code, 489K rwdata, 396K rodata, 85K init, 216K bss,…
51 futex hash table entries: 256 (order: 0, 6144 bytes)
/linux/drivers/s390/char/
H A Dkeyboard.c56 'k', /* dead_ogonek */
158 int i, j, k; in kbd_ascebc() local
160 memset(ascebc, 0x40, 256); in kbd_ascebc()
166 k = ((i & 1) << 7) + j; in kbd_ascebc()
170 ascebc[KVAL(keysym)] = k; in kbd_ascebc()
172 ascebc[ret_diacr[KVAL(keysym)]] = k; in kbd_ascebc()
185 int i, j, k;
187 memset(ebcasc, ' ', 256);
194 k = ((i & 1) << 7) + j;
197 ebcasc[k] = KVAL(keysym);
[all …]
/linux/lib/crypto/
H A Darc4.c16 int i, j = 0, k = 0; in arc4_setkey() local
21 for (i = 0; i < 256; i++) in arc4_setkey()
24 for (i = 0; i < 256; i++) { in arc4_setkey()
27 j = (j + in_key[k] + a) & 0xff; in arc4_setkey()
30 if (++k >= key_len) in arc4_setkey()
31 k = 0; in arc4_setkey()
H A Dgf128mul.c130 static const u16 gf128mul_table_le[256] = gf128mul_dat(xda_le);
131 static const u16 gf128mul_table_be[256] = gf128mul_dat(xda_be);
229 /* This version uses 64k bytes of table space.
233 the 256 16 byte values that result from the 256 values
246 int i, j, k; in gf128mul_init_64k_bbe() local
266 for (j = 2; j < 256; j += j) in gf128mul_init_64k_bbe()
267 for (k = 1; k < j; ++k) in gf128mul_init_64k_bbe()
268 be128_xor(&t->t[i]->t[j + k], in gf128mul_init_64k_bbe()
269 &t->t[i]->t[j], &t->t[i]->t[k]); in gf128mul_init_64k_bbe()
308 /* This version uses 4k bytes of table space.
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234.dtsi58 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
3570 snps,blen = <256 128 64 32>;
3612 snps,blen = <256 128 64 32>;
3654 snps,blen = <256 128 64 32>;
4456 reg = <0x00 0x140a0000 0x0 0x00020000>, /* appl registers (128K) */
4457 <0x00 0x2a000000 0x0 0x00040000>, /* configuration space (256K) */
4458 <0x00 0x2a040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
4459 <0x00 0x2a080000 0x0 0x00040000>, /* DBI reg space (256K) */
4460 <0x35 0x30000000 0x0 0x10000000>; /* ECAM (256MB) */
4510 reg = <0x00 0x140c0000 0x0 0x00020000>, /* appl registers (128K) */
[all …]
/linux/drivers/media/usb/pwc/
H A Dpwc-dec23.c60 for (i = 0; i < 256; i++) { in build_subblock_pattern()
77 for (byte = 0; byte < 256; byte++) { in build_bit_powermask_table()
90 unsigned char p8004[16][256]) in build_table_color() argument
92 int compression_mode, j, k, bit, pw; in build_table_color() local
104 for (k = 0; k < 16; k++) { in build_table_color()
105 if (k == 0) in build_table_color()
107 else if (k >= 1 && k < 3) in build_table_color()
109 else if (k >= 3 && k < 6) in build_table_color()
111 else if (k >= 6 && k < 10) in build_table_color()
113 else if (k >= 10 && k < 13) in build_table_color()
[all …]
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h34 #define RBDR_SIZE0 0ULL /* 8K entries */
35 #define RBDR_SIZE1 1ULL /* 16K entries */
36 #define RBDR_SIZE2 2ULL /* 32K entries */
37 #define RBDR_SIZE3 3ULL /* 64K entries */
38 #define RBDR_SIZE4 4ULL /* 126K entries */
39 #define RBDR_SIZE5 5ULL /* 256K entries */
40 #define RBDR_SIZE6 6ULL /* 512K entries */
42 #define SND_QUEUE_SIZE0 0ULL /* 1K entries */
43 #define SND_QUEUE_SIZE1 1ULL /* 2K entries */
44 #define SND_QUEUE_SIZE2 2ULL /* 4K entries */
[all …]
/linux/drivers/net/ethernet/alacritech/
H A Dslic.h135 * Buffers are 256 bytes long on 256-byte boundaries.
139 * 4 sets of registers; Buffers are 2K bytes long 2 per 4K page.
250 #define SLIC_NUM_RX_LES 256
252 #define SLIC_RX_BUFF_ALIGN 256
256 #define SLIC_NUM_TX_DESCS 256
263 #define SLIC_STATS_DESC_ALIGN 256
332 __le16 dram_size2pci; /* 15 DRAM size to PCI (bytes * 64K) */
333 __le16 rom_size2pci; /* 16 ROM extension size to PCI (bytes * 4k) */
337 __le16 dram_size; /* 19 DRAM size (bytes * 64k) */
377 __le16 flash_size; /* 14 Flash size (bytes / 4K) */
[all …]
/linux/Documentation/translations/zh_CN/infiniband/
H A Duser_mad.rst54 一个struct ib_user_mad + 256字节。比如说:
62 mad = malloc(sizeof *mad + 256);
63 ret = read(fd, mad, sizeof *mad + 256);
64 if (ret != sizeof mad + 256) {
72 mad = malloc(sizeof *mad + 256);
73 ret = read(fd, mad, sizeof *mad + 256);
148 KERNEL=="umad*", NAME="infiniband/%k"
149 KERNEL=="issm*", NAME="infiniband/%k"
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.h10 #define IAVF_DEFAULT_IRQ_WORK 256
111 /* The size limit for a transmit buffer in a descriptor is (16K - 1).
113 * the nearest 4K which represents our maximum read request size.
124 * Due to hardware alignment restrictions (4K alignment), we need to
125 * assume that we can have no more than 12K of data per descriptor, even
126 * though each descriptor can take up to 16K - 1 bytes of aligned memory.
127 * Thus, we need to divide by 12K. But division is slow! Instead,
131 * To divide by 12K, we first divide by 4K, then divide by 3:
132 * To divide by 4K, shift right by 12 bits
133 * To divide by 3, multiply by 85, then divide by 256
[all …]

12345678910>>...42