/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-discard.c | 59 ssize_t bytes; local 66 bytes = test_server_run(sk, test_quota, 0); 85 if (bytes < 0) 86 test_icmps_fail("Server failed with %zd: %s", bytes, strerrordesc_np(-bytes)); 88 test_icmps_ok("Server survived %zd bytes of traffic", test_quota); 194 ssize_t bytes; local 220 bytes = sendto(sk, &packet, sizeof(packet), 0, 222 if (bytes != sizeof(packet)) 223 test_error("send(): %zd", bytes); 309 ssize_t bytes; local [all...] |
/linux-master/arch/x86/kernel/ |
H A D | alternative.c | 173 if (insn->opcode.bytes[0] == 0x90 && 174 (!insn->prefixes.nbytes || insn->prefixes.bytes[0] != 0xF3)) 178 if (insn->opcode.bytes[0] == 0x0F && insn->opcode.bytes[1] == 0x1F) 214 switch (insn->opcode.bytes[0]) { 353 switch (insn.opcode.bytes[0]) { 355 if (insn.opcode.bytes[1] < 0x80 || 356 insn.opcode.bytes[1] > 0x8f) 373 if (insn.opcode.bytes[0] == JMP32_INSN_OPCODE) { 544 return insn->opcode.bytes[ 552 emit_indirect(int op, int reg, u8 *bytes) argument 585 emit_call_track_retpoline(void *addr, struct insn *insn, int reg, u8 *bytes) argument 645 patch_retpoline(void *addr, struct insn *insn, u8 *bytes) argument 734 u8 bytes[16]; local 785 patch_return(void *addr, struct insn *insn, u8 *bytes) argument 814 u8 bytes[16]; local [all...] |
/linux-master/lib/ |
H A D | memcpy_kunit.c | 331 /* Copy a growing number of non-overlapping bytes ... */ 332 for (int bytes = 1; bytes <= ARRAY_SIZE(large_src); bytes++) { 335 int right_zero_pos = offset + bytes; 340 memmove(large_dst + offset, large_src, bytes); 342 memcpy(large_dst + offset, large_src, bytes); 347 "with size %d at offset %d", bytes, offset); 351 "with size %d at offset %d", bytes, offset); 355 memcmp(large_dst + offset, large_src, bytes), 395 inner_loop(struct kunit *test, int bytes, int d_off, int s_off) argument [all...] |
/linux-master/arch/xtensa/lib/ |
H A D | memcopy.S | 33 * copying 1 and 2 bytes. 35 * do 16 bytes with a loop, and then finish up with 101 # copy 2 bytes 129 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 153 # copy 8 bytes 166 # copy 4 bytes 175 # copy 2 bytes 195 # copy 16 bytes per iteration for word-aligned dst and unaligned src 233 # copy 8 bytes 245 # copy 4 bytes [all...] |
H A D | memset.S | 40 slli a7, a3, 8 # duplicate character in all bytes of word 56 # set 16 bytes per iteration for word-aligned dst 78 # set 8 bytes 84 # set 4 bytes 89 # set 2 bytes 116 # set 2 bytes
|
H A D | usercopy.S | 26 * The returned value is the number of bytes not copied. Implies zero 101 # copy 2 bytes 134 movi a2, 0 # return success for len bytes copied 140 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 167 # copy 8 bytes 176 # copy 4 bytes 183 # copy 2 bytes 194 movi a2, 0 # return success for len bytes copied 205 # copy 16 bytes per iteration for word-aligned dst and unaligned src 247 # copy 8 bytes [all...] |
/linux-master/drivers/mfd/ |
H A D | 88pm860x-i2c.c | 84 int bytes, void *dest) 107 msg[1].len = bytes; 110 if (bytes > 0) 113 memcpy(dest, msgbuf1, bytes); 120 int bytes, void *src) 128 memcpy(&buf[1], src, bytes); 131 msg.len = bytes + 1; 83 read_device(struct i2c_client *i2c, int reg, int bytes, void *dest) argument 119 write_device(struct i2c_client *i2c, int reg, int bytes, void *src) argument
|
/linux-master/drivers/nvmem/ |
H A D | lpc18xx_eeprom.c | 35 /* Fixed page size (bytes) */ 91 void *val, size_t bytes) 102 (reg + bytes > eeprom->size - LPC18XX_EEPROM_PAGE_SIZE)) 112 while (bytes) { 118 bytes -= eeprom->val_bytes; 130 void *val, size_t bytes) 140 while (bytes) { 142 bytes -= eeprom->val_bytes; 90 lpc18xx_eeprom_gather_write(void *context, unsigned int reg, void *val, size_t bytes) argument 129 lpc18xx_eeprom_read(void *context, unsigned int offset, void *val, size_t bytes) argument
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | si_dma.c | 74 unsigned bytes = count * 8; local 75 if (bytes > 0xFFFF8) 76 bytes = 0xFFFF8; 79 1, 0, 0, bytes); 85 pe += bytes; 86 src += bytes; 87 count -= bytes / 8; 99 * @incr: increase next addr by incr bytes 146 * @incr: increase next addr by incr bytes
|
/linux-master/arch/powerpc/crypto/ |
H A D | sha256-spe-glue.c | 23 * MAX_BYTES defines the number of bytes that are allowed to be processed 25 * operations per 64 bytes. e500 cores can issue two arithmetic instructions 66 unsigned int bytes; local 90 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; 91 bytes = bytes & ~0x3f; 94 ppc_spe_sha256_transform(sctx->state, src, bytes >> 6); 97 src += bytes; 98 len -= bytes;
|
/linux-master/crypto/async_tx/ |
H A D | raid6test.c | 57 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, argument 73 disks, bytes, &submit); 93 tx = async_xor(dest, blocks, 0, count, bytes, &submit); 97 disks, bytes, &submit); 103 tx = async_raid6_datap_recov(disks, bytes, 108 tx = async_raid6_2data_recov(disks, bytes, 115 disks, bytes, &result, spare, 0, &submit);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | eprom.c | 22 /* controller page size, in bytes */ 58 * Read length bytes starting at offset from the start of the EPROM. 66 u32 bytes; local 91 bytes = EP_PAGE_SIZE - start_offset; 93 if (len <= bytes) { 99 memcpy(dest, (u8 *)buffer + start_offset, bytes); local 101 start += bytes; 102 len -= bytes; 103 dest += bytes; 179 u32 oprom_size; /* size of the oprom, in bytes */ [all...] |
/linux-master/security/selinux/ss/ |
H A D | policydb.h | 355 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) argument 357 if (bytes > fp->len) 360 memcpy(buf, fp->data, bytes); 361 fp->data += bytes; 362 fp->len -= bytes; 366 static inline int put_entry(const void *buf, size_t bytes, size_t num, argument 371 if (unlikely(check_mul_overflow(bytes, num, &len)))
|
/linux-master/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 76 u16 bytes; local 91 bytes = (image->width + 7) >> 3; 109 line += bytes; 125 u16 bytes; local 134 bytes = image->width; 148 line += bytes; 164 u16 bytes; local 168 bytes = image->width << 1; 177 line += bytes;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_abm_lcd.c | 165 unsigned int bytes, 172 // TODO: Optimize by only reading back final 4 bytes 176 memcpy(dc->dmub_srv->dmub->scratch_mem_fb.cpu_addr, (void *)src, bytes); 183 cmd.abm_init_config.abm_init_config_data.bytes = bytes; 230 unsigned int bytes = sizeof(struct abm_save_restore); local 232 // TODO: Optimize by only reading back final 4 bytes 236 memcpy(dc->dmub_srv->dmub->scratch_mem_fb.cpu_addr, (void *)pData, bytes); 243 cmd.abm_save_restore.abm_init_config_data.bytes = bytes; 163 dmub_abm_init_config(struct abm *abm, const char *src, unsigned int bytes, unsigned int inst) argument [all...] |
/linux-master/mm/kasan/ |
H A D | quarantine.c | 38 size_t bytes; member in struct:qlist_head 52 q->bytes = 0; 64 q->bytes += size; 80 to->bytes += from->bytes; 215 if (unlikely(q->bytes > QUARANTINE_PERCPU_SIZE)) { 219 WRITE_ONCE(quarantine_size, quarantine_size + temp.bytes); 221 if (global_quarantine[quarantine_tail].bytes >= 278 WRITE_ONCE(quarantine_size, quarantine_size - to_free.bytes);
|
/linux-master/tools/usb/ffs-aio-example/simple/host_app/ |
H A D | test.c | 171 int bytes; local 173 &bytes, 500); 175 &bytes, 500);
|
/linux-master/scripts/ |
H A D | cleanfile | 9 use bytes; 19 no bytes; # Tab alignment depends on characters 57 no bytes; # Tab alignment depends on characters
|
/linux-master/include/uapi/mtd/ |
H A D | ubi-user.h | 77 * this number of bytes to the volume character device. The update is finished 78 * when the claimed number of bytes is passed. So, the volume update sequence 100 * user is expected to write the requested amount of bytes (similarly to what 262 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or 271 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes 320 * @bytes: volume size in bytes 349 __s64 bytes; member in struct:ubi_mkvol_req 360 * @bytes 369 __s64 bytes; member in struct:ubi_rsvol_req 434 __s32 bytes; member in struct:ubi_leb_change_req [all...] |
/linux-master/drivers/android/ |
H A D | binder_alloc.h | 149 * Return: the bytes remaining in the address-space for async transactions 167 size_t bytes); 173 size_t bytes); 179 size_t bytes);
|
/linux-master/tools/tracing/latency/ |
H A D | latency-collector.c | 723 int bytes; local 728 bytes = snprintf(msg->buf, sizeof(msg->buf), 731 bytes = snprintf(msg->buf, sizeof(msg->buf), 733 if (bytes < 0) 736 msg->len = bytes; 1077 ssize_t bytes = 0; local 1087 bytes += resize_msg->len; 1103 bytes += r; 1107 write_or_die(fd_stdout, buffer, bytes); 1135 ssize_t bytes local [all...] |
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 211 size_t bytes; local 220 bytes = sizeof(tx->dqo.compl_ring[0]) * 222 dma_free_coherent(hdev, bytes, tx->dqo.compl_ring, 228 bytes = sizeof(tx->dqo.tx_ring[0]) * (tx->mask + 1); 229 dma_free_coherent(hdev, bytes, tx->dqo.tx_ring, tx->bus); 288 size_t bytes; local 339 bytes = sizeof(tx->dqo.tx_ring[0]) * (tx->mask + 1); 340 tx->dqo.tx_ring = dma_alloc_coherent(hdev, bytes, &tx->bus, GFP_KERNEL); 344 bytes = sizeof(tx->dqo.compl_ring[0]) * (tx->dqo.complq_mask + 1); 345 tx->dqo.compl_ring = dma_alloc_coherent(hdev, bytes, 1050 gve_handle_packet_completion(struct gve_priv *priv, struct gve_tx_ring *tx, bool is_napi, u16 compl_tag, u64 *bytes, u64 *pkts, bool is_reinjection) argument 1114 gve_handle_miss_completion(struct gve_priv *priv, struct gve_tx_ring *tx, u16 compl_tag, u64 *bytes, u64 *pkts) argument [all...] |
/linux-master/net/core/ |
H A D | skmsg.c | 138 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes) argument 145 if (bytes < sge->length) { 146 sge->length -= bytes; 147 sge->offset += bytes; 148 sk_mem_uncharge(sk, bytes); 153 bytes -= sge->length; 157 } while (bytes && i != msg->sg.end); 162 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes) argument 168 int uncharge = (bytes < sge->length) ? bytes 223 __sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes, bool charge) argument 251 sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes) argument 257 sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg, u32 bytes) argument 311 sk_msg_zerocopy_from_iter(struct sock *sk, struct iov_iter *from, struct sk_msg *msg, u32 bytes) argument 368 sk_msg_memcopy_from_iter(struct sock *sk, struct iov_iter *from, struct sk_msg *msg, u32 bytes) argument [all...] |
/linux-master/include/linux/ |
H A D | eeprom_93cx6.h | 68 const u8 byte, u8 *data, const u16 bytes);
|
/linux-master/include/sound/ |
H A D | pcm_oss.h | 40 size_t bytes; /* total # bytes processed */ member in struct:snd_pcm_oss_runtime
|