Home
last modified time | relevance | path

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

123456

/linux/fs/btrfs/
A Dblock-rsv.c124 num_bytes = 0; in block_rsv_release_bytes()
136 ret = num_bytes; in block_rsv_release_bytes()
137 if (num_bytes > 0) { in block_rsv_release_bytes()
152 if (num_bytes) in block_rsv_release_bytes()
155 num_bytes); in block_rsv_release_bytes()
220 if (num_bytes == 0) in btrfs_block_rsv_add()
224 num_bytes, flush); in btrfs_block_rsv_add()
233 u64 num_bytes = 0; in btrfs_block_rsv_check() local
374 num_bytes = max_t(u64, num_bytes, in btrfs_update_global_block_rsv()
387 num_bytes); in btrfs_update_global_block_rsv()
[all …]
A Dqgroup.h131 u64 num_bytes; member
294 u64 num_bytes; member
352 u64 num_bytes);
359 u64 num_bytes, struct ulist *old_roots,
370 u64 ref_root, u64 num_bytes,
392 int num_bytes, bool enforce) in btrfs_qgroup_reserve_meta_pertrans() argument
399 int num_bytes, bool enforce, in btrfs_qgroup_reserve_meta_prealloc() argument
412 int num_bytes) in btrfs_qgroup_free_meta_pertrans() argument
414 __btrfs_qgroup_free_meta(root, num_bytes, in btrfs_qgroup_free_meta_pertrans()
420 int num_bytes) in btrfs_qgroup_free_meta_prealloc() argument
[all …]
A Ddelayed-ref.c68 u64 num_bytes; in btrfs_delayed_refs_rsv_release() local
92 u64 num_bytes; in btrfs_update_delayed_refs_rsv() local
99 if (num_bytes == 0) in btrfs_update_delayed_refs_rsv()
212 u64 num_bytes = 0; in btrfs_delayed_refs_rsv_refill() local
220 num_bytes = min(num_bytes, limit); in btrfs_delayed_refs_rsv_refill()
224 if (!num_bytes) in btrfs_delayed_refs_rsv_refill()
708 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
807 head_ref->num_bytes = generic_ref->num_bytes; in init_delayed_ref_head()
834 qrecord->num_bytes = generic_ref->num_bytes; in init_delayed_ref_head()
950 ref->num_bytes = generic_ref->num_bytes; in init_delayed_ref_common()
[all …]
A Ddelalloc-space.c281 u64 num_bytes, u64 disk_num_bytes, in calc_inode_reservations() argument
285 u64 nr_extents = count_max_extents(fs_info, num_bytes); in calc_inode_reservations()
305 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_reserve_metadata() argument
332 num_bytes = ALIGN(num_bytes, fs_info->sectorsize); in btrfs_delalloc_reserve_metadata()
345 calc_inode_reservations(inode, num_bytes, disk_num_bytes, in btrfs_delalloc_reserve_metadata()
364 nr_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_reserve_metadata()
395 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata() argument
400 num_bytes = ALIGN(num_bytes, fs_info->sectorsize); in btrfs_delalloc_release_metadata()
403 inode->csum_bytes -= num_bytes; in btrfs_delalloc_release_metadata()
425 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents() argument
[all …]
A Dblock-rsv.h71 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
75 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
78 struct btrfs_block_rsv *dst_rsv, u64 num_bytes,
80 int btrfs_block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, u64 num_bytes);
82 u64 num_bytes, bool update_size);
85 u64 num_bytes, u64 *qgroup_to_release);
A Dqgroup.c2158 record->num_bytes = num_bytes; in btrfs_qgroup_trace_extent()
3730 u64 num_bytes; in qgroup_rescan_leaf() local
4458 num_bytes); in sub_root_meta_rsv()
4462 num_bytes); in sub_root_meta_rsv()
4466 return num_bytes; in sub_root_meta_rsv()
4479 BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize)); in btrfs_qgroup_reserve_meta()
4545 num_bytes = sub_root_meta_rsv(root, num_bytes, type); in __btrfs_qgroup_free_meta()
4546 BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize)); in __btrfs_qgroup_free_meta()
4552 int num_bytes) in qgroup_convert_meta() argument
4599 num_bytes = sub_root_meta_rsv(root, num_bytes, in btrfs_qgroup_convert_reserved_meta()
[all …]
A Dordered-data.c30 return entry->file_offset + entry->num_bytes; in entry_end()
177 entry->num_bytes = num_bytes; in alloc_ordered_extent()
182 entry->bytes_left = num_bytes; in alloc_ordered_extent()
287 file_extent->num_bytes, in btrfs_alloc_ordered_extent()
288 file_extent->num_bytes, in btrfs_alloc_ordered_extent()
294 file_extent->num_bytes, in btrfs_alloc_ordered_extent()
464 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() argument
472 file_offset + num_bytes - 1, in btrfs_mark_ordered_io_finished()
523 file_offset + num_bytes) - 1; in btrfs_mark_ordered_io_finished()
661 release = entry->num_bytes; in btrfs_remove_ordered_extent()
[all …]
A Ddelayed-ref.h72 u64 num_bytes; member
124 u64 num_bytes; member
269 u64 num_bytes; member
296 u64 num_bytes; in btrfs_calc_delayed_ref_bytes() local
298 num_bytes = btrfs_calc_insert_metadata_size(fs_info, num_delayed_refs); in btrfs_calc_delayed_ref_bytes()
309 num_bytes *= 2; in btrfs_calc_delayed_ref_bytes()
311 return num_bytes; in btrfs_calc_delayed_ref_bytes()
368 u64 bytenr, u64 num_bytes, u8 level,
A Dextent-tree.c1425 cur += num_bytes; in btrfs_discard_extent()
1479 u64 num_bytes = node->num_bytes; in __btrfs_inc_extent_ref() local
1562 .num_bytes = node->num_bytes, in run_delayed_data_ref()
2967 u64 num_bytes = delta->num_bytes; in do_free_extent_accounting() local
3092 u64 num_bytes = node->num_bytes; in __btrfs_free_extent() local
3299 .num_bytes = num_bytes, in __btrfs_free_extent()
3836 u64 num_bytes = ffe_ctl->num_bytes; in do_allocation_zoned() local
4686 ffe_ctl.num_bytes = num_bytes; in btrfs_reserve_extent()
4700 num_bytes = min(num_bytes >> 1, ins->offset); in btrfs_reserve_extent()
4701 num_bytes = round_down(num_bytes, in btrfs_reserve_extent()
[all …]
A Ddelalloc-space.h23 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
27 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
29 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
A Dref-verify.c359 u64 num_bytes) in add_shared_data_ref() argument
367 be = add_block_entry(fs_info, bytenr, num_bytes, 0); in add_shared_data_ref()
389 u64 bytenr, u64 num_bytes) in add_extent_data_ref() argument
525 *num_bytes = key.offset; in process_leaf()
544 *num_bytes); in process_leaf()
551 *bytenr, *num_bytes); in process_leaf()
564 int level, u64 *bytenr, u64 *num_bytes, in walk_down_tree() argument
681 u64 num_bytes = generic_ref->num_bytes; in btrfs_ref_tree_mod() local
798 action, bytenr, num_bytes); in btrfs_ref_tree_mod()
994 u64 bytenr = 0, num_bytes = 0; in btrfs_build_ref_tree() local
[all …]
/linux/arch/sparc/mm/
A Dinit_32.c63 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
86 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
142 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
144 sp_banks[i].num_bytes; in bootmem_init()
145 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
153 sp_banks[i].num_bytes -= slack; in bootmem_init()
154 if (sp_banks[i].num_bytes == 0) { in bootmem_init()
158 sp_banks[i].num_bytes); in bootmem_init()
159 sp_banks[i+1].num_bytes = 0; in bootmem_init()
222 for (i = 0; sp_banks[i].num_bytes; i++) { in taint_real_pages()
[all …]
/linux/fs/ecryptfs/
A Dread_write.c116 size_t num_bytes = (PAGE_SIZE - start_offset_in_page); in ecryptfs_write() local
124 if (num_bytes > total_remaining_bytes) in ecryptfs_write()
125 num_bytes = total_remaining_bytes; in ecryptfs_write()
130 if (num_bytes > total_remaining_zeros) in ecryptfs_write()
131 num_bytes = total_remaining_zeros; in ecryptfs_write()
163 (data + data_offset), num_bytes); in ecryptfs_write()
164 data_offset += num_bytes; in ecryptfs_write()
183 pos += num_bytes; in ecryptfs_write()
/linux/drivers/gpu/drm/tests/
A Ddrm_dp_mst_helper_test.c307 .u.dpcd_read.num_bytes = U8_MAX,
328 .u.dpcd_write.num_bytes = ARRAY_SIZE(data),
353 { .bytes = data, .num_bytes = ARRAY_SIZE(data), .i2c_dev_id = 0x7f,
355 { .bytes = data, .num_bytes = ARRAY_SIZE(data), .i2c_dev_id = 0x7e,
380 .u.i2c_write.num_bytes = ARRAY_SIZE(data),
459 txin->num_bytes != txout->num_bytes || in sideband_msg_req_equal()
465 txin->num_bytes) != 0) in sideband_msg_req_equal()
476 IN.num_bytes != OUT.num_bytes || in sideband_msg_req_equal()
480 return memcmp(IN.bytes, OUT.bytes, IN.num_bytes) == 0; in sideband_msg_req_equal()
489 IN.num_bytes != OUT.num_bytes) in sideband_msg_req_equal()
[all …]
/linux/arch/sparc/prom/
A 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()
A 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/drivers/soundwire/
A Ddebugfs.c142 static size_t num_bytes; variable
192 num_bytes = value; in set_num_bytes()
209 num_bytes == 0 || num_bytes > MAX_CMD_BYTES) in cmd_go()
232 if (fw->size != num_bytes) { in cmd_go()
235 firmware_file, fw->size, num_bytes); in cmd_go()
240 ret = sdw_nwrite_no_pm(slave, start_addr, num_bytes, fw->data); in cmd_go()
243 ret = sdw_nread_no_pm(slave, start_addr, num_bytes, read_buffer); in cmd_go()
264 if (num_bytes == 0 || num_bytes > MAX_CMD_BYTES) in read_buffer_show()
267 for (i = 0; i < num_bytes; i++) { in read_buffer_show()
/linux/drivers/comedi/
A Dcomedi_buf.c365 unsigned int num_bytes) in comedi_buf_munge() argument
372 async->munge_count += num_bytes; in comedi_buf_munge()
373 return num_bytes; in comedi_buf_munge()
377 num_bytes -= num_bytes % num_sample_bytes; in comedi_buf_munge()
378 while (count < num_bytes) { in comedi_buf_munge()
379 int block_size = num_bytes - count; in comedi_buf_munge()
462 unsigned int num_bytes; in comedi_buf_read_n_available() local
475 return num_bytes; in comedi_buf_read_n_available()
563 while (num_bytes) { in comedi_buf_memcpy_to()
569 block_size = num_bytes; in comedi_buf_memcpy_to()
[all …]
/linux/sound/soc/codecs/
A Dsigmadsp.c33 unsigned int num_bytes; member
65 __le16 num_bytes; member
113 info->count = ctrl->num_bytes; in sigmadsp_ctrl_info()
124 ctrl->num_bytes); in sigmadsp_ctrl_write()
127 ctrl->num_bytes); in sigmadsp_ctrl_write()
146 memcpy(ctrl->cache, data, ctrl->num_bytes); in sigmadsp_ctrl_put()
167 ctrl->num_bytes); in sigmadsp_ctrl_get()
174 ctrl->num_bytes); in sigmadsp_ctrl_get()
207 unsigned int num_bytes; in sigma_fw_load_control() local
225 num_bytes = le16_to_cpu(ctrl_chunk->num_bytes); in sigma_fw_load_control()
[all …]
/linux/arch/riscv/kernel/
A Dsbi.c521 int sbi_debug_console_write(const char *bytes, unsigned int num_bytes) in sbi_debug_console_write() argument
534 if (PAGE_SIZE < (offset_in_page(bytes) + num_bytes)) in sbi_debug_console_write()
535 num_bytes = PAGE_SIZE - offset_in_page(bytes); in sbi_debug_console_write()
539 num_bytes, lower_32_bits(base_addr), in sbi_debug_console_write()
543 num_bytes, base_addr, 0, 0, 0, 0); in sbi_debug_console_write()
550 int sbi_debug_console_read(char *bytes, unsigned int num_bytes) in sbi_debug_console_read() argument
563 if (PAGE_SIZE < (offset_in_page(bytes) + num_bytes)) in sbi_debug_console_read()
564 num_bytes = PAGE_SIZE - offset_in_page(bytes); in sbi_debug_console_read()
568 num_bytes, lower_32_bits(base_addr), in sbi_debug_console_read()
572 num_bytes, base_addr, 0, 0, 0, 0); in sbi_debug_console_read()
/linux/arch/sparc/include/asm/
A 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/arch/m68k/include/asm/
A 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/arch/x86/crypto/
A Daes_ctrby8_avx-x86_64.S54 #define num_bytes %r8 macro
411 cmp $16, num_bytes
423 mov num_bytes, tmp
440 and $(~7*16), num_bytes
447 and $(~7*16), num_bytes
455 and $(~7*16), num_bytes
462 and $(~7*16), num_bytes
474 and $(~7*16), num_bytes
481 and $(~7*16), num_bytes
488 and $(~7*16), num_bytes
[all …]
/linux/drivers/slimbus/
A Dmessaging.c183 if (!msg || msg->num_bytes > 16 || in slim_val_inf_sanity()
184 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity()
250 sl = slim_slicesize(msg->num_bytes); in slim_xfer_msg()
253 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg()
262 txn->rl += msg->num_bytes; in slim_xfer_msg()
279 msg->num_bytes = count; in slim_fill_msg()
/linux/include/trace/events/
A Dbtrfs.h875 __entry->num_bytes = ref->num_bytes;
888 __entry->num_bytes,
933 __entry->num_bytes = ref->num_bytes;
990 __entry->num_bytes = head_ref->num_bytes;
1191 __entry->num_bytes = num_bytes;
1258 __entry->num_bytes = ffe_ctl->num_bytes;
1287 __entry->num_bytes = ffe_ctl->num_bytes;
1321 __entry->num_bytes = ffe_ctl->num_bytes;
1720 __entry->num_bytes = rec->num_bytes;
1783 __entry->num_bytes = num_bytes;
[all …]

Completed in 52 milliseconds

123456