/linux-master/arch/sparc/lib/ |
H A D | M7memset.S | 32 * For small 6 or fewer bytes stores, bytes will be stored. 34 * For less than 32 bytes stores, align the address on 4 byte boundary. 35 * Then store as many 4-byte chunks, followed by trailing bytes. 37 * For sizes greater than 32 bytes, align the address on 8 byte boundary. 39 * store 8-bytes chunks to align the address on 64 byte boundary 47 * ST_CHUNK cache lines (64 bytes each) before the main 51 * setting the other seven long words (56 bytes) of each 52 * cache line until fewer than ST_CHUNK*64 bytes remain. 57 * 64 bytes remai [all...] |
/linux-master/fs/crypto/ |
H A D | fname.c | 22 * The minimum message length (input and output length), in bytes, for all 37 * bytes), so we also need to use a strong hash to abbreviate long names. 50 * didn't provide one; up to 149 bytes of the ciphertext name; and for 51 * ciphertexts longer than 149 bytes, also the SHA-256 of the remaining bytes. 60 u8 bytes[149]; member in struct:fscrypt_nokey_name 62 }; /* 189 bytes => 252 bytes base64url-encoded, which is <= NAME_MAX (255) */ 105 * pad it with the needed number of NUL bytes. 193 * @srclen: the length of @src in bytes [all...] |
/linux-master/arch/mips/crypto/ |
H A D | poly1305-glue.c | 76 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); local 78 memcpy(dctx->buf + dctx->buflen, src, bytes); 79 src += bytes; 80 len -= bytes; 81 dctx->buflen += bytes; 106 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); local 108 memcpy(dctx->buf + dctx->buflen, src, bytes); 109 src += bytes; 110 nbytes -= bytes; 111 dctx->buflen += bytes; [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | poly1305-glue.c | 85 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); local 87 memcpy(dctx->buf + dctx->buflen, src, bytes); 88 src += bytes; 89 len -= bytes; 90 dctx->buflen += bytes; 129 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); local 131 memcpy(dctx->buf + dctx->buflen, src, bytes); 132 src += bytes; 133 nbytes -= bytes; 134 dctx->buflen += bytes; [all...] |
/linux-master/drivers/soc/fsl/ |
H A D | dpaa2-console.c | 196 size_t bytes = dpaa2_console_size(cd); local 208 if (count < bytes) 209 bytes = count; 211 kbuf = kmalloc(bytes, GFP_KERNEL); 215 if (bytes > bytes_end) { 223 bytes -= bytes_end; 227 memcpy_fromio(kbuf, cd->cur_ptr, bytes); 228 if (copy_to_user(buf, kbuf, bytes)) { 232 cd->cur_ptr += bytes; 233 written += bytes; [all...] |
/linux-master/include/linux/ |
H A D | overflow.h | 268 size_t bytes; local 270 if (check_mul_overflow(factor1, factor2, &bytes)) 273 return bytes; 287 size_t bytes; local 289 if (check_add_overflow(addend1, addend2, &bytes)) 292 return bytes; 308 size_t bytes; local 311 check_sub_overflow(minuend, subtrahend, &bytes)) 314 return bytes; 324 * Returns: number of bytes neede [all...] |
/linux-master/sound/core/ |
H A D | pcm_memory.c | 32 MODULE_PARM_DESC(max_alloc_per_card, "Max total allocation bytes per card."); 34 static void __update_allocated_size(struct snd_card *card, ssize_t bytes) argument 36 card->total_pcm_alloc_bytes += bytes; 39 static void update_allocated_size(struct snd_card *card, ssize_t bytes) argument 42 __update_allocated_size(card, bytes); 45 static void decrease_allocated_size(struct snd_card *card, size_t bytes) argument 48 WARN_ON(card->total_pcm_alloc_bytes < bytes); 49 __update_allocated_size(card, -(ssize_t)bytes); 75 if (dmab->bytes != size) 76 update_allocated_size(card, dmab->bytes [all...] |
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_qp_rx.c | 27 * @len: number of bytes to place 36 int pg_off, bytes, rv; local 52 bytes = min(len, (int)PAGE_SIZE - pg_off); 54 siw_dbg_qp(rx_qp(srx), "page %pK, bytes=%u\n", p, bytes); local 58 bytes); 73 (u8 *)(dest + pg_off), bytes); 87 siw_crc_skb(srx, bytes); 92 srx->skb_offset += bytes; 93 copied += bytes; 135 int bytes; local 408 siw_rx_data(struct siw_mem *mem_p, struct siw_rx_stream *srx, unsigned int *pbl_idx, u64 addr, int bytes) argument 550 int bytes, rv; local 789 int bytes, rv; local 1002 int bytes; local [all...] |
/linux-master/samples/seccomp/ |
H A D | bpf-direct.c | 67 ssize_t bytes; local 84 bytes = write(STDOUT_FILENO, buf, len); 85 ctx->uc_mcontext.gregs[REG_RESULT] = bytes; 167 ssize_t bytes = 0; local 174 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)); 176 syscall(__NR_write, STDOUT_FILENO, buf, bytes);
|
/linux-master/crypto/ |
H A D | poly1305_generic.c | 76 unsigned int bytes; local 79 bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen); 80 memcpy(dctx->buf + dctx->buflen, src, bytes); 81 src += bytes; 82 srclen -= bytes; 83 dctx->buflen += bytes;
|
/linux-master/fs/ |
H A D | kernel_read_file.c | 31 * Returns number of bytes read (no single read will be bigger 89 ssize_t bytes; local 93 bytes = kernel_read(file, *buf + copied, wanted, &pos); 94 if (bytes < 0) { 95 ret = bytes; 99 if (bytes == 0) 101 copied += bytes;
|
/linux-master/drivers/vdpa/mlx5/net/ |
H A D | debug.c | 57 u64 bytes; local 60 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes); 72 u64 bytes; local 75 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes); 79 seq_printf(file, "0x%llx\n", bytes); 84 DEFINE_SHOW_ATTRIBUTE(bytes); variable 91 debugfs_create_file("bytes", 0444, parent, counter,
|
/linux-master/arch/powerpc/perf/ |
H A D | hv-gpci.c | 46 /* u8, bytes of data (1-8) */ 180 *n += sprintf(buf + *n, "%02x", (u8)arg->bytes[j]); 236 u32 starting_index = arg->bytes[last_element + 3] + 237 (arg->bytes[last_element + 2] << 8) + 238 (arg->bytes[last_element + 1] << 16) + 239 (arg->bytes[last_element] << 24) + 1; 304 u32 starting_index = arg->bytes[last_element + 3] + 305 (arg->bytes[last_element + 2] << 8) + 306 (arg->bytes[last_element + 1] << 16) + 307 (arg->bytes[last_elemen [all...] |
/linux-master/drivers/nvmem/layouts/ |
H A D | sl28vpd.c | 26 size_t bytes) 28 if (bytes != ETH_ALEN) 46 .bytes = sizeof_field(struct sl28vpd_v1, serial_number), 51 .bytes = sizeof_field(struct sl28vpd_v1, base_mac_address), 123 info.bytes = pinfo->bytes; 24 sl28vpd_mac_address_pp(void *priv, const char *id, int index, unsigned int offset, void *buf, size_t bytes) argument
|
/linux-master/drivers/mtd/ubi/ |
H A D | upd.c | 68 * @bytes: new data size in bytes 75 long long bytes) 88 vol->used_bytes = bytes; 89 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, 108 * @bytes: update bytes 110 * This function starts volume update operation. If @bytes is zero, the volume 115 long long bytes) 119 dbg_gen("start update of volume %d, %llu bytes", vo 74 clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) argument 114 ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) argument [all...] |
/linux-master/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 259 int bytes; member in struct:cipher_wr_param 395 u8 bytes[4]; local 397 *(u32 *)(&bytes[0]) = w; 398 bytes[0] = aes_sbox[bytes[0]]; 399 bytes[1] = aes_sbox[bytes[1]]; 400 bytes[2] = aes_sbox[bytes[2]]; 401 bytes[ [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge_debugfs.c | 44 u64 packets, bytes, lastuse; local 53 mlx5_fc_query_cached_raw(entry->ingress_counter, &bytes, &packets, &lastuse); 55 entry->dev->name, entry->key.addr, entry->key.vid, packets, bytes, lastuse,
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring.c | 72 /* Discard any unused bytes beyond that submitted to hw. */ 195 unsigned int bytes) 200 if (intel_ring_update_space(ring) >= bytes) 209 if (bytes <= __intel_ring_space(target->postfix, 226 GEM_BUG_ON(ring->space < bytes); 234 const unsigned int bytes = num_dwords * sizeof(u32); local 242 total_bytes = bytes + rq->reserved_space; 248 if (bytes > remain_usable) { 300 GEM_BUG_ON(ring->emit > ring->size - bytes); 301 GEM_BUG_ON(ring->space < bytes); 193 wait_for_space(struct intel_ring *ring, struct intel_timeline *tl, unsigned int bytes) argument [all...] |
/linux-master/mm/ |
H A D | page_poison.c | 48 static void check_poison_mem(struct page *page, unsigned char *mem, size_t bytes) argument 54 start = memchr_inv(mem, PAGE_POISON, bytes); 58 for (end = mem + bytes - 1; end > start; end--) {
|
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | connect.c | 9 ssize_t bytes; local 26 bytes = test_server_run(sk, 0, 0); 28 test_fail("server served: %zd", bytes);
|
/linux-master/include/drm/ |
H A D | drm_managed.h | 83 size_t bytes; local 85 if (unlikely(check_mul_overflow(n, size, &bytes))) 88 return drmm_kmalloc(dev, bytes, flags);
|
/linux-master/drivers/mfd/ |
H A D | rsmu_i2c.c | 35 typedef int (*rsmu_rw_device)(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u8 bytes); 59 static int rsmu_smbus_i2c_write_device(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u8 bytes) argument 63 return i2c_smbus_write_i2c_block_data(client, reg, bytes, buf); 66 static int rsmu_smbus_i2c_read_device(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u8 bytes) argument 71 ret = i2c_smbus_read_i2c_block_data(client, reg, bytes, buf); 72 if (ret == bytes) 80 static int rsmu_i2c_read_device(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u8 bytes) argument 93 msg[1].len = bytes; 110 static int rsmu_i2c_write_device(struct rsmu_ddata *rsmu, u8 reg, u8 *buf, u8 bytes) argument 117 if (bytes > RSMU_MAX_WRITE_COUN [all...] |
/linux-master/drivers/mtd/nand/raw/atmel/ |
H A D | pmecc.h | 46 int bytes; member in struct:atmel_pmecc_user_req::__anon5254
|
/linux-master/include/uapi/linux/ |
H A D | gen_stats.h | 23 * @bytes: number of seen bytes 27 __u64 bytes; member in struct:gnet_stats_basic
|
/linux-master/arch/x86/include/asm/ |
H A D | xor.h | 60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, argument 63 unsigned long lines = bytes >> 8; 112 xor_sse_2_pf64(unsigned long bytes, unsigned long * __restrict p1, argument 115 unsigned long lines = bytes >> 8; 147 xor_sse_3(unsigned long bytes, unsigned long * __restrict p1, argument 151 unsigned long lines = bytes >> 8; 207 xor_sse_3_pf64(unsigned long bytes, unsigned long * __restrict p1, argument 211 unsigned long lines = bytes >> 8; 245 xor_sse_4(unsigned long bytes, unsigned long * __restrict p1, argument 250 unsigned long lines = bytes >> 313 xor_sse_4_pf64(unsigned long bytes, unsigned long * __restrict p1, const unsigned long * __restrict p2, const unsigned long * __restrict p3, const unsigned long * __restrict p4) argument 354 xor_sse_5(unsigned long bytes, unsigned long * __restrict p1, const unsigned long * __restrict p2, const unsigned long * __restrict p3, const unsigned long * __restrict p4, const unsigned long * __restrict p5) argument 430 xor_sse_5_pf64(unsigned long bytes, unsigned long * __restrict p1, const unsigned long * __restrict p2, const unsigned long * __restrict p3, const unsigned long * __restrict p4, const unsigned long * __restrict p5) argument [all...] |