Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/fs/btrfs/
Dqgroup.h32 u64 num_bytes; member
72 u64 bytenr, u64 num_bytes,
82 u64 ref_root, u64 num_bytes);
88 u64 ref_root, u64 num_bytes) in btrfs_qgroup_free_delayed_ref() argument
90 btrfs_qgroup_free_refroot(fs_info, ref_root, num_bytes); in btrfs_qgroup_free_delayed_ref()
91 trace_btrfs_qgroup_free_delayed_ref(ref_root, num_bytes); in btrfs_qgroup_free_delayed_ref()
105 int btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes);
107 void btrfs_qgroup_free_meta(struct btrfs_root *root, int num_bytes);
Ddelayed-ref.c381 head->node.num_bytes; in btrfs_select_ref_head()
484 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
521 delayed_refs->pending_csums -= existing->num_bytes; in update_existing_head_ref()
523 delayed_refs->pending_csums += existing->num_bytes; in update_existing_head_ref()
538 u64 bytenr, u64 num_bytes, u64 ref_root, u64 reserved, in add_delayed_ref_head() argument
581 ref->num_bytes = num_bytes; in add_delayed_ref_head()
606 qrecord->num_bytes = num_bytes; in add_delayed_ref_head()
634 delayed_refs->pending_csums += num_bytes; in add_delayed_ref_head()
651 u64 num_bytes, u64 parent, u64 ref_root, int level, in add_delayed_tree_ref() argument
669 ref->num_bytes = num_bytes; in add_delayed_tree_ref()
[all …]
Dextent-tree.c79 u64 num_bytes, int alloc);
107 u64 num_bytes, int reserve,
110 u64 num_bytes);
112 u64 bytenr, u64 num_bytes, int reserved);
229 u64 start, u64 num_bytes) in add_excluded_extent() argument
231 u64 end = start + num_bytes - 1; in add_excluded_extent()
1535 u64 bytenr, u64 num_bytes, in lookup_inline_extent_backref() argument
1557 key.offset = num_bytes; in lookup_inline_extent_backref()
1594 key.offset == num_bytes) in lookup_inline_extent_backref()
1600 key.offset = num_bytes; in lookup_inline_extent_backref()
[all …]
Dqgroup.c1046 u64 num_bytes, int sign) in __qgroup_excl_accounting() argument
1058 qgroup->rfer += sign * num_bytes; in __qgroup_excl_accounting()
1059 qgroup->rfer_cmpr += sign * num_bytes; in __qgroup_excl_accounting()
1061 WARN_ON(sign < 0 && qgroup->excl < num_bytes); in __qgroup_excl_accounting()
1062 qgroup->excl += sign * num_bytes; in __qgroup_excl_accounting()
1063 qgroup->excl_cmpr += sign * num_bytes; in __qgroup_excl_accounting()
1065 qgroup->reserved -= num_bytes; in __qgroup_excl_accounting()
1081 qgroup->rfer += sign * num_bytes; in __qgroup_excl_accounting()
1082 qgroup->rfer_cmpr += sign * num_bytes; in __qgroup_excl_accounting()
1083 WARN_ON(sign < 0 && qgroup->excl < num_bytes); in __qgroup_excl_accounting()
[all …]
Ddelayed-ref.h50 u64 num_bytes; member
244 u64 bytenr, u64 num_bytes, u64 parent,
249 u64 bytenr, u64 num_bytes,
255 u64 ref_root, u64 bytenr, u64 num_bytes);
258 u64 bytenr, u64 num_bytes,
Ddelayed-inode.c552 u64 num_bytes; in btrfs_delayed_item_reserve_metadata() local
561 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in btrfs_delayed_item_reserve_metadata()
562 ret = btrfs_block_rsv_migrate(src_rsv, dst_rsv, num_bytes); in btrfs_delayed_item_reserve_metadata()
566 num_bytes, 1); in btrfs_delayed_item_reserve_metadata()
567 item->bytes_reserved = num_bytes; in btrfs_delayed_item_reserve_metadata()
597 u64 num_bytes; in btrfs_delayed_inode_reserve_metadata() local
604 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in btrfs_delayed_inode_reserve_metadata()
617 ret = btrfs_block_rsv_add(root, dst_rsv, num_bytes, in btrfs_delayed_inode_reserve_metadata()
628 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata()
632 num_bytes, 1); in btrfs_delayed_inode_reserve_metadata()
[all …]
Dprops.c313 u64 num_bytes; in inherit_props() local
322 num_bytes = btrfs_calc_trans_metadata_size(root, 1); in inherit_props()
324 num_bytes, BTRFS_RESERVE_NO_FLUSH); in inherit_props()
329 btrfs_block_rsv_release(root, trans->block_rsv, num_bytes); in inherit_props()
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 …]
Dinode.c407 u64 num_bytes; in compress_file_range() local
469 num_bytes = ALIGN(end - start + 1, blocksize); in compress_file_range()
470 num_bytes = max(blocksize, num_bytes); in compress_file_range()
581 num_bytes = total_in; in compress_file_range()
611 add_async_extent(async_cow, start, num_bytes, in compress_file_range()
615 if (start + num_bytes < end) { in compress_file_range()
616 start += num_bytes; in compress_file_range()
874 u64 num_bytes) in get_extent_allocation_hint() argument
881 em = search_extent_mapping(em_tree, start, num_bytes); in get_extent_allocation_hint()
926 u64 num_bytes; in cow_file_range() local
[all …]
Dtransaction.c456 u64 num_bytes = 0; in start_transaction() local
487 num_bytes = btrfs_calc_trans_metadata_size(root, num_items); in start_transaction()
492 num_bytes += root->nodesize; in start_transaction()
498 num_bytes, flush); in start_transaction()
560 if (num_bytes) { in start_transaction()
562 h->transid, num_bytes, 1); in start_transaction()
564 h->bytes_reserved = num_bytes; in start_transaction()
580 if (num_bytes) in start_transaction()
582 num_bytes); in start_transaction()
600 u64 num_bytes; in btrfs_start_transaction_fallback_global_rsv() local
[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,
2272 u64 num_bytes = 0; local
2282 num_bytes = rc->merging_rsv_size;
2283 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()
Dctree.h949 __le64 num_bytes; member
3165 struct btrfs_file_extent_item, num_bytes, 64);
3191 num_bytes, 64);
3410 u64 bytenr, u64 num_bytes);
3440 int btrfs_reserve_extent(struct btrfs_root *root, u64 num_bytes,
3449 u64 bytenr, u64 num_bytes, u64 flags,
3453 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid,
3466 u64 bytenr, u64 num_bytes, u64 parent,
3526 int btrfs_delalloc_reserve_metadata(struct inode *inode, u64 num_bytes);
3527 void btrfs_delalloc_release_metadata(struct inode *inode, u64 num_bytes);
[all …]
Dvolumes.h476 struct btrfs_device *device, u64 num_bytes,
479 struct btrfs_device *device, u64 num_bytes,
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.c1246 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent_start() argument
1356 if (hole_size >= num_bytes) { in find_free_dev_extent_start()
1393 if (max_hole_size < num_bytes) in find_free_dev_extent_start()
1407 struct btrfs_device *device, u64 num_bytes, in find_free_dev_extent() argument
1412 num_bytes, 0, start, len); in find_free_dev_extent()
1476 u64 chunk_offset, u64 start, u64 num_bytes) in btrfs_alloc_dev_extent() argument
1509 btrfs_set_dev_extent_length(leaf, extent, num_bytes); in btrfs_alloc_dev_extent()
4510 u64 num_bytes; in __btrfs_alloc_chunk() local
4712 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk()
4714 trace_btrfs_chunk_alloc(info->chunk_root, map, start, num_bytes); in __btrfs_alloc_chunk()
[all …]
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.c1287 u64 num_bytes; in find_extent_clone() local
1333 num_bytes = btrfs_file_extent_num_bytes(eb, fi); in find_extent_clone()
1369 backref_ctx->extent_len = num_bytes; in find_extent_clone()
1389 if (data_offset + num_bytes >= ino_size) in find_extent_clone()
1419 data_offset, ino, num_bytes, logical); in find_extent_clone()
Ddisk-io.c4234 head->node.num_bytes, 1); in btrfs_destroy_delayed_refs()
/linux-4.4.14/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.4.14/drivers/staging/comedi/
Dcomedi_buf.c301 unsigned int num_bytes) in comedi_buf_munge() argument
308 async->munge_count += num_bytes; in comedi_buf_munge()
309 count = num_bytes; in comedi_buf_munge()
312 num_bytes -= num_bytes % num_sample_bytes; in comedi_buf_munge()
313 while (count < num_bytes) { in comedi_buf_munge()
314 int block_size = num_bytes - count; in comedi_buf_munge()
398 unsigned num_bytes; in comedi_buf_read_n_available() local
403 num_bytes = async->munge_count - async->buf_read_count; in comedi_buf_read_n_available()
411 return num_bytes; in comedi_buf_read_n_available()
494 const void *data, unsigned int num_bytes) in comedi_buf_memcpy_to() argument
[all …]
Dcomedidev.h208 void *data, unsigned int num_bytes,
993 unsigned int num_bytes);
Ddrivers.c516 unsigned int num_bytes) in comedi_inc_scan_progress() argument
524 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress()
528 async->scan_progress += num_bytes; in comedi_inc_scan_progress()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/fs/btrfs/tests/
Dqgroup-tests.c35 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument
51 ins.offset = num_bytes; in insert_normal_tree_ref()
87 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument
101 key.offset = num_bytes; in add_tree_ref()
140 u64 num_bytes) in remove_extent_item() argument
151 key.offset = num_bytes; in remove_extent_item()
172 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
185 key.offset = num_bytes; in remove_extent_ref()
/linux-4.4.14/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.4.14/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.4.14/drivers/i2c/busses/
Di2c-omap.c937 static void omap_i2c_receive_data(struct omap_i2c_dev *omap, u8 num_bytes, in omap_i2c_receive_data() argument
942 while (num_bytes--) { in omap_i2c_receive_data()
958 static int omap_i2c_transmit_data(struct omap_i2c_dev *omap, u8 num_bytes, in omap_i2c_transmit_data() argument
963 while (num_bytes--) { in omap_i2c_transmit_data()
1070 u8 num_bytes = 1; in omap_i2c_isr_thread() local
1073 num_bytes = omap->buf_len; in omap_i2c_isr_thread()
1077 num_bytes = (omap_i2c_read_reg(omap, in omap_i2c_isr_thread()
1081 omap_i2c_receive_data(omap, num_bytes, true); in omap_i2c_isr_thread()
1087 u8 num_bytes = 1; in omap_i2c_isr_thread() local
1090 num_bytes = omap->threshold; in omap_i2c_isr_thread()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.h782 void radeon_atom_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le);
/linux-4.4.14/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.4.14/drivers/firmware/google/
Dmemconsole.c38 u16 num_bytes; member
90 hdr->v2.end, hdr->v2.num_bytes); in found_v2_header()
/linux-4.4.14/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.4.14/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.4.14/drivers/char/tpm/
Dtpm2-cmd.c345 u32 num_bytes; in tpm2_get_random() local
351 num_bytes = min_t(u32, max, sizeof(cmd.params.getrandom_out.buffer)); in tpm2_get_random()
353 if (!out || !num_bytes || in tpm2_get_random()
359 cmd.params.getrandom_in.size = cpu_to_be16(num_bytes); in tpm2_get_random()
367 num_bytes); in tpm2_get_random()
372 num_bytes -= recd; in tpm2_get_random()
Dtpm-interface.c1008 u32 recd, num_bytes = min_t(u32, max, TPM_MAX_RNG_DATA); in tpm_get_random() local
1012 if (!out || !num_bytes || max > TPM_MAX_RNG_DATA) in tpm_get_random()
1027 tpm_cmd.params.getrandom_in.num_bytes = cpu_to_be32(num_bytes); in tpm_get_random()
1030 TPM_GETRANDOM_RESULT_SIZE + num_bytes, in tpm_get_random()
1040 num_bytes -= recd; in tpm_get_random()
Dtpm.h377 __be32 num_bytes; member
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c195 MLX5E_TX_SKB_CB(skb)->num_bytes = skb->len + in mlx5e_sq_xmit()
204 MLX5E_TX_SKB_CB(skb)->num_bytes = max_t(unsigned int, skb->len, in mlx5e_sq_xmit()
272 netdev_tx_sent_queue(sq->txq, MLX5E_TX_SKB_CB(skb)->num_bytes); in mlx5e_sq_xmit()
378 nbytes += MLX5E_TX_SKB_CB(skb)->num_bytes; in mlx5e_poll_tx_cq()
Den.h330 u32 num_bytes; member
/linux-4.4.14/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.c4053 block->tag, block->rev, block->num_bytes); in drm_parse_display_id()
/linux-4.4.14/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.4.14/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.4.14/block/partitions/
Dsgi.c19 __be32 num_bytes; /* How big, in bytes */ member
/linux-4.4.14/include/crypto/
Dscatterwalk.h95 int scatterwalk_bytes_sglen(struct scatterlist *sg, int num_bytes);
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c1575 void amdgpu_atombios_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le) in amdgpu_atombios_copy_swap() argument
1582 memcpy(src_tmp, src, num_bytes); in amdgpu_atombios_copy_swap()
1586 for (i = 0; i < ((num_bytes + 3) / 4); i++) in amdgpu_atombios_copy_swap()
1588 memcpy(dst, dst_tmp, num_bytes); in amdgpu_atombios_copy_swap()
1590 u8 dws = num_bytes & ~3; in amdgpu_atombios_copy_swap()
1591 for (i = 0; i < ((num_bytes + 3) / 4); i++) in amdgpu_atombios_copy_swap()
1594 if (num_bytes % 4) { in amdgpu_atombios_copy_swap()
1595 for (i = 0; i < (num_bytes % 4); i++) in amdgpu_atombios_copy_swap()
1600 memcpy(dst, src, num_bytes); in amdgpu_atombios_copy_swap()
Damdgpu_atombios.h204 void amdgpu_atombios_copy_swap(u8 *dst, u8 *src, u8 num_bytes, bool to_le);
/linux-4.4.14/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.4.14/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.4.14/arch/powerpc/kernel/
Dtraps.c883 u32 num_bytes; in emulate_string_inst() local
898 num_bytes = regs->xer & 0x7f; in emulate_string_inst()
902 num_bytes = (NB_RB == 0) ? 32 : NB_RB; in emulate_string_inst()
908 while (num_bytes != 0) in emulate_string_inst()
937 num_bytes--; in emulate_string_inst()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dadl_pci9111.c401 unsigned int num_bytes, in pci9111_ai_munge() argument
408 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.c599 unsigned int num_bytes, in pci9118_ai_munge() argument
604 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9118_ai_munge()
Dcb_pcidas64.c2991 unsigned int num_bytes; in load_ao_dma() local
3007 num_bytes = load_ao_dma_buffer(dev, cmd); in load_ao_dma()
3008 } while (num_bytes >= DMA_BUFFER_SIZE); in load_ao_dma()
Dni_mio_common.c1509 void *data, unsigned int num_bytes, in ni_ai_munge() argument
1515 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ai_munge()
2570 void *data, unsigned int num_bytes, in ni_ao_munge() argument
2574 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ao_munge()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c1669 size_t num_bytes) in ll_do_fiemap() argument
1674 __u32 vallen = num_bytes; in ll_do_fiemap()
1780 size_t num_bytes, ret_bytes; in ll_ioctl_fiemap() local
1793 num_bytes = sizeof(*fiemap_s) + (extent_count * in ll_ioctl_fiemap()
1796 fiemap_s = libcfs_kvzalloc(num_bytes, GFP_NOFS); in ll_ioctl_fiemap()
1819 rc = ll_do_fiemap(inode, fiemap_s, num_bytes); in ll_ioctl_fiemap()
3021 size_t num_bytes; in ll_fiemap() local
3025 num_bytes = sizeof(*fiemap) + (extent_count * in ll_fiemap()
3027 fiemap = libcfs_kvzalloc(num_bytes, GFP_NOFS); in ll_fiemap()
3040 rc = ll_do_fiemap(inode, fiemap, num_bytes); in ll_fiemap()
/linux-4.4.14/drivers/spi/
Dspi-atmel.c1053 u32 num_bytes, num_data = SPI_BFEXT(RXFL, fifolr); in atmel_spi_pump_fifo_data() local
1060 num_bytes = ((xfer->bits_per_word > 8) ? in atmel_spi_pump_fifo_data()
1064 if (as->current_remaining_bytes > num_bytes) in atmel_spi_pump_fifo_data()
1065 as->current_remaining_bytes -= num_bytes; in atmel_spi_pump_fifo_data()
/linux-4.4.14/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.4.14/Documentation/
DDMA-ISA-LPC.txt125 set_dma_count(channel, num_bytes);
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c4568 u32 flash_op, num_bytes, total_bytes = img_size, bytes_sent = 0; in be_flash() local
4573 num_bytes = min_t(u32, 32*1024, total_bytes); in be_flash()
4575 total_bytes -= num_bytes; in be_flash()
4589 memcpy(req->data_buf, img, num_bytes); in be_flash()
4590 img += num_bytes; in be_flash()
4593 bytes_sent, num_bytes); in be_flash()
4600 bytes_sent += num_bytes; in be_flash()
/linux-4.4.14/fs/ocfs2/
Dalloc.c1582 unsigned int num_bytes; in ocfs2_shift_records_right() local
1588 num_bytes = sizeof(struct ocfs2_extent_rec) * next_free; in ocfs2_shift_records_right()
1590 memmove(&el->l_recs[1], &el->l_recs[0], num_bytes); in ocfs2_shift_records_right()
1596 int i, insert_index, next_free, has_empty, num_bytes; in ocfs2_rotate_leaf() local
1649 num_bytes = next_free - insert_index; in ocfs2_rotate_leaf()
1650 num_bytes *= sizeof(struct ocfs2_extent_rec); in ocfs2_rotate_leaf()
1653 num_bytes); in ocfs2_rotate_leaf()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_iocb.c857 uint32_t num_bytes; member
873 if (sgx->num_bytes == sgx->tot_bytes) in qla24xx_get_one_block_sg()
887 sgx->num_bytes += blk_sz; in qla24xx_get_one_block_sg()
/linux-4.4.14/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()