Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 81 of 81) sorted by relevance

/linux-4.1.27/arch/sparc/mm/
Dinit_32.c76 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
78 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
98 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
99 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
108 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
122 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
124 sp_banks[i].num_bytes; in bootmem_init()
125 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
133 sp_banks[i].num_bytes -= slack; in bootmem_init()
134 if (sp_banks[i].num_bytes == 0) { in bootmem_init()
[all …]
Dsrmmu.c238 for (i = 0; sp_banks[i].num_bytes; i++) in probe_memory()
239 total += sp_banks[i].num_bytes; in probe_memory()
837 unsigned long vend = SRMMU_PGDIR_ALIGN(vbase + sp_banks[sp_entry].num_bytes); in map_spbank()
863 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in map_kernel()
/linux-4.1.27/fs/btrfs/
Dextent-tree.c79 u64 num_bytes, int alloc);
82 u64 bytenr, u64 num_bytes, u64 parent,
109 u64 num_bytes, int reserve,
112 u64 num_bytes);
114 u64 bytenr, u64 num_bytes, int reserved);
231 u64 start, u64 num_bytes) in add_excluded_extent() argument
233 u64 end = start + num_bytes - 1; in add_excluded_extent()
1474 u64 bytenr, u64 num_bytes, in lookup_inline_extent_backref() argument
1496 key.offset = num_bytes; in lookup_inline_extent_backref()
1533 key.offset == num_bytes) in lookup_inline_extent_backref()
[all …]
Ddelayed-ref.c441 head->node.num_bytes; in btrfs_select_ref_head()
519 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
556 delayed_refs->pending_csums -= existing->num_bytes; in update_existing_head_ref()
558 delayed_refs->pending_csums += existing->num_bytes; in update_existing_head_ref()
572 u64 num_bytes, int action, int is_data) in add_delayed_ref_head() argument
610 ref->num_bytes = num_bytes; in add_delayed_ref_head()
642 delayed_refs->pending_csums += num_bytes; in add_delayed_ref_head()
659 u64 num_bytes, u64 parent, u64 ref_root, int level, in add_delayed_tree_ref() argument
677 ref->num_bytes = num_bytes; in add_delayed_tree_ref()
721 u64 num_bytes, u64 parent, u64 ref_root, u64 owner, in add_delayed_data_ref() argument
[all …]
Dqgroup.h53 u64 num_bytes; member
84 u64 bytenr, u64 num_bytes,
97 int btrfs_qgroup_reserve(struct btrfs_root *root, u64 num_bytes);
98 void btrfs_qgroup_free(struct btrfs_root *root, u64 num_bytes);
Dqgroup.c1013 u64 num_bytes, int sign) in __qgroup_excl_accounting() argument
1025 qgroup->rfer += sign * num_bytes; in __qgroup_excl_accounting()
1026 qgroup->rfer_cmpr += sign * num_bytes; in __qgroup_excl_accounting()
1028 WARN_ON(sign < 0 && qgroup->excl < num_bytes); in __qgroup_excl_accounting()
1029 qgroup->excl += sign * num_bytes; in __qgroup_excl_accounting()
1030 qgroup->excl_cmpr += sign * num_bytes; in __qgroup_excl_accounting()
1032 qgroup->reserved -= num_bytes; in __qgroup_excl_accounting()
1048 qgroup->rfer += sign * num_bytes; in __qgroup_excl_accounting()
1049 qgroup->rfer_cmpr += sign * num_bytes; in __qgroup_excl_accounting()
1050 WARN_ON(sign < 0 && qgroup->excl < num_bytes); in __qgroup_excl_accounting()
[all …]
Ddelayed-ref.h34 u64 num_bytes; member
207 u64 bytenr, u64 num_bytes, u64 parent,
213 u64 bytenr, u64 num_bytes,
220 u64 bytenr, u64 num_bytes,
Dfile.c495 u64 num_bytes; in btrfs_dirty_pages() local
502 num_bytes = ALIGN(write_bytes + pos - start_pos, root->sectorsize); in btrfs_dirty_pages()
504 end_of_last_block = start_pos + num_bytes - 1; in btrfs_dirty_pages()
706 u64 num_bytes = 0; in __btrfs_drop_extents() local
778 num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in __btrfs_drop_extents()
855 disk_bytenr, num_bytes, 0, in __btrfs_drop_extents()
933 disk_bytenr, num_bytes, 0, in __btrfs_drop_extents()
1083 u64 num_bytes; in btrfs_mark_extent_written() local
1122 num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in btrfs_mark_extent_written()
1213 ret = btrfs_inc_extent_ref(trans, root, bytenr, num_bytes, 0, in btrfs_mark_extent_written()
[all …]
Ddelayed-inode.c548 u64 num_bytes; in btrfs_delayed_item_reserve_metadata() local
557 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in btrfs_delayed_item_reserve_metadata()
558 ret = btrfs_block_rsv_migrate(src_rsv, dst_rsv, num_bytes); in btrfs_delayed_item_reserve_metadata()
562 num_bytes, 1); in btrfs_delayed_item_reserve_metadata()
563 item->bytes_reserved = num_bytes; in btrfs_delayed_item_reserve_metadata()
593 u64 num_bytes; in btrfs_delayed_inode_reserve_metadata() local
600 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in btrfs_delayed_inode_reserve_metadata()
613 ret = btrfs_block_rsv_add(root, dst_rsv, num_bytes, in btrfs_delayed_inode_reserve_metadata()
624 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata()
628 num_bytes, 1); in btrfs_delayed_inode_reserve_metadata()
[all …]
Dprops.c314 u64 num_bytes; in inherit_props() local
323 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in inherit_props()
325 num_bytes, BTRFS_RESERVE_NO_FLUSH); in inherit_props()
330 btrfs_block_rsv_release(root, trans->block_rsv, num_bytes); in inherit_props()
Dinode.c400 u64 num_bytes; in compress_file_range() local
462 num_bytes = ALIGN(end - start + 1, blocksize); in compress_file_range()
463 num_bytes = max(blocksize, num_bytes); in compress_file_range()
574 num_bytes = total_in; in compress_file_range()
604 add_async_extent(async_cow, start, num_bytes, in compress_file_range()
608 if (start + num_bytes < end) { in compress_file_range()
609 start += num_bytes; in compress_file_range()
867 u64 num_bytes) in get_extent_allocation_hint() argument
874 em = search_extent_mapping(em_tree, start, num_bytes); in get_extent_allocation_hint()
919 u64 num_bytes; in cow_file_range() local
[all …]
Dctree.h922 __le64 num_bytes; member
3121 struct btrfs_file_extent_item, num_bytes, 64);
3147 num_bytes, 64);
3366 u64 bytenr, u64 num_bytes);
3394 int btrfs_reserve_extent(struct btrfs_root *root, u64 num_bytes,
3403 u64 bytenr, u64 num_bytes, u64 flags,
3407 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid,
3420 u64 bytenr, u64 num_bytes, u64 parent,
3471 int btrfs_delalloc_reserve_metadata(struct inode *inode, u64 num_bytes);
3472 void btrfs_delalloc_release_metadata(struct inode *inode, u64 num_bytes);
[all …]
Drelocation.c1578 u64 bytenr, u64 num_bytes) argument
1609 if (num_bytes != btrfs_file_extent_disk_num_bytes(leaf, fi)) {
1637 u64 num_bytes; local
1665 num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi);
1703 bytenr, num_bytes);
1717 num_bytes, parent,
1725 ret = btrfs_free_extent(trans, root, bytenr, num_bytes,
2270 u64 num_bytes = 0; local
2280 num_bytes = rc->merging_rsv_size;
2281 ret = btrfs_block_rsv_add(root, rc->block_rsv, num_bytes,
[all …]
Dinode-map.c399 u64 num_bytes; in btrfs_save_ino_cache() local
425 num_bytes = trans->bytes_reserved; in btrfs_save_ino_cache()
512 trans->bytes_reserved = num_bytes; in btrfs_save_ino_cache()
Dtransaction.c419 u64 num_bytes = 0; in start_transaction() local
453 num_bytes = btrfs_calc_trans_metadata_size(root, num_items); in start_transaction()
458 num_bytes += root->nodesize; in start_transaction()
464 num_bytes, flush); in start_transaction()
537 if (num_bytes) { in start_transaction()
539 h->transid, num_bytes, 1); in start_transaction()
541 h->bytes_reserved = num_bytes; in start_transaction()
558 if (num_bytes) in start_transaction()
560 num_bytes); in start_transaction()
Dcheck-integrity.c1421 u64 num_bytes; in btrfsic_handle_extent_data() local
1463 num_bytes = btrfs_stack_file_extent_num_bytes(&file_extent_item); in btrfsic_handle_extent_data()
1465 num_bytes = btrfs_stack_file_extent_disk_num_bytes(&file_extent_item); in btrfsic_handle_extent_data()
1475 num_bytes); in btrfsic_handle_extent_data()
1476 while (num_bytes > 0) { in btrfsic_handle_extent_data()
1481 if (num_bytes > state->datablock_size) in btrfsic_handle_extent_data()
1484 chunk_len = num_bytes; in btrfsic_handle_extent_data()
1562 num_bytes -= chunk_len; in btrfsic_handle_extent_data()
Dvolumes.c1112 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent() argument
1221 if (hole_size >= num_bytes) { in find_free_dev_extent()
1258 if (max_hole_size < num_bytes) in find_free_dev_extent()
1332 u64 chunk_offset, u64 start, u64 num_bytes) in btrfs_alloc_dev_extent() argument
1365 btrfs_set_dev_extent_length(leaf, extent, num_bytes); in btrfs_alloc_dev_extent()
4242 u64 num_bytes; in __btrfs_alloc_chunk() local
4444 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk()
4446 trace_btrfs_chunk_alloc(info->chunk_root, map, start, num_bytes); in __btrfs_alloc_chunk()
4457 em->len = num_bytes; in __btrfs_alloc_chunk()
4477 start, num_bytes); in __btrfs_alloc_chunk()
[all …]
Dvolumes.h461 struct btrfs_device *device, u64 num_bytes,
Dfile-item.c44 u64 num_bytes, u64 offset, u64 ram_bytes, in btrfs_insert_file_extent() argument
72 btrfs_set_file_extent_num_bytes(leaf, item, num_bytes); in btrfs_insert_file_extent()
Dsend.c1283 u64 num_bytes; in find_extent_clone() local
1329 num_bytes = btrfs_file_extent_num_bytes(eb, fi); in find_extent_clone()
1365 backref_ctx->extent_len = num_bytes; in find_extent_clone()
1372 if (data_offset + num_bytes >= ino_size) in find_extent_clone()
1402 data_offset, ino, num_bytes, logical); in find_extent_clone()
Ddisk-io.c4132 head->node.num_bytes, 1); in btrfs_destroy_delayed_refs()
/linux-4.1.27/fs/ecryptfs/
Dread_write.c128 size_t num_bytes = (PAGE_CACHE_SIZE - start_offset_in_page); in ecryptfs_write() local
136 if (num_bytes > total_remaining_bytes) in ecryptfs_write()
137 num_bytes = total_remaining_bytes; in ecryptfs_write()
142 if (num_bytes > total_remaining_zeros) in ecryptfs_write()
143 num_bytes = total_remaining_zeros; in ecryptfs_write()
175 (data + data_offset), num_bytes); in ecryptfs_write()
176 data_offset += num_bytes; in ecryptfs_write()
195 pos += num_bytes; in ecryptfs_write()
/linux-4.1.27/drivers/staging/comedi/
Dcomedi_buf.c283 unsigned int num_bytes) in comedi_buf_munge() argument
290 async->munge_count += num_bytes; in comedi_buf_munge()
291 count = num_bytes; in comedi_buf_munge()
294 num_bytes -= num_bytes % num_sample_bytes; in comedi_buf_munge()
295 while (count < num_bytes) { in comedi_buf_munge()
296 int block_size = num_bytes - count; in comedi_buf_munge()
355 unsigned num_bytes; in comedi_buf_read_n_available() local
360 num_bytes = async->munge_count - async->buf_read_count; in comedi_buf_read_n_available()
368 return num_bytes; in comedi_buf_read_n_available()
425 const void *data, unsigned int num_bytes) in comedi_buf_memcpy_to() argument
[all …]
Dcomedidev.h83 void *data, unsigned int num_bytes,
594 unsigned int num_bytes);
Ddrivers.c420 unsigned int num_bytes) in comedi_inc_scan_progress() argument
428 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress()
432 async->scan_progress += num_bytes; in comedi_inc_scan_progress()
/linux-4.1.27/arch/sparc/prom/
Dmemory.c24 sp_banks[index].num_bytes = p->num_bytes; in prom_meminit_v0()
43 sp_banks[i].num_bytes = reg[i].reg_size; in prom_meminit_v2()
83 sp_banks[num_ents].num_bytes = 0; in prom_meminit()
86 sp_banks[i].num_bytes &= PAGE_MASK; in prom_meminit()
Dmisc_32.c96 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
101 if((len>num_bytes) || (len==-1)) return 0xff; in prom_get_idprom()
102 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
Dmisc_64.c151 unsigned char prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
156 if ((len >num_bytes) || (len == -1)) in prom_get_idprom()
158 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
/linux-4.1.27/sound/soc/codecs/
Dsigmadsp.c32 unsigned int num_bytes; member
63 __le16 num_bytes; member
111 info->count = ctrl->num_bytes; in sigmadsp_ctrl_info()
120 if (ctrl->num_bytes > 4 && ctrl->num_bytes <= 20 && sigmadsp->ops && in sigmadsp_ctrl_write()
123 ctrl->num_bytes); in sigmadsp_ctrl_write()
126 ctrl->num_bytes); in sigmadsp_ctrl_write()
145 memcpy(ctrl->cache, data, ctrl->num_bytes); in sigmadsp_ctrl_put()
165 ctrl->num_bytes); in sigmadsp_ctrl_get()
171 ctrl->num_bytes); in sigmadsp_ctrl_get()
204 unsigned int num_bytes; in sigma_fw_load_control() local
[all …]
/linux-4.1.27/arch/sparc/include/asm/
Dopenprom.h22 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
23 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
24 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
25 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
53 unsigned num_bytes; member
Doplib_64.h51 unsigned long num_bytes; member
Dpage_32.h39 unsigned long num_bytes; member
/linux-4.1.27/arch/m68k/include/asm/
Dopenprom.h30 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
31 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
32 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
33 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
61 unsigned num_bytes; member
Doplib.h58 …rn char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_bytes);
59 extern void prom_unmapio(char *virt_addr, unsigned int num_bytes);
/linux-4.1.27/arch/x86/crypto/
Daes_ctrby8_avx-x86_64.S92 #define num_bytes %r8 macro
440 cmp $16, num_bytes
447 mov num_bytes, tmp
464 and $(~7*16), num_bytes
471 and $(~7*16), num_bytes
479 and $(~7*16), num_bytes
486 and $(~7*16), num_bytes
498 and $(~7*16), num_bytes
505 and $(~7*16), num_bytes
512 and $(~7*16), num_bytes
[all …]
Daesni-intel_glue.c159 void *keys, u8 *out, unsigned int num_bytes);
161 void *keys, u8 *out, unsigned int num_bytes);
163 void *keys, u8 *out, unsigned int num_bytes);
/linux-4.1.27/crypto/
Dscatterwalk.c128 int scatterwalk_bytes_sglen(struct scatterlist *sg, int num_bytes) in scatterwalk_bytes_sglen() argument
133 if (num_bytes < sg->length) in scatterwalk_bytes_sglen()
142 if (unlikely(!sg && (num_bytes < offset))) in scatterwalk_bytes_sglen()
144 } while (sg && (num_bytes > offset)); in scatterwalk_bytes_sglen()
/linux-4.1.27/include/trace/events/
Dbtrfs.h460 __field( u64, num_bytes )
471 __entry->num_bytes = ref->num_bytes;
484 (unsigned long long)__entry->num_bytes,
520 __field( u64, num_bytes )
532 __entry->num_bytes = ref->num_bytes;
546 (unsigned long long)__entry->num_bytes,
584 __field( u64, num_bytes )
591 __entry->num_bytes = ref->num_bytes;
598 (unsigned long long)__entry->num_bytes,
786 TP_PROTO(struct btrfs_root *root, u64 num_bytes, u64 empty_size,
[all …]
/linux-4.1.27/fs/btrfs/tests/
Dqgroup-tests.c34 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument
50 ins.offset = num_bytes; in insert_normal_tree_ref()
86 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument
100 key.offset = num_bytes; in add_tree_ref()
139 u64 num_bytes) in remove_extent_item() argument
150 key.offset = num_bytes; in remove_extent_item()
171 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
184 key.offset = num_bytes; in remove_extent_ref()
/linux-4.1.27/include/drm/
Ddrm_dp_mst_helper.h174 u8 num_bytes; member
190 u8 num_bytes; member
245 u8 num_bytes; member
251 u8 num_bytes; member
261 u8 num_bytes; member
273 u8 num_bytes; member
Ddrm_displayid.h64 u8 num_bytes; member
/linux-4.1.27/drivers/i2c/busses/
Di2c-omap.c938 static void omap_i2c_receive_data(struct omap_i2c_dev *dev, u8 num_bytes, in omap_i2c_receive_data() argument
943 while (num_bytes--) { in omap_i2c_receive_data()
959 static int omap_i2c_transmit_data(struct omap_i2c_dev *dev, u8 num_bytes, in omap_i2c_transmit_data() argument
964 while (num_bytes--) { in omap_i2c_transmit_data()
1071 u8 num_bytes = 1; in omap_i2c_isr_thread() local
1074 num_bytes = dev->buf_len; in omap_i2c_isr_thread()
1078 num_bytes = (omap_i2c_read_reg(dev, in omap_i2c_isr_thread()
1082 omap_i2c_receive_data(dev, num_bytes, true); in omap_i2c_isr_thread()
1088 u8 num_bytes = 1; in omap_i2c_isr_thread() local
1091 num_bytes = dev->threshold; in omap_i2c_isr_thread()
[all …]
/linux-4.1.27/arch/m68k/sun3/prom/
Dmisc.c56 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
61 for(i=0;i<num_bytes; i++) in prom_get_idprom()
/linux-4.1.27/arch/m68k/sun3x/
Dprom.c156 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
161 for (i = 0; i < num_bytes; i++) in prom_get_idprom()
/linux-4.1.27/drivers/char/tpm/
Dtpm2-cmd.c340 u32 num_bytes; in tpm2_get_random() local
346 num_bytes = min_t(u32, max, sizeof(cmd.params.getrandom_out.buffer)); in tpm2_get_random()
348 if (!out || !num_bytes || in tpm2_get_random()
354 cmd.params.getrandom_in.size = cpu_to_be16(num_bytes); in tpm2_get_random()
362 num_bytes); in tpm2_get_random()
367 num_bytes -= recd; in tpm2_get_random()
Dtpm-interface.c984 u32 recd, num_bytes = min_t(u32, max, TPM_MAX_RNG_DATA); in tpm_get_random() local
988 if (!out || !num_bytes || max > TPM_MAX_RNG_DATA) in tpm_get_random()
1003 tpm_cmd.params.getrandom_in.num_bytes = cpu_to_be32(num_bytes); in tpm_get_random()
1006 TPM_GETRANDOM_RESULT_SIZE + num_bytes, in tpm_get_random()
1016 num_bytes -= recd; in tpm_get_random()
Dtpm.h367 __be32 num_bytes; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Datombios_dp.c53 void radeon_atom_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le) in radeon_atom_copy_swap() argument
60 memcpy(src_tmp, src, num_bytes); in radeon_atom_copy_swap()
64 for (i = 0; i < ((num_bytes + 3) / 4); i++) in radeon_atom_copy_swap()
66 memcpy(dst, dst_tmp, num_bytes); in radeon_atom_copy_swap()
68 u8 dws = num_bytes & ~3; in radeon_atom_copy_swap()
69 for (i = 0; i < ((num_bytes + 3) / 4); i++) in radeon_atom_copy_swap()
72 if (num_bytes % 4) { in radeon_atom_copy_swap()
73 for (i = 0; i < (num_bytes % 4); i++) in radeon_atom_copy_swap()
78 memcpy(dst, src, num_bytes); in radeon_atom_copy_swap()
Dradeon_mode.h779 void radeon_atom_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le);
/linux-4.1.27/drivers/uwb/
Ddrp.c107 int num_bytes = 0; in uwb_rc_send_all_drp_ie() local
114 num_bytes += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
118 num_bytes += in uwb_rc_send_all_drp_ie()
123 num_bytes += sizeof(rc->drp_avail.ie); in uwb_rc_send_all_drp_ie()
124 cmd = kzalloc(sizeof(*cmd) + num_bytes, GFP_KERNEL); in uwb_rc_send_all_drp_ie()
129 cmd->wIELength = num_bytes; in uwb_rc_send_all_drp_ie()
156 &cmd->rccb, sizeof(*cmd) + num_bytes, in uwb_rc_send_all_drp_ie()
/linux-4.1.27/drivers/firmware/google/
Dmemconsole.c38 u16 num_bytes; member
90 hdr->v2.end, hdr->v2.num_bytes); in found_v2_header()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-alsa-pcm.h27 size_t num_bytes);
Dcx18-alsa-pcm.c74 size_t num_bytes) in cx18_alsa_announce_pcm_data() argument
84 pcm_data, num_bytes); in cx18_alsa_announce_pcm_data()
104 length = num_bytes / stride; in cx18_alsa_announce_pcm_data()
Dcx18-driver.h616 size_t num_bytes);
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c75 size_t num_bytes) in ivtv_alsa_announce_pcm_data() argument
85 pcm_data, num_bytes); in ivtv_alsa_announce_pcm_data()
105 length = num_bytes / stride; in ivtv_alsa_announce_pcm_data()
Divtv-driver.h676 size_t num_bytes);
/linux-4.1.27/drivers/gpu/drm/
Ddrm_dp_mst_topology.c246 buf[idx] = (req->u.dpcd_read.num_bytes); in drm_dp_encode_sideband_req()
258 buf[idx] = (req->u.dpcd_write.num_bytes); in drm_dp_encode_sideband_req()
260 memcpy(&buf[idx], req->u.dpcd_write.bytes, req->u.dpcd_write.num_bytes); in drm_dp_encode_sideband_req()
261 idx += req->u.dpcd_write.num_bytes; in drm_dp_encode_sideband_req()
270 buf[idx] = req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req()
272 …emcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes); in drm_dp_encode_sideband_req()
273 idx += req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req()
290 buf[idx] = (req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req()
292 memcpy(&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req()
293 idx += req->u.i2c_write.num_bytes; in drm_dp_encode_sideband_req()
[all …]
Ddrm_edid.c3955 block->tag, block->rev, block->num_bytes); in drm_parse_display_id()
/linux-4.1.27/drivers/mfd/
Dtwl-core.c454 int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) in twl_i2c_write() argument
463 value, num_bytes); in twl_i2c_write()
467 DRIVER_NAME, mod_no, reg, num_bytes); in twl_i2c_write()
482 int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) in twl_i2c_read() argument
491 value, num_bytes); in twl_i2c_read()
495 DRIVER_NAME, mod_no, reg, num_bytes); in twl_i2c_read()
/linux-4.1.27/arch/sparc/kernel/
Dsetup_32.c345 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in setup_arch()
351 sp_banks[i].num_bytes; in setup_arch()
/linux-4.1.27/block/partitions/
Dsgi.c19 __be32 num_bytes; /* How big, in bytes */ member
/linux-4.1.27/include/crypto/
Dscatterwalk.h103 int scatterwalk_bytes_sglen(struct scatterlist *sg, int num_bytes);
/linux-4.1.27/drivers/input/keyboard/
Dtwl4030_keypad.c139 u8 *data, u32 reg, u8 num_bytes) in twl4030_kpread() argument
141 int ret = twl_i2c_read(TWL4030_MODULE_KEYPAD, data, reg, num_bytes); in twl4030_kpread()
/linux-4.1.27/include/linux/i2c/
Dtwl.h183 int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes);
184 int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes);
/linux-4.1.27/arch/powerpc/kernel/
Dtraps.c881 u32 num_bytes; in emulate_string_inst() local
896 num_bytes = regs->xer & 0x7f; in emulate_string_inst()
900 num_bytes = (NB_RB == 0) ? 32 : NB_RB; in emulate_string_inst()
906 while (num_bytes != 0) in emulate_string_inst()
935 num_bytes--; in emulate_string_inst()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c1678 size_t num_bytes) in ll_do_fiemap() argument
1683 __u32 vallen = num_bytes; in ll_do_fiemap()
1789 size_t num_bytes, ret_bytes; in ll_ioctl_fiemap() local
1802 num_bytes = sizeof(*fiemap_s) + (extent_count * in ll_ioctl_fiemap()
1805 OBD_ALLOC_LARGE(fiemap_s, num_bytes); in ll_ioctl_fiemap()
1828 rc = ll_do_fiemap(inode, fiemap_s, num_bytes); in ll_ioctl_fiemap()
1842 OBD_FREE_LARGE(fiemap_s, num_bytes); in ll_ioctl_fiemap()
3059 size_t num_bytes; in ll_fiemap() local
3063 num_bytes = sizeof(*fiemap) + (extent_count * in ll_fiemap()
3065 OBD_ALLOC_LARGE(fiemap, num_bytes); in ll_fiemap()
[all …]
/linux-4.1.27/drivers/staging/comedi/drivers/
Dadl_pci9111.c418 unsigned int num_bytes, in pci9111_ai_munge() argument
425 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9111_ai_munge()
Damplc_pci224.c912 void *data, unsigned int num_bytes, unsigned int chan_index) in pci224_ao_munge() argument
917 unsigned int length = num_bytes / sizeof(*array); in pci224_ao_munge()
Ddas16.c798 unsigned int num_bytes, in das16_ai_munge() argument
802 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das16_ai_munge()
Dadl_pci9118.c619 unsigned int num_bytes, in pci9118_ai_munge() argument
624 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9118_ai_munge()
Dcb_pcidas64.c2950 unsigned int num_bytes; in load_ao_dma() local
2966 num_bytes = load_ao_dma_buffer(dev, cmd); in load_ao_dma()
2967 } while (num_bytes >= DMA_BUFFER_SIZE); in load_ao_dma()
Dni_mio_common.c1615 void *data, unsigned int num_bytes, in ni_ai_munge() argument
1621 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ai_munge()
2732 void *data, unsigned int num_bytes, in ni_ao_munge() argument
2736 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ao_munge()
/linux-4.1.27/drivers/scsi/
Dultrastor.c171 u32 num_bytes; member
692 mscp->sglist[i].num_bytes = sg->length; in build_sg_list()
Du14-34f.c546 unsigned int num_bytes; /* Segment Length */ member
1135 cpp->sglist[k].num_bytes = H2DEV(sg_dma_len(sg)); in map_dma()
Deata.c744 unsigned int num_bytes; /* Segment Length */ member
1628 cpp->sglist[k].num_bytes = H2DEV(sg_dma_len(sg)); in map_dma()
/linux-4.1.27/Documentation/
DDMA-ISA-LPC.txt125 set_dma_count(channel, num_bytes);
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c4266 u32 flash_op, num_bytes, total_bytes = img_size, bytes_sent = 0; in be_flash() local
4271 num_bytes = min_t(u32, 32*1024, total_bytes); in be_flash()
4273 total_bytes -= num_bytes; in be_flash()
4287 memcpy(req->data_buf, img, num_bytes); in be_flash()
4288 img += num_bytes; in be_flash()
4291 bytes_sent, num_bytes); in be_flash()
4298 bytes_sent += num_bytes; in be_flash()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1784 static void hdmi_set_reg(u8 *reg_pair, int num_bytes, u32 value) in hdmi_set_reg() argument
1787 BUG_ON(num_bytes > 4); in hdmi_set_reg()
1788 for (i = 0; i < num_bytes; i++) in hdmi_set_reg()
/linux-4.1.27/fs/ocfs2/
Dalloc.c1587 unsigned int num_bytes; in ocfs2_shift_records_right() local
1593 num_bytes = sizeof(struct ocfs2_extent_rec) * next_free; in ocfs2_shift_records_right()
1595 memmove(&el->l_recs[1], &el->l_recs[0], num_bytes); in ocfs2_shift_records_right()
1601 int i, insert_index, next_free, has_empty, num_bytes; in ocfs2_rotate_leaf() local
1654 num_bytes = next_free - insert_index; in ocfs2_rotate_leaf()
1655 num_bytes *= sizeof(struct ocfs2_extent_rec); in ocfs2_rotate_leaf()
1658 num_bytes); in ocfs2_rotate_leaf()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_iocb.c868 uint32_t num_bytes; member
884 if (sgx->num_bytes == sgx->tot_bytes) in qla24xx_get_one_block_sg()
898 sgx->num_bytes += blk_sz; in qla24xx_get_one_block_sg()
/linux-4.1.27/fs/fuse/
Dfile.c619 size_t num_bytes, struct fuse_io_priv *io) in fuse_async_req_send() argument
623 io->size += num_bytes; in fuse_async_req_send()
633 return num_bytes; in fuse_async_req_send()