Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/fs/btrfs/
A Dblock-rsv.c125 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()
232 u64 num_bytes = 0; in btrfs_block_rsv_check() local
251 u64 num_bytes = 0; in btrfs_block_rsv_refill() local
367 num_bytes = max_t(u64, num_bytes, in btrfs_update_global_block_rsv()
378 num_bytes); in btrfs_update_global_block_rsv()
[all …]
A Dqgroup.h114 u64 num_bytes; member
324 u64 num_bytes);
348 u64 num_bytes, struct ulist *old_roots,
355 u64 ref_root, u64 num_bytes,
377 int num_bytes, bool enforce) in btrfs_qgroup_reserve_meta_pertrans() argument
379 return __btrfs_qgroup_reserve_meta(root, num_bytes, in btrfs_qgroup_reserve_meta_pertrans()
384 int num_bytes, bool enforce, in btrfs_qgroup_reserve_meta_prealloc() argument
397 int num_bytes) in btrfs_qgroup_free_meta_pertrans() argument
399 __btrfs_qgroup_free_meta(root, num_bytes, in btrfs_qgroup_free_meta_pertrans()
405 int num_bytes) in btrfs_qgroup_free_meta_prealloc() argument
[all …]
A Ddelayed-ref.c98 num_bytes *= 2; in btrfs_delayed_refs_rsv_release()
116 u64 num_bytes; in btrfs_update_delayed_refs_rsv() local
173 num_bytes = 0; in btrfs_migrate_to_delayed_refs_rsv()
176 if (num_bytes) in btrfs_migrate_to_delayed_refs_rsv()
182 if (num_bytes) in btrfs_migrate_to_delayed_refs_rsv()
210 num_bytes = min(num_bytes, limit); in btrfs_delayed_refs_rsv_refill()
214 if (!num_bytes) in btrfs_delayed_refs_rsv_refill()
681 existing->num_bytes = update->num_bytes; in update_existing_head_ref()
772 head_ref->num_bytes = num_bytes; in init_delayed_ref_head()
791 qrecord->num_bytes = num_bytes; in init_delayed_ref_head()
[all …]
A Ddelalloc-space.c282 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()
300 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_reserve_metadata() argument
330 num_bytes = ALIGN(num_bytes, fs_info->sectorsize); in btrfs_delalloc_reserve_metadata()
343 calc_inode_reservations(fs_info, num_bytes, disk_num_bytes, in btrfs_delalloc_reserve_metadata()
362 nr_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_reserve_metadata()
391 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata() argument
396 num_bytes = ALIGN(num_bytes, fs_info->sectorsize); in btrfs_delalloc_release_metadata()
398 inode->csum_bytes -= num_bytes; in btrfs_delalloc_release_metadata()
420 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents() argument
[all …]
A Dqgroup.c1865 record->num_bytes = num_bytes; in btrfs_qgroup_trace_extent()
3111 if (num_bytes == 0) in qgroup_reserve()
3270 u64 num_bytes; in qgroup_rescan_leaf() local
3987 num_bytes); in sub_root_meta_rsv()
3991 num_bytes); in sub_root_meta_rsv()
3995 return num_bytes; in sub_root_meta_rsv()
4008 BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize)); in btrfs_qgroup_reserve_meta()
4070 num_bytes = sub_root_meta_rsv(root, num_bytes, type); in __btrfs_qgroup_free_meta()
4071 BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize)); in __btrfs_qgroup_free_meta()
4078 int num_bytes) in qgroup_convert_meta() argument
[all …]
A Dblock-rsv.h64 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
71 struct btrfs_block_rsv *dst_rsv, u64 num_bytes,
73 int btrfs_block_rsv_use_bytes(struct btrfs_block_rsv *block_rsv, u64 num_bytes);
75 u64 num_bytes, bool update_size);
78 u64 num_bytes, u64 *qgroup_to_release);
A Dordered-data.c30 return entry->file_offset + entry->num_bytes; in entry_end()
200 entry->num_bytes = num_bytes; in btrfs_add_ordered_extent()
205 entry->bytes_left = num_bytes; in btrfs_add_ordered_extent()
301 u64 num_bytes, bool uptodate) in btrfs_mark_ordered_io_finished() argument
321 while (cur < file_offset + num_bytes) { in btrfs_mark_ordered_io_finished()
367 end = min(entry->file_offset + entry->num_bytes, in btrfs_mark_ordered_io_finished()
368 file_offset + num_bytes) - 1; in btrfs_mark_ordered_io_finished()
394 entry->num_bytes, in btrfs_mark_ordered_io_finished()
549 release = entry->num_bytes; in btrfs_remove_ordered_extent()
727 u64 end = start + entry->num_bytes - 1; in btrfs_start_ordered_extent()
[all …]
A Dextent-tree.c1374 cur += num_bytes; in btrfs_discard_extent()
1452 u64 num_bytes = node->num_bytes; in __btrfs_inc_extent_ref() local
2391 u64 num_bytes; in __btrfs_mod_ref() local
2528 num_bytes); in pin_down_extent()
2944 u64 num_bytes = node->num_bytes; in __btrfs_free_extent() local
3671 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()
[all …]
A Ddelalloc-space.h19 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
23 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
25 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
A Dextent-tree.h19 u64 num_bytes; member
100 u64 start, u64 num_bytes);
113 u64 bytenr, u64 num_bytes);
136 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, 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
517 *num_bytes = key.offset; in process_leaf()
536 *num_bytes); in process_leaf()
543 *bytenr, *num_bytes); in process_leaf()
556 int level, u64 *bytenr, u64 *num_bytes, in walk_down_tree() argument
673 u64 num_bytes = generic_ref->len; in btrfs_ref_tree_mod() local
790 action, bytenr, num_bytes); in btrfs_ref_tree_mod()
982 u64 bytenr = 0, num_bytes = 0; in btrfs_build_ref_tree() local
[all …]
/linux-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/tests/
A Ddrm_dp_mst_helper_test.c161 .u.dpcd_read.num_bytes = U8_MAX,
182 .u.dpcd_write.num_bytes = ARRAY_SIZE(data),
207 { .bytes = data, .num_bytes = ARRAY_SIZE(data), .i2c_dev_id = 0x7f,
209 { .bytes = data, .num_bytes = ARRAY_SIZE(data), .i2c_dev_id = 0x7e,
234 .u.i2c_write.num_bytes = ARRAY_SIZE(data),
313 txin->num_bytes != txout->num_bytes || in sideband_msg_req_equal()
319 txin->num_bytes) != 0) in sideband_msg_req_equal()
330 IN.num_bytes != OUT.num_bytes || in sideband_msg_req_equal()
334 return memcmp(IN.bytes, OUT.bytes, IN.num_bytes) == 0; in sideband_msg_req_equal()
343 IN.num_bytes != OUT.num_bytes) in sideband_msg_req_equal()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/include/trace/events/
A Dbtrfs.h866 __entry->num_bytes = ref->num_bytes;
879 __entry->num_bytes,
930 __entry->num_bytes = ref->num_bytes;
991 __entry->num_bytes = head_ref->num_bytes;
1192 __entry->num_bytes = num_bytes;
1259 __entry->num_bytes = ffe_ctl->num_bytes;
1288 __entry->num_bytes = ffe_ctl->num_bytes;
1322 __entry->num_bytes = ffe_ctl->num_bytes;
1724 __entry->num_bytes = rec->num_bytes;
1787 __entry->num_bytes = num_bytes;
[all …]
/linux-6.3-rc2/drivers/slimbus/
A Dmessaging.c182 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-6.3-rc2/sound/drivers/
A Dserial-generic.c69 int num_bytes; in snd_serial_generic_tx_work() local
81 num_bytes = snd_rawmidi_transmit_peek(substream, buf, INTERNAL_BUF_SIZE); in snd_serial_generic_tx_work()
82 num_bytes = serdev_device_write_buf(drvdata->serdev, buf, num_bytes); in snd_serial_generic_tx_work()
84 if (!num_bytes) in snd_serial_generic_tx_work()
87 snd_rawmidi_transmit_ack(substream, num_bytes); in snd_serial_generic_tx_work()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-omap.c1004 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 …]

Completed in 81 milliseconds

123456