| /linux/fs/btrfs/ |
| A D | block-rsv.c | 124 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 D | qgroup.h | 131 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 D | delayed-ref.c | 68 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 D | delalloc-space.c | 281 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 D | block-rsv.h | 71 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 D | qgroup.c | 2158 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 D | ordered-data.c | 30 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 D | delayed-ref.h | 72 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 D | extent-tree.c | 1425 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 D | delalloc-space.h | 23 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 D | ref-verify.c | 359 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 D | init_32.c | 63 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 D | read_write.c | 116 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 D | drm_dp_mst_helper_test.c | 307 .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 D | memory.c | 25 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 D | misc_32.c | 97 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 D | debugfs.c | 142 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 D | comedi_buf.c | 365 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 D | sigmadsp.c | 33 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 D | sbi.c | 521 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 D | openprom.h | 23 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 D | openprom.h | 31 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 D | aes_ctrby8_avx-x86_64.S | 54 #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 D | messaging.c | 183 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 D | btrfs.h | 875 __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 …]
|