Home
last modified time | relevance | path

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

12345

/Linux-v4.19/fs/btrfs/
Dqgroup.h47 u64 num_bytes; member
216 u64 num_bytes, gfp_t gfp_flag);
240 u64 num_bytes, struct ulist *old_roots,
247 u64 ref_root, u64 num_bytes,
250 u64 ref_root, u64 num_bytes) in btrfs_qgroup_free_delayed_ref() argument
252 trace_btrfs_qgroup_free_delayed_ref(fs_info, ref_root, num_bytes); in btrfs_qgroup_free_delayed_ref()
253 btrfs_qgroup_free_refroot(fs_info, ref_root, num_bytes, in btrfs_qgroup_free_delayed_ref()
269 int __btrfs_qgroup_reserve_meta(struct btrfs_root *root, int num_bytes,
273 int num_bytes, bool enforce) in btrfs_qgroup_reserve_meta_pertrans() argument
275 return __btrfs_qgroup_reserve_meta(root, num_bytes, in btrfs_qgroup_reserve_meta_pertrans()
[all …]
Dqgroup.c69 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_add() argument
72 trace_qgroup_update_reserve(fs_info, qgroup, num_bytes, type); in qgroup_rsv_add()
73 qgroup->rsv.values[type] += num_bytes; in qgroup_rsv_add()
77 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_release() argument
80 trace_qgroup_update_reserve(fs_info, qgroup, -(s64)num_bytes, type); in qgroup_rsv_release()
81 if (qgroup->rsv.values[type] >= num_bytes) { in qgroup_rsv_release()
82 qgroup->rsv.values[type] -= num_bytes; in qgroup_rsv_release()
89 qgroup->rsv.values[type], num_bytes); in qgroup_rsv_release()
1143 u64 num_bytes = src->excl; in __qgroup_excl_accounting() local
1150 qgroup->rfer += sign * num_bytes; in __qgroup_excl_accounting()
[all …]
Dextent-tree.c77 u64 num_bytes);
80 u64 num_bytes);
83 u64 num_bytes);
210 u64 start, u64 num_bytes) in add_excluded_extent() argument
212 u64 end = start + num_bytes - 1; in add_excluded_extent()
741 static void add_pinned_bytes(struct btrfs_fs_info *fs_info, s64 num_bytes, in add_pinned_bytes() argument
758 percpu_counter_add_batch(&space_info->total_bytes_pinned, num_bytes, in add_pinned_bytes()
1476 u64 bytenr, u64 num_bytes, in lookup_inline_extent_backref() argument
1500 key.offset = num_bytes; in lookup_inline_extent_backref()
1537 key.offset == num_bytes) in lookup_inline_extent_backref()
[all …]
Ddelayed-ref.c392 head->num_bytes; in btrfs_select_ref_head()
483 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
522 delayed_refs->pending_csums -= existing->num_bytes; in update_existing_head_ref()
524 delayed_refs->pending_csums += existing->num_bytes; in update_existing_head_ref()
531 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_head() argument
567 head_ref->num_bytes = num_bytes; in init_delayed_ref_head()
589 qrecord->num_bytes = num_bytes; in init_delayed_ref_head()
642 delayed_refs->pending_csums += head_ref->num_bytes; in add_delayed_ref_head()
683 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_common() argument
696 ref->num_bytes = num_bytes; in init_delayed_ref_common()
[all …]
Ddelayed-ref.h30 u64 num_bytes; member
73 u64 num_bytes; member
238 u64 bytenr, u64 num_bytes, u64 parent,
243 u64 bytenr, u64 num_bytes,
249 u64 bytenr, u64 num_bytes,
Dref-verify.c365 u64 num_bytes) in add_shared_data_ref() argument
373 be = add_block_entry(fs_info, bytenr, num_bytes, 0); in add_shared_data_ref()
395 u64 bytenr, u64 num_bytes) in add_extent_data_ref() argument
408 be = add_block_entry(fs_info, bytenr, num_bytes, ref_root); in add_extent_data_ref()
507 struct btrfs_path *path, u64 *bytenr, u64 *num_bytes) in process_leaf() argument
522 *num_bytes = key.offset; in process_leaf()
540 *num_bytes); in process_leaf()
547 *bytenr, *num_bytes); in process_leaf()
560 int level, u64 *bytenr, u64 *num_bytes) in walk_down_tree() argument
591 ret = process_leaf(root, path, bytenr, num_bytes); in walk_down_tree()
[all …]
Dref-verify.h12 int btrfs_ref_tree_mod(struct btrfs_root *root, u64 bytenr, u64 num_bytes,
34 u64 num_bytes, u64 parent, u64 ref_root, in btrfs_ref_tree_mod() argument
/Linux-v4.19/arch/sparc/mm/
Dinit_32.c67 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
69 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
89 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
90 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
99 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
146 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
148 sp_banks[i].num_bytes; in bootmem_init()
149 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
157 sp_banks[i].num_bytes -= slack; in bootmem_init()
158 if (sp_banks[i].num_bytes == 0) { in bootmem_init()
[all …]
/Linux-v4.19/fs/ecryptfs/
Dread_write.c130 size_t num_bytes = (PAGE_SIZE - start_offset_in_page); in ecryptfs_write() local
138 if (num_bytes > total_remaining_bytes) in ecryptfs_write()
139 num_bytes = total_remaining_bytes; in ecryptfs_write()
144 if (num_bytes > total_remaining_zeros) in ecryptfs_write()
145 num_bytes = total_remaining_zeros; in ecryptfs_write()
177 (data + data_offset), num_bytes); in ecryptfs_write()
178 data_offset += num_bytes; in ecryptfs_write()
197 pos += num_bytes; in ecryptfs_write()
/Linux-v4.19/arch/sparc/prom/
Dmemory.c25 sp_banks[index].num_bytes = p->num_bytes; in prom_meminit_v0()
44 sp_banks[i].num_bytes = reg[i].reg_size; in prom_meminit_v2()
84 sp_banks[num_ents].num_bytes = 0; in prom_meminit()
87 sp_banks[i].num_bytes &= PAGE_MASK; in prom_meminit()
Dmisc_32.c97 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
102 if((len>num_bytes) || (len==-1)) return 0xff; in prom_get_idprom()
103 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_buf.c316 unsigned int num_bytes) in comedi_buf_munge() argument
323 async->munge_count += num_bytes; in comedi_buf_munge()
324 count = num_bytes; in comedi_buf_munge()
327 num_bytes -= num_bytes % num_sample_bytes; in comedi_buf_munge()
328 while (count < num_bytes) { in comedi_buf_munge()
329 int block_size = num_bytes - count; in comedi_buf_munge()
413 unsigned int num_bytes; in comedi_buf_read_n_available() local
418 num_bytes = async->munge_count - async->buf_read_count; in comedi_buf_read_n_available()
426 return num_bytes; in comedi_buf_read_n_available()
509 const void *data, unsigned int num_bytes) in comedi_buf_memcpy_to() argument
[all …]
/Linux-v4.19/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 <= 20 && sigmadsp->ops && sigmadsp->ops->safeload) in sigmadsp_ctrl_write()
122 ctrl->num_bytes); in sigmadsp_ctrl_write()
125 ctrl->num_bytes); in sigmadsp_ctrl_write()
144 memcpy(ctrl->cache, data, ctrl->num_bytes); in sigmadsp_ctrl_put()
164 ctrl->num_bytes); in sigmadsp_ctrl_get()
170 ctrl->num_bytes); in sigmadsp_ctrl_get()
203 unsigned int num_bytes; in sigma_fw_load_control() local
[all …]
/Linux-v4.19/arch/x86/crypto/
Daes_ctrby8_avx-x86_64.S91 #define num_bytes %r8 macro
437 cmp $16, num_bytes
444 mov num_bytes, tmp
461 and $(~7*16), num_bytes
468 and $(~7*16), num_bytes
476 and $(~7*16), num_bytes
483 and $(~7*16), num_bytes
495 and $(~7*16), num_bytes
502 and $(~7*16), num_bytes
509 and $(~7*16), num_bytes
[all …]
/Linux-v4.19/arch/sparc/include/asm/
Dopenprom.h23 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
24 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
25 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
26 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
54 unsigned int num_bytes; member
/Linux-v4.19/include/trace/events/
Dbtrfs.h307 __field( u64, num_bytes )
323 __entry->num_bytes = btrfs_file_extent_num_bytes(l, fi);
331 __entry->extent_end = (start + __entry->num_bytes);
343 __entry->extent_end, __entry->num_bytes, __entry->ram_bytes,
720 __field( u64, num_bytes )
731 __entry->num_bytes = ref->num_bytes;
744 __entry->num_bytes,
783 __field( u64, num_bytes )
795 __entry->num_bytes = ref->num_bytes;
809 __entry->num_bytes,
[all …]
/Linux-v4.19/arch/m68k/include/asm/
Dopenprom.h31 int (*v0_wrnetdev)(int dev_desc, int num_bytes, char *buf);
32 int (*v0_rdnetdev)(int dev_desc, int num_bytes, char *buf);
33 int (*v0_rdchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
34 int (*v0_wrchardev)(int dev_desc, int num_bytes, int dummy, char *buf);
62 unsigned num_bytes; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c310 u8 opcode, u16 ds_cnt, u8 num_wqebbs, u32 num_bytes, u8 num_dma, in mlx5e_txwqe_complete() argument
315 wi->num_bytes = num_bytes; in mlx5e_txwqe_complete()
323 netdev_tx_sent_queue(sq->txq, num_bytes); in mlx5e_txwqe_complete()
353 u32 num_bytes; in mlx5e_sq_xmit() local
363 num_bytes = skb->len + (skb_shinfo(skb)->gso_segs - 1) * ihs; in mlx5e_sq_xmit()
369 num_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx5e_sq_xmit()
373 stats->bytes += num_bytes; in mlx5e_sq_xmit()
426 mlx5e_txwqe_complete(sq, skb, opcode, ds_cnt, num_wqebbs, num_bytes, in mlx5e_sq_xmit()
556 nbytes += wi->num_bytes; in mlx5e_poll_tx_cq()
641 u32 num_bytes; in mlx5i_sq_xmit() local
[all …]
/Linux-v4.19/drivers/slimbus/
Dmessaging.c181 if (!msg || msg->num_bytes > 16 || in slim_val_inf_sanity()
182 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity()
248 sl = slim_slicesize(msg->num_bytes); in slim_xfer_msg()
251 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg()
260 txn->rl += msg->num_bytes; in slim_xfer_msg()
276 msg->num_bytes = count; in slim_fill_msg()
Dqcom-ngd-ctrl.c791 if (txn->msg->num_bytes > SLIM_MSGQ_BUF_LEN || in qcom_slim_ngd_xfer_msg()
839 txn->msg->num_bytes = i; in qcom_slim_ngd_xfer_msg()
842 txn->rl = txn->msg->num_bytes + 4; in qcom_slim_ngd_xfer_msg()
868 memcpy(puc, txn->msg->wbuf, txn->msg->num_bytes); in qcom_slim_ngd_xfer_msg()
931 txn.msg->num_bytes = 0; in qcom_slim_ngd_enable_stream()
938 if (txn.msg->num_bytes == 0) { in qcom_slim_ngd_enable_stream()
942 wbuf[txn.msg->num_bytes++] = sdev->laddr; in qcom_slim_ngd_enable_stream()
943 wbuf[txn.msg->num_bytes] = rt->bps >> 2 | in qcom_slim_ngd_enable_stream()
949 wbuf[txn.msg->num_bytes] |= BIT(5); in qcom_slim_ngd_enable_stream()
951 txn.msg->num_bytes++; in qcom_slim_ngd_enable_stream()
[all …]
/Linux-v4.19/include/drm/
Ddrm_dp_mst_helper.h184 u8 num_bytes; member
200 u8 num_bytes; member
255 u8 num_bytes; member
261 u8 num_bytes; member
271 u8 num_bytes; member
283 u8 num_bytes; member
/Linux-v4.19/fs/btrfs/tests/
Dqgroup-tests.c15 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument
31 ins.offset = num_bytes; in insert_normal_tree_ref()
67 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument
81 key.offset = num_bytes; in add_tree_ref()
120 u64 num_bytes) in remove_extent_item() argument
131 key.offset = num_bytes; in remove_extent_item()
152 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
165 key.offset = num_bytes; in remove_extent_ref()
/Linux-v4.19/drivers/i2c/busses/
Di2c-omap.c971 static void omap_i2c_receive_data(struct omap_i2c_dev *omap, u8 num_bytes, in omap_i2c_receive_data() argument
976 while (num_bytes--) { in omap_i2c_receive_data()
992 static int omap_i2c_transmit_data(struct omap_i2c_dev *omap, u8 num_bytes, in omap_i2c_transmit_data() argument
997 while (num_bytes--) { in omap_i2c_transmit_data()
1099 u8 num_bytes = 1; in omap_i2c_isr_thread() local
1102 num_bytes = omap->buf_len; in omap_i2c_isr_thread()
1106 num_bytes = (omap_i2c_read_reg(omap, in omap_i2c_isr_thread()
1110 omap_i2c_receive_data(omap, num_bytes, true); in omap_i2c_isr_thread()
1116 u8 num_bytes = 1; in omap_i2c_isr_thread() local
1119 num_bytes = omap->threshold; in omap_i2c_isr_thread()
[all …]
/Linux-v4.19/arch/m68k/sun3/prom/
Dmisc.c57 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
62 for(i=0;i<num_bytes; i++) in prom_get_idprom()
/Linux-v4.19/arch/m68k/sun3x/
Dprom.c157 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
162 for (i = 0; i < num_bytes; i++) in prom_get_idprom()

12345