/linux-master/include/linux/raid/ |
H A D | pq.h | 154 extern void (*raid6_2data_recov)(int disks, size_t bytes, int faila, int failb, 156 extern void (*raid6_datap_recov)(int disks, size_t bytes, int faila, 158 void raid6_dual_recov(int disks, size_t bytes, int faila, int failb,
|
/linux-master/drivers/nvmem/ |
H A D | mxs-ocotp.c | 60 void *val, size_t bytes) 86 while (bytes) { 94 bytes -= 4; 59 mxs_ocotp_read(void *context, unsigned int offset, void *val, size_t bytes) argument
|
H A D | mtk-efuse.c | 24 unsigned int reg, void *_val, size_t bytes) 31 for (i = 0; i < bytes; i++, val++) 38 unsigned int offset, void *data, size_t bytes) 23 mtk_reg_read(void *context, unsigned int reg, void *_val, size_t bytes) argument 37 mtk_efuse_gpu_speedbin_pp(void *context, const char *id, int index, unsigned int offset, void *data, size_t bytes) argument
|
H A D | layerscape-sfp.c | 30 size_t bytes) 36 bytes / 4); 29 layerscape_sfp_read(void *context, unsigned int offset, void *val, size_t bytes) argument
|
H A D | nintendo-otp.c | 49 unsigned int reg, void *_val, size_t bytes) 53 int words = bytes / WORD_SIZE; 48 nintendo_otp_reg_read(void *context, unsigned int reg, void *_val, size_t bytes) argument
|
H A D | imx-iim.c | 33 void *buf, size_t bytes) 43 for (i = offset; i < offset + bytes; i++) { 32 imx_iim_read(void *context, unsigned int offset, void *buf, size_t bytes) argument
|
/linux-master/lib/ |
H A D | iov_iter.c | 85 * Returns the number of bytes not faulted in (like copy_to_user() and 128 * Returns the number of bytes not faulted in, like copy_to_user() and 179 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) argument 185 return iterate_and_advance(i, bytes, (void *)addr, 213 * @bytes: total transfer length 218 * block-layer). Upon #MC read(2) aborts and returns EIO or the bytes 232 * Return: number of bytes copied (may be %0) 234 size_t _copy_mc_to_iter(const void *addr, size_t bytes, struct iov_iter *i) argument 240 return iterate_and_advance(i, bytes, (void *)addr, 247 size_t __copy_from_iter(void *addr, size_t bytes, struc argument 253 _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) argument 271 _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) argument 314 _copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i) argument 349 copy_page_to_iter(struct page *page, size_t offset, size_t bytes, struct iov_iter *i) argument 378 copy_page_to_iter_nofault(struct page *page, unsigned offset, size_t bytes, struct iov_iter *i) argument 411 copy_page_from_iter(struct page *page, size_t offset, size_t bytes, struct iov_iter *i) argument 453 iov_iter_zero(size_t bytes, struct iov_iter *i) argument 460 copy_page_from_iter_atomic(struct page *page, size_t offset, size_t bytes, struct iov_iter *i) argument [all...] |
H A D | random32.c | 65 * prandom_bytes_state - get the requested number of pseudo-random bytes 68 * @buf: where to copy the pseudo-random bytes to 69 * @bytes: the requested number of bytes 74 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) argument 78 while (bytes >= sizeof(u32)) { 81 bytes -= sizeof(u32); 84 if (bytes > 0) { 88 bytes--; 90 } while (bytes > [all...] |
/linux-master/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-pcm.c | 53 unsigned int bytes) 61 if (bytes >= alsa_stream->buffer_size) { 72 pos += bytes; 76 alsa_stream->period_offset += bytes; 136 /* minimum 16 bytes alignment (for vchiq bulk transfers) */ 235 struct snd_pcm_indirect *rec, size_t bytes) 241 bcm2835_audio_write(alsa_stream, bytes, src); 52 bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream, unsigned int bytes) argument 234 snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, size_t bytes) argument
|
/linux-master/drivers/rtc/ |
H A D | rtc-rx8581.c | 191 size_t bytes) 196 val, bytes); 200 size_t bytes) 205 val, bytes); 209 size_t bytes) 222 size_t bytes) 190 rx8571_nvram_read(void *priv, unsigned int offset, void *val, size_t bytes) argument 199 rx8571_nvram_write(void *priv, unsigned int offset, void *val, size_t bytes) argument 208 rx85x1_nvram_read(void *priv, unsigned int offset, void *val, size_t bytes) argument 221 rx85x1_nvram_write(void *priv, unsigned int offset, void *val, size_t bytes) argument
|
/linux-master/kernel/dma/ |
H A D | swiotlb.c | 261 unsigned long bytes; local 265 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); 266 set_memory_decrypted((unsigned long)mem->vaddr, bytes >> PAGE_SHIFT); 273 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; local 277 mem->end = mem->start + bytes; 296 memset(vaddr, 0, bytes); 322 size_t bytes = PAGE_ALIGN(nslabs << IO_TLB_SHIFT); local 331 tlb = memblock_alloc(bytes, PAGE_SIZE); 333 tlb = memblock_alloc_low(bytes, PAGE_SIZE); 336 pr_warn("%s: Failed to allocate %zu bytes tl 574 alloc_dma_pages(gfp_t gfp, size_t bytes, u64 phys_limit) argument 612 swiotlb_alloc_tlb(struct device *dev, size_t bytes, u64 phys_limit, gfp_t gfp) argument 657 swiotlb_free_tlb(void *vaddr, size_t bytes) argument [all...] |
/linux-master/arch/sparc/lib/ |
H A D | M7memcpy.S | 12 * Copy s2 to s1, always copy n bytes. 36 * copy bytes; exit with dst addr 42 * copy bytes; exit with dst addr 43 * move enough bytes to get src to word boundary 50 * load words, shift 3 bytes, store words; branch to finish_up 54 * copy bytes; exit with dst addr 55 * } else { More than SMALL_MAX bytes 56 * move bytes until dst is on long word boundary 59 * finish_long: src/dst aligned on 8 bytes 61 * copy final 0-63 bytes; exi [all...] |
/linux-master/tools/usb/ffs-aio-example/multibuff/host_app/ |
H A D | test.c | 170 int bytes; local 172 &bytes, 500);
|
/linux-master/arch/arc/lib/ |
H A D | memcpy-archs-unaligned.S | 39 and.f lp_count, r2, ZOLAND ;Last remaining 31 bytes
|
/linux-master/drivers/xen/xenbus/ |
H A D | xenbus_comms.c | 104 * Returns number of bytes written or -err. 110 unsigned int bytes = 0; local 124 return bytes; 138 bytes += avail; 149 return bytes; 162 unsigned int bytes = 0; local 172 return bytes; 191 bytes += avail; 202 return bytes;
|
/linux-master/crypto/ |
H A D | aegis.h | 21 u8 bytes[AEGIS_BLOCK_SIZE]; member in union:aegis_block 64 const u8 *s = src->bytes;
|
/linux-master/drivers/mtd/tests/ |
H A D | torturetest.c | 63 /* This buffer contains all 0xFF bytes */ 113 pr_err("failed to read %zd bytes from EB %d, " 157 " bytes\n", err, ebnum, written); 161 pr_info("written only %zd bytes of %zd, but no error" 202 "bytes.\n"); 258 /* Check if the eraseblocks contain only 0xFF bytes */ 374 int bytes, bits, pages, first; local 381 bytes = bits = pages = 0; 383 if (countdiffs(written, read, i, pgsize, &bytes, 387 pr_info("verify fails on %d pages, %d bytes/ [all...] |
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | ethtool.c | 39 struct ethtool_eeprom *eeprom, u8 * bytes) 56 memcpy(bytes, cmd.value, eeprom->len); 38 lbs_ethtool_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 * bytes) argument
|
/linux-master/include/sound/ |
H A D | soc-topology.h | 57 unsigned int *kcontrol_type; /* kcontrol type: mixer, enum, bytes */ 89 int (*get)(struct snd_kcontrol *kcontrol, unsigned int __user *bytes, 92 const unsigned int __user *bytes, unsigned int size); 164 /* vendor specific bytes ext handlers available for binding */
|
/linux-master/arch/alpha/lib/ |
H A D | clear_user.S | 9 * right "bytes left to zero" value (and that it is updated only _after_ 74 and $1, 7, $2 # e1 : number of bytes in tail 84 addq $0, $4, $0 # .. e1 : bytes left -= 8 - misalignment
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_proto_test_util.c | 107 unsigned int bytes, void *dest) 111 memcpy(dest, cros_kunit_readmem_mock_data, bytes); 106 cros_kunit_readmem_mock(struct cros_ec_device *ec_dev, unsigned int offset, unsigned int bytes, void *dest) argument
|
/linux-master/sound/soc/intel/avs/ |
H A D | debugfs.c | 144 size_t bytes; local 152 bytes = sizeof(*array) * num_elems; 153 if (bytes % sizeof(*desc)) { 159 ret = avs_ipc_probe_connect_points(adev, desc, bytes / sizeof(*desc)); 182 size_t bytes; local 190 bytes = sizeof(*array) * num_elems; 191 if (bytes % sizeof(*id)) { 197 ret = avs_ipc_probe_disconnect_points(adev, id, bytes / sizeof(*id));
|
/linux-master/tools/net/ynl/ |
H A D | cli.py | 14 if isinstance(obj, bytes): 15 return bytes.hex(obj)
|
/linux-master/drivers/dax/ |
H A D | super.c | 173 size_t bytes, struct iov_iter *i) 184 return _copy_from_iter_flushcache(addr, bytes, i); 185 return _copy_from_iter(addr, bytes, i); 189 size_t bytes, struct iov_iter *i) 200 return _copy_mc_to_iter(addr, bytes, i); 201 return _copy_to_iter(addr, bytes, i); 225 void *addr, size_t bytes, struct iov_iter *iter) 229 return dax_dev->ops->recovery_write(dax_dev, pgoff, addr, bytes, iter); 172 dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) argument 188 dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) argument 224 dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *iter) argument
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 1038 size_t bytes = count; local 1043 if (bytes % 4) 1050 bytes = min(bytes, WLCORE_MAX_BLOCK_SIZE); 1052 if (bytes == 0) 1057 part.mem.size = bytes; 1059 buf = kmalloc(bytes, GFP_KERNEL); 1082 ret = wlcore_raw_read(wl, 0, buf, bytes, false); 1100 ret = copy_to_user(user_buf, buf, bytes); 1101 if (ret < bytes) { 1120 size_t bytes = count; local [all...] |