/linux/fs/btrfs/ |
A D | block-rsv.c | 122 num_bytes = 0; in block_rsv_release_bytes() 133 ret = num_bytes; in block_rsv_release_bytes() 134 if (num_bytes > 0) { in block_rsv_release_bytes() 149 if (num_bytes) in block_rsv_release_bytes() 152 num_bytes); in block_rsv_release_bytes() 217 if (num_bytes == 0) in btrfs_block_rsv_add() 229 u64 num_bytes = 0; in btrfs_block_rsv_check() local 248 u64 num_bytes = 0; in btrfs_block_rsv_refill() local 354 u64 num_bytes; in btrfs_update_global_block_rsv() local 383 num_bytes = max_t(u64, num_bytes, in btrfs_update_global_block_rsv() [all …]
|
A D | qgroup.h | 110 u64 num_bytes; member 318 u64 num_bytes, gfp_t gfp_flag); 342 u64 num_bytes, struct ulist *old_roots, 349 u64 ref_root, u64 num_bytes, 370 int num_bytes, bool enforce) in btrfs_qgroup_reserve_meta_pertrans() argument 372 return __btrfs_qgroup_reserve_meta(root, num_bytes, in btrfs_qgroup_reserve_meta_pertrans() 376 int num_bytes, bool enforce) in btrfs_qgroup_reserve_meta_prealloc() argument 387 int num_bytes) in btrfs_qgroup_free_meta_pertrans() argument 389 __btrfs_qgroup_free_meta(root, num_bytes, in btrfs_qgroup_free_meta_pertrans() 395 int num_bytes) in btrfs_qgroup_free_meta_prealloc() argument [all …]
|
A D | delayed-ref.c | 104 u64 num_bytes; in btrfs_update_delayed_refs_rsv() local 150 num_bytes = 0; in btrfs_migrate_to_delayed_refs_rsv() 153 if (num_bytes) in btrfs_migrate_to_delayed_refs_rsv() 159 if (num_bytes) in btrfs_migrate_to_delayed_refs_rsv() 181 u64 num_bytes = 0; in btrfs_delayed_refs_rsv_refill() local 187 num_bytes = min(num_bytes, limit); in btrfs_delayed_refs_rsv_refill() 191 if (!num_bytes) in btrfs_delayed_refs_rsv_refill() 663 existing->num_bytes = update->num_bytes; in update_existing_head_ref() 754 head_ref->num_bytes = num_bytes; in init_delayed_ref_head() 773 qrecord->num_bytes = num_bytes; in init_delayed_ref_head() [all …]
|
A D | delalloc-space.c | 273 u64 num_bytes, u64 *meta_reserve, in calc_inode_reservations() argument 276 u64 nr_extents = count_max_extents(num_bytes); in calc_inode_reservations() 277 u64 csum_leaves = btrfs_csum_bytes_to_leaves(fs_info, num_bytes); in calc_inode_reservations() 291 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_reserve_metadata() argument 320 num_bytes = ALIGN(num_bytes, fs_info->sectorsize); in btrfs_delalloc_reserve_metadata() 332 calc_inode_reservations(fs_info, num_bytes, &meta_reserve, in btrfs_delalloc_reserve_metadata() 350 nr_extents = count_max_extents(num_bytes); in btrfs_delalloc_reserve_metadata() 352 inode->csum_bytes += num_bytes; in btrfs_delalloc_reserve_metadata() 384 num_bytes = ALIGN(num_bytes, fs_info->sectorsize); in btrfs_delalloc_release_metadata() 386 inode->csum_bytes -= num_bytes; in btrfs_delalloc_release_metadata() [all …]
|
A D | ordered-data.c | 27 return entry->file_offset + entry->num_bytes; in entry_end() 153 u64 disk_bytenr, u64 num_bytes, in __btrfs_add_ordered_extent() argument 185 entry->num_bytes = num_bytes; in __btrfs_add_ordered_extent() 187 entry->bytes_left = num_bytes; in __btrfs_add_ordered_extent() 263 u64 disk_bytenr, u64 num_bytes, in btrfs_add_ordered_extent_dio() argument 280 num_bytes, disk_num_bytes, in btrfs_add_ordered_extent_compress() 339 while (cur < file_offset + num_bytes) { in btrfs_mark_ordered_io_finished() 386 file_offset + num_bytes) - 1; in btrfs_mark_ordered_io_finished() 412 entry->num_bytes, in btrfs_mark_ordered_io_finished() 1055 u64 num_bytes = len; in clone_ordered_extent() local [all …]
|
A D | qgroup.c | 1774 record->num_bytes = num_bytes; in btrfs_qgroup_trace_extent() 2989 if (num_bytes == 0) in qgroup_reserve() 3148 u64 num_bytes; in qgroup_rescan_leaf() local 3841 num_bytes); in sub_root_meta_rsv() 3845 num_bytes); in sub_root_meta_rsv() 3849 return num_bytes; in sub_root_meta_rsv() 3862 BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize)); in btrfs_qgroup_reserve_meta() 3923 num_bytes = sub_root_meta_rsv(root, num_bytes, type); in __btrfs_qgroup_free_meta() 3924 BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize)); in __btrfs_qgroup_free_meta() 3931 int num_bytes) in qgroup_convert_meta() argument [all …]
|
A D | block-rsv.h | 61 struct btrfs_block_rsv *block_rsv, u64 num_bytes, 68 struct btrfs_block_rsv *dst_rsv, u64 num_bytes, 70 int btrfs_block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, u64 num_bytes); 72 struct btrfs_block_rsv *dest, u64 num_bytes, 75 u64 num_bytes, bool update_size); 78 u64 num_bytes, u64 *qgroup_to_release);
|
A D | extent-tree.c | 1459 u64 num_bytes = node->num_bytes; in __btrfs_inc_extent_ref() local 2390 u64 num_bytes; in __btrfs_mod_ref() local 2935 u64 num_bytes = node->num_bytes; in __btrfs_free_extent() local 3477 u64 num_bytes; member 3757 u64 num_bytes = ffe_ctl->num_bytes; in do_allocation_zoned() local 4491 ffe_ctl.num_bytes = num_bytes; in btrfs_reserve_extent() 4505 num_bytes = min(num_bytes >> 1, ins->offset); in btrfs_reserve_extent() 4506 num_bytes = round_down(num_bytes, in btrfs_reserve_extent() 4508 num_bytes = max(num_bytes, min_alloc_size); in btrfs_reserve_extent() 4654 u64 num_bytes; in alloc_reserved_tree_block() local [all …]
|
A D | ordered-data.h | 88 u64 num_bytes; member 176 u64 num_bytes, btrfs_func_t finish_func, 182 u64 disk_bytenr, u64 num_bytes, u64 disk_num_bytes, 185 u64 disk_bytenr, u64 num_bytes, 188 u64 disk_bytenr, u64 num_bytes,
|
A D | ref-verify.c | 356 u64 num_bytes) in add_shared_data_ref() argument 364 be = add_block_entry(fs_info, bytenr, num_bytes, 0); in add_shared_data_ref() 386 u64 bytenr, u64 num_bytes) in add_extent_data_ref() argument 514 *num_bytes = key.offset; in process_leaf() 533 *num_bytes); in process_leaf() 540 *bytenr, *num_bytes); in process_leaf() 553 int level, u64 *bytenr, u64 *num_bytes, in walk_down_tree() argument 670 u64 num_bytes = generic_ref->len; in btrfs_ref_tree_mod() local 787 action, bytenr, num_bytes); in btrfs_ref_tree_mod() 978 u64 bytenr = 0, num_bytes = 0; in btrfs_build_ref_tree() local [all …]
|
/linux/arch/sparc/mm/ |
A D | init_32.c | 64 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages() 87 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn() 143 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init() 145 sp_banks[i].num_bytes; in bootmem_init() 146 bytes_avail += sp_banks[i].num_bytes; in bootmem_init() 154 sp_banks[i].num_bytes -= slack; in bootmem_init() 155 if (sp_banks[i].num_bytes == 0) { in bootmem_init() 159 sp_banks[i].num_bytes); in bootmem_init() 160 sp_banks[i+1].num_bytes = 0; in bootmem_init() 223 for (i = 0; sp_banks[i].num_bytes; i++) { in taint_real_pages() [all …]
|
/linux/drivers/gpu/drm/selftests/ |
A D | test-drm_dp_mst_helper.c | 76 txin->num_bytes != txout->num_bytes || in sideband_msg_req_equal() 82 txin->num_bytes) != 0) in sideband_msg_req_equal() 93 IN.num_bytes != OUT.num_bytes || in sideband_msg_req_equal() 97 return memcmp(IN.bytes, OUT.bytes, IN.num_bytes) == 0; in sideband_msg_req_equal() 106 IN.num_bytes != OUT.num_bytes) in sideband_msg_req_equal() 109 return memcmp(IN.bytes, OUT.bytes, IN.num_bytes) == 0; in sideband_msg_req_equal() 220 in.u.dpcd_read.num_bytes = U8_MAX; in igt_dp_mst_sideband_msg_req_decode() 228 in.u.dpcd_write.num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode() 241 in.u.i2c_read.transactions[i].num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode() 252 in.u.i2c_write.num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode()
|
/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/comedi/ |
A D | comedi_buf.c | 366 unsigned int num_bytes) in comedi_buf_munge() argument 373 async->munge_count += num_bytes; in comedi_buf_munge() 374 return num_bytes; in comedi_buf_munge() 378 num_bytes -= num_bytes % num_sample_bytes; in comedi_buf_munge() 379 while (count < num_bytes) { in comedi_buf_munge() 380 int block_size = num_bytes - count; in comedi_buf_munge() 463 unsigned int num_bytes; in comedi_buf_read_n_available() local 476 return num_bytes; in comedi_buf_read_n_available() 564 while (num_bytes) { in comedi_buf_memcpy_to() 570 block_size = num_bytes; in comedi_buf_memcpy_to() [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/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/x86/crypto/ |
A D | aes_ctrby8_avx-x86_64.S | 90 #define num_bytes %r8 macro 428 cmp $16, num_bytes 435 mov num_bytes, tmp 452 and $(~7*16), num_bytes 459 and $(~7*16), num_bytes 467 and $(~7*16), num_bytes 474 and $(~7*16), num_bytes 486 and $(~7*16), num_bytes 493 and $(~7*16), num_bytes 500 and $(~7*16), num_bytes [all …]
|
/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/include/trace/events/ |
A D | btrfs.h | 800 __entry->num_bytes = ref->num_bytes; 813 __entry->num_bytes, 864 __entry->num_bytes = ref->num_bytes; 878 __entry->num_bytes, 925 __entry->num_bytes = head_ref->num_bytes; 932 __entry->num_bytes, 1126 __entry->num_bytes = num_bytes; 1193 __entry->num_bytes = num_bytes; 1584 __entry->num_bytes = rec->num_bytes; 1647 __entry->num_bytes = num_bytes; [all …]
|
/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/drivers/slimbus/ |
A D | messaging.c | 182 if (!msg || msg->num_bytes > 16 || in slim_val_inf_sanity() 183 (msg->start_offset + msg->num_bytes) > 0xC00) in slim_val_inf_sanity() 249 sl = slim_slicesize(msg->num_bytes); in slim_xfer_msg() 252 msg->start_offset, msg->num_bytes, mc, sl); in slim_xfer_msg() 261 txn->rl += msg->num_bytes; in slim_xfer_msg() 278 msg->num_bytes = count; in slim_fill_msg()
|
/linux/tools/testing/selftests/powerpc/nx-gzip/ |
A D | gzfht_test.c | 152 size_t num_bytes; in read_alloc_input_file() local 164 num_bytes = fread(p, 1, statbuf.st_size, fp); in read_alloc_input_file() 165 if (ferror(fp) || (num_bytes != statbuf.st_size)) { in read_alloc_input_file() 170 *bufsize = num_bytes; in read_alloc_input_file() 178 size_t num_bytes; in write_output_file() local 185 num_bytes = fwrite(buf, 1, bufsize, fp); in write_output_file() 186 if (ferror(fp) || (num_bytes != bufsize)) { in write_output_file()
|
/linux/drivers/i2c/busses/ |
A D | i2c-omap.c | 1004 while (num_bytes--) { in omap_i2c_receive_data() 1025 while (num_bytes--) { in omap_i2c_transmit_data() 1126 u8 num_bytes = 1; in omap_i2c_xfer_data() local 1129 num_bytes = omap->buf_len; in omap_i2c_xfer_data() 1133 num_bytes = (omap_i2c_read_reg(omap, in omap_i2c_xfer_data() 1143 u8 num_bytes = 1; in omap_i2c_xfer_data() local 1146 num_bytes = omap->threshold; in omap_i2c_xfer_data() 1154 u8 num_bytes = 1; in omap_i2c_xfer_data() local 1158 num_bytes = omap->buf_len; in omap_i2c_xfer_data() 1169 u8 num_bytes = 1; in omap_i2c_xfer_data() local [all …]
|
/linux/fs/btrfs/tests/ |
A D | qgroup-tests.c | 15 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument 31 ins.offset = num_bytes; in insert_normal_tree_ref() 66 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument 80 key.offset = num_bytes; in add_tree_ref() 118 u64 num_bytes) in remove_extent_item() argument 129 key.offset = num_bytes; in remove_extent_item() 149 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument 162 key.offset = num_bytes; in remove_extent_ref()
|