/linux-master/fs/smb/client/ |
H A D | smb2pdu.c | 660 /* copy up to max of first 100 bytes of server name to NetName field */ 1645 cifs_dbg(VFS, "Kerberos can't allocate (%u bytes) memory\n", 3295 * indatalen is usually small at a couple of bytes max, so 3347 * of eight bytes. Currently that is the only case where we set max 4503 cifs_dbg(FYI, "%s: mid=%llu state=%d result=%d bytes=%u\n", 4505 rdata->bytes); 4530 /* reset bytes number since we can not check a sign */ 4559 rdata->bytes, rdata->result); 4586 cifs_dbg(FYI, "%s: offset=%llu bytes=%u\n", 4587 __func__, rdata->offset, rdata->bytes); [all...] |
H A D | cifsglob.h | 1505 unsigned int bytes; member in struct:cifs_readdata 1531 unsigned int bytes; member in struct:cifs_writedata 1653 unsigned int bytes) 1655 if (bytes) { 1657 tcon->bytes_written += bytes; 1663 unsigned int bytes) 1666 tcon->bytes_read += bytes; 2230 * The first rqst has a transform header where the first 20 bytes are 1652 cifs_stats_bytes_written(struct cifs_tcon *tcon, unsigned int bytes) argument 1662 cifs_stats_bytes_read(struct cifs_tcon *tcon, unsigned int bytes) argument
|
/linux-master/fs/bcachefs/ |
H A D | journal_io.c | 120 size_t bytes = vstruct_bytes(j); local 168 bool identical = bytes == vstruct_bytes(&dup->j) && 169 !memcmp(j, &dup->j, bytes); 201 i = kvmalloc(offsetof(struct journal_replay, j) + bytes, GFP_KERNEL); 209 unsafe_memcpy(&i->j, j, bytes, "embedded variable length struct"); 546 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local 549 if (journal_entry_err_on(bytes < sizeof(*u), 580 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local 584 if (journal_entry_err_on(bytes < sizeof(*u) || 585 bytes < sizeo 624 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local 664 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); local 731 unsigned bytes = vstruct_bytes(entry) - offsetof(struct jset_entry_log, d); local 774 unsigned bytes = vstruct_bytes(entry); local 919 size_t bytes = vstruct_bytes(jset); local 1815 unsigned sectors, bytes, u64s; local [all...] |
H A D | btree_update_interior.c | 973 unsigned bytes = vstruct_end(&b->data->keys) - (void *) b->data; local 974 unsigned sectors = round_up(bytes, block_bytes(c)) >> 9;
|
H A D | btree_node_scan.c | 138 unsigned bytes = (void *) &bn->keys - (void *) &bn->flags; local 140 bch2_encrypt(c, BSET_CSUM_TYPE(&bn->keys), nonce, &bn->flags, bytes);
|
H A D | btree_io.c | 168 size_t bytes = b->whiteout_u64s * sizeof(u64); local 173 new_whiteouts = btree_bounce_alloc(c, bytes, &used_mempool); 175 ptrs = ptrs_end = ((void *) new_whiteouts + bytes); 198 btree_bounce_free(c, bytes, used_mempool, new_whiteouts); 300 unsigned i, u64s = 0, bytes, shift = end_idx - start_idx - 1; local 315 bytes = sorting_entire_node 319 out = btree_bounce_alloc(c, bytes, &used_mempool); 327 BUG_ON(vstruct_end(&out->keys) > (void *) out + bytes); 341 BUG_ON(bytes != btree_buf_bytes(b)); 376 btree_bounce_free(c, bytes, used_mempoo 1978 unsigned bytes_to_write, sectors_to_write, bytes, u64s; local 2357 u64 bytes = atomic64_read(&c->btree_write_stats[i].bytes); local [all...] |
H A D | backpointers.c | 447 size_t bytes; local 461 bytes = p.crc.compressed_size << 9; 467 data_buf = kvmalloc(bytes, GFP_KERNEL); 473 bio = bio_alloc(ca->disk_sb.bdev, buf_pages(data_buf, bytes), REQ_OP_READ, GFP_KERNEL); 475 bch2_bio_map(bio, data_buf, bytes); 487 struct bch_csum csum = bch2_checksum(c, p.crc.csum_type, nonce, data_buf, bytes);
|
/linux-master/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 43 * Below UCSI 2.0, MESSAGE_IN was limited to 16 bytes. Truncate the 649 num_pdos = ret / sizeof(u32); /* number of bytes to 32-bit PDOs */ 678 u8 offset, u8 bytes, void *resp) 688 command |= UCSI_GET_PD_MESSAGE_BYTES(bytes); 691 ret = ucsi_send_command(ucsi, command, resp, bytes); 707 * Before UCSI v2.0, MESSAGE_IN is 16 bytes which cannot fit 677 ucsi_read_identity(struct ucsi_connector *con, u8 recipient, u8 offset, u8 bytes, void *resp) argument
|
/linux-master/drivers/usb/host/ |
H A D | xhci-trace.h | 92 __entry->ctx_va = ctx->bytes; 94 memcpy(__get_dynamic_array(ctx_data), ctx->bytes,
|
/linux-master/drivers/tty/serial/ |
H A D | stm32-usart.c | 1530 u32 bytes, i, cfg8; local 1543 if (of_property_read_u32(pdev->dev.of_node, p, &bytes)) 1544 bytes = fifo_size / 2; 1546 if (bytes < stm32_usart_get_thresh_value(fifo_size, 0)) { 1552 if (stm32_usart_get_thresh_value(fifo_size, i) >= bytes) 1558 dev_dbg(&pdev->dev, "%s set to %d/%d bytes\n", p,
|
/linux-master/drivers/thunderbolt/ |
H A D | tb.h | 36 * @active_size: Size in bytes of the active NVM 42 * @buf_data_size: Number of bytes actually consumed by the new NVM 804 size_t bytes);
|
H A D | switch.c | 290 * @size: Size of the buffer in bytes 304 static int nvm_read(void *priv, unsigned int offset, void *val, size_t bytes) argument 317 ret = tb_switch_nvm_read(sw, offset, val, bytes); 327 static int nvm_write(void *priv, unsigned int offset, void *val, size_t bytes) argument 342 ret = tb_nvm_write_buf(nvm, offset, val, bytes);
|
/linux-master/arch/x86/kvm/ |
H A D | x86.c | 7568 static int kvm_read_guest_virt_helper(gva_t addr, void *val, unsigned int bytes, argument 7576 while (bytes) { 7579 unsigned toread = min(bytes, (unsigned)PAGE_SIZE - offset); 7591 bytes -= toread; 7601 gva_t addr, void *val, unsigned int bytes, 7617 if (WARN_ON(offset + bytes > PAGE_SIZE)) 7618 bytes = (unsigned)PAGE_SIZE - offset; 7620 offset, bytes); 7628 gva_t addr, void *val, unsigned int bytes, 7640 return kvm_read_guest_virt_helper(addr, val, bytes, vcp 7600 kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, unsigned int bytes, struct x86_exception *exception) argument 7627 kvm_read_guest_virt(struct kvm_vcpu *vcpu, gva_t addr, void *val, unsigned int bytes, struct x86_exception *exception) argument 7645 emulator_read_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, unsigned int bytes, struct x86_exception *exception, bool system) argument 7660 kvm_write_guest_virt_helper(gva_t addr, void *val, unsigned int bytes, struct kvm_vcpu *vcpu, u64 access, struct x86_exception *exception) argument 7690 emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, unsigned int bytes, struct x86_exception *exception, bool system) argument 7706 kvm_write_guest_virt_system(struct kvm_vcpu *vcpu, gva_t addr, void *val, unsigned int bytes, struct x86_exception *exception) argument 7796 emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa, const void *val, int bytes) argument 7820 read_prepare(struct kvm_vcpu *vcpu, void *val, int bytes) argument 7832 read_emulate(struct kvm_vcpu *vcpu, gpa_t gpa, void *val, int bytes) argument 7838 write_emulate(struct kvm_vcpu *vcpu, gpa_t gpa, void *val, int bytes) argument 7844 write_mmio(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes, void *val) argument 7850 read_exit_mmio(struct kvm_vcpu *vcpu, gpa_t gpa, void *val, int bytes) argument 7857 write_exit_mmio(struct kvm_vcpu *vcpu, gpa_t gpa, void *val, int bytes) argument 7880 emulator_read_write_onepage(unsigned long addr, void *val, unsigned int bytes, struct x86_exception *exception, struct kvm_vcpu *vcpu, const struct read_write_emulator_ops *ops) argument 7931 emulator_read_write(struct x86_emulate_ctxt *ctxt, unsigned long addr, void *val, unsigned int bytes, struct x86_exception *exception, const struct read_write_emulator_ops *ops) argument 7985 emulator_read_emulated(struct x86_emulate_ctxt *ctxt, unsigned long addr, void *val, unsigned int bytes, struct x86_exception *exception) argument 7995 emulator_write_emulated(struct x86_emulate_ctxt *ctxt, unsigned long addr, const void *val, unsigned int bytes, struct x86_exception *exception) argument 8008 emulator_cmpxchg_emulated(struct x86_emulate_ctxt *ctxt, unsigned long addr, const void *old, const void *new, unsigned int bytes, struct x86_exception *exception) argument 13725 kvm_sev_es_mmio_write(struct kvm_vcpu *vcpu, gpa_t gpa, unsigned int bytes, void *data) argument 13764 kvm_sev_es_mmio_read(struct kvm_vcpu *vcpu, gpa_t gpa, unsigned int bytes, void *data) argument [all...] |
/linux-master/arch/x86/kvm/svm/ |
H A D | svm.c | 4504 u32 bytes; local 4510 bytes = info->dst_bytes; 4513 bytes = info->src_bytes; 4523 bytes = min(bytes, 4u); 4525 exit_info |= bytes << SVM_IOIO_SIZE_SHIFT; 4756 * buffer containing the bytes of the intercepted instruction is 4787 * will be empty if the DecodeAssist microcode cannot fetch bytes for 4804 * gives up and does not fill the instruction bytes buffer. 4822 * retrieve the instruction bytes i [all...] |
H A D | sev.c | 2968 int bytes; local 2975 if (unlikely(check_mul_overflow(count, size, &bytes))) 2978 r = setup_vmgexit_scratch(svm, in, bytes);
|
/linux-master/arch/x86/kvm/mmu/ |
H A D | mmu.c | 5696 int *bytes) 5706 if (is_pae(vcpu) && *bytes == 4) { 5709 *bytes = 8; 5712 if (*bytes == 4 || *bytes == 8) { 5713 r = kvm_vcpu_read_guest_atomic(vcpu, *gpa, &gentry, *bytes); 5743 int bytes) 5751 * Sometimes, the OS only writes the last one bytes to update status 5754 if (!(offset & (pte_size - 1)) && bytes == 1) 5757 misaligned = (offset ^ (offset + bytes 5695 mmu_pte_write_fetch_gpte(struct kvm_vcpu *vcpu, gpa_t *gpa, int *bytes) argument 5742 detect_write_misaligned(struct kvm_mmu_page *sp, gpa_t gpa, int bytes) argument 5794 kvm_mmu_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new, int bytes) argument [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | kvm_host.h | 301 * allocating 2 bytes per gfn instead of 4 bytes per gfn. 1940 const void *val, int bytes);
|
/linux-master/arch/powerpc/crypto/ |
H A D | chacha-p10-glue.c | 38 unsigned int bytes, int nrounds) 40 unsigned int l = bytes & ~0x0FF; 44 bytes -= l; 50 if (bytes > 0) 51 chacha_crypt_generic(state, dst, src, bytes, nrounds); 66 void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, argument 69 if (!static_branch_likely(&have_p10) || bytes <= CHACHA_BLOCK_SIZE || 71 return chacha_crypt_generic(state, dst, src, bytes, nrounds); 74 unsigned int todo = min_t(unsigned int, bytes, SZ_4K); 80 bytes 37 chacha_p10_do_8x(u32 *state, u8 *dst, const u8 *src, unsigned int bytes, int nrounds) argument [all...] |
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | rst.c | 88 ssize_t bytes; local 111 bytes = test_server_run(sk, quota, 0); 112 if (bytes != quota) 113 test_error("servered only %zd bytes", bytes); 115 test_ok("servered %zd bytes", bytes); 133 ssize_t bytes; local 153 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); 154 if (bytes ! [all...] |
/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 130 size_t length; /* W: size of image in bytes */ 187 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */ 188 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */ 189 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */ 190 #define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) /* low three bytes */ 211 #define SNDRV_PCM_FORMAT_S20_LE ((__force snd_pcm_format_t) 25) /* in four bytes, LSB justified */ 212 #define SNDRV_PCM_FORMAT_S20_BE ((__force snd_pcm_format_t) 26) /* in four bytes, LSB justified */ 213 #define SNDRV_PCM_FORMAT_U20_LE ((__force snd_pcm_format_t) 27) /* in four bytes, LSB justified */ 214 #define SNDRV_PCM_FORMAT_U20_BE ((__force snd_pcm_format_t) 28) /* in four bytes, LSB justified */ 217 #define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) /* in three bytes */ 1167 } bytes; member in union:snd_ctl_elem_value::__anon224 [all...] |
/linux-master/sound/core/seq/ |
H A D | seq_ump_convert.c | 320 unsigned char bytes; local 326 bytes = ump_sysex_message_length(val); 327 if (bytes > 6) 336 if (bytes > 0) 338 if (bytes > 1) 341 if (bytes > 2) 343 if (bytes > 3) 345 if (bytes > 4) 347 if (bytes > 5)
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo.c | 17 * Match packet bytes against entries composed of ranged or non-ranged packet 444 * packet bytes value, then AND bucket value 553 * packet bytes value, then AND bucket value 1021 * @len: Total length of mask space (set and unset bits), bytes 1043 * @len: Total length of mask space (set and unset bits), bytes 1072 * @len: Netmask length, bytes 1112 int step, masks = 0, bytes = DIV_ROUND_UP(len, BITS_PER_BYTE); local 1115 memcpy(base, start, bytes); 1116 while (memcmp(base, end, bytes) <= 0) { 1120 while (pipapo_step_diff(base, step, bytes)) { [all...] |
H A D | nf_tables_api.c | 1739 u64 pkts, bytes; local 1751 bytes = cpu_stats->bytes; 1754 total.bytes += bytes; 1762 nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes), 2045 stats->bytes = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_BYTES]));
|
/linux-master/mm/ |
H A D | internal.h | 692 unsigned long bytes);
|
/linux-master/include/net/ |
H A D | sch_generic.h | 851 __u64 bytes, __u32 packets) 854 u64_stats_add(&bstats->bytes, bytes); 1187 * We do not know the backlog in bytes of this list, it 1254 u64 rate_bytes_ps; /* bytes per second */ 850 _bstats_update(struct gnet_stats_basic_sync *bstats, __u64 bytes, __u32 packets) argument
|