Home
last modified time | relevance | path

Searched refs:data_blocks (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/sound/firewire/motu/
Damdtp-motu-trace.h16 static void copy_sph(u32 *frame, __be32 *buffer, unsigned int data_blocks,
18 static void copy_message(u64 *frames, __be32 *buffer, unsigned int data_blocks,
22 TP_PROTO(struct amdtp_stream *s, unsigned int data_blocks, __be32 *buffer),
23 TP_ARGS(s, data_blocks, buffer),
27 __field(unsigned int, data_blocks)
28 __dynamic_array(u32, tstamps, data_blocks)
38 __entry->data_blocks = data_blocks;
39 copy_sph(__get_dynamic_array(tstamps), buffer, data_blocks, s->data_block_quadlets);
45 __entry->data_blocks,
46 __print_array(__get_dynamic_array(tstamps), __entry->data_blocks, 4)
[all …]
Damdtp-motu.c117 __be32 *buffer, unsigned int data_blocks, in read_pcm_s32() argument
136 for (i = 0; i < data_blocks; ++i) { in read_pcm_s32()
153 __be32 *buffer, unsigned int data_blocks, in write_pcm_s32() argument
172 for (i = 0; i < data_blocks; ++i) { in write_pcm_s32()
190 unsigned int data_blocks) in write_pcm_silence() argument
198 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence()
235 unsigned int data_blocks) in write_midi_messages() argument
242 for (i = 0; i < data_blocks; i++) { in write_midi_messages()
261 unsigned int data_blocks) in read_midi_messages() argument
268 for (i = 0; i < data_blocks; i++) { in read_midi_messages()
[all …]
/kernel/linux/linux-5.10/sound/firewire/digi00x/
Damdtp-dot.c209 unsigned int data_blocks) in write_pcm_silence() argument
217 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence()
249 unsigned int data_blocks, unsigned int data_block_counter) in write_midi_messages() argument
256 for (f = 0; f < data_blocks; f++) { in write_midi_messages()
293 unsigned int data_blocks) in read_midi_messages() argument
299 for (f = 0; f < data_blocks; f++) { in read_midi_messages()
355 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
358 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
359 pcm_frames += data_blocks; in process_ir_ctx_payloads()
362 read_midi_messages(s, buf, data_blocks); in process_ir_ctx_payloads()
[all …]
/kernel/linux/linux-5.10/sound/firewire/tascam/
Damdtp-tascam.c99 unsigned int data_blocks) in write_pcm_silence() argument
106 for (i = 0; i < data_blocks; ++i) { in write_pcm_silence()
130 __be32 *buffer, unsigned int data_blocks) in read_status_messages() argument
136 for (i = 0; i < data_blocks; i++) { in read_status_messages()
190 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
193 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
194 pcm_frames += data_blocks; in process_ir_ctx_payloads()
197 read_status_messages(s, buf, data_blocks); in process_ir_ctx_payloads()
214 unsigned int data_blocks = desc->data_blocks; in process_it_ctx_payloads() local
217 write_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_it_ctx_payloads()
[all …]
/kernel/linux/linux-5.10/sound/firewire/fireface/
Damdtp-ff.c126 unsigned int data_blocks = desc->data_blocks; in process_it_ctx_payloads() local
129 write_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_it_ctx_payloads()
130 pcm_frames += data_blocks; in process_it_ctx_payloads()
132 write_pcm_silence(s, buf, data_blocks); in process_it_ctx_payloads()
150 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
153 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
154 pcm_frames += data_blocks; in process_ir_ctx_payloads()
/kernel/linux/linux-5.10/sound/firewire/
Damdtp-stream-trace.h17 …s, const __be32 *cip_header, unsigned int payload_length, unsigned int data_blocks, unsigned int d…
18 …TP_ARGS(s, cycles, cip_header, payload_length, data_blocks, data_block_counter, packet_index, inde…
27 __field(unsigned int, data_blocks)
49 __entry->data_blocks = data_blocks;
63 __entry->data_blocks,
Damdtp-stream.c346 unsigned int data_blocks; in calculate_data_blocks() local
352 data_blocks = 0; in calculate_data_blocks()
354 data_blocks = syt_interval; in calculate_data_blocks()
359 data_blocks = *data_block_state; in calculate_data_blocks()
373 data_blocks = 5 + ((phase & 1) ^ in calculate_data_blocks()
377 data_blocks = 11 * (sfc >> 1) + (phase == 0); in calculate_data_blocks()
384 return data_blocks; in calculate_data_blocks()
509 unsigned int data_blocks, in build_it_pkt_header() argument
516 payload_length = data_blocks * sizeof(__be32) * s->data_block_quadlets; in build_it_pkt_header()
528 trace_amdtp_packet(s, cycle, cip_header, payload_length, data_blocks, in build_it_pkt_header()
[all …]
Damdtp-am824.c361 unsigned int data_blocks = desc->data_blocks; in process_it_ctx_payloads() local
364 write_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_it_ctx_payloads()
365 pcm_frames += data_blocks * p->frame_multiplier; in process_it_ctx_payloads()
367 write_pcm_silence(s, buf, data_blocks); in process_it_ctx_payloads()
371 write_midi_messages(s, buf, data_blocks, in process_it_ctx_payloads()
391 unsigned int data_blocks = desc->data_blocks; in process_ir_ctx_payloads() local
394 read_pcm_s32(s, pcm, buf, data_blocks, pcm_frames); in process_ir_ctx_payloads()
395 pcm_frames += data_blocks * p->frame_multiplier; in process_ir_ctx_payloads()
399 read_midi_messages(s, buf, data_blocks, in process_ir_ctx_payloads()
Damdtp-stream.h100 unsigned int data_blocks; member
279 unsigned int data_blocks; member
/kernel/linux/linux-5.10/fs/gfs2/
Dbmap.h30 unsigned int *data_blocks, in gfs2_write_calc_reserv() argument
37 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
40 for (tmp = *data_blocks; tmp > sdp->sd_diptrs;) { in gfs2_write_calc_reserv()
Dfile.c453 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local
506 gfs2_write_calc_reserv(ip, length, &data_blocks, &ind_blocks); in gfs2_page_mkwrite()
507 ap.target = data_blocks + ind_blocks; in gfs2_page_mkwrite()
517 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite()
518 if (ind_blocks || data_blocks) { in gfs2_page_mkwrite()
520 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite()
1035 unsigned int *data_blocks, unsigned int *ind_blocks, in calc_max_reserv() argument
1047 *data_blocks = max_data; in calc_max_reserv()
1052 gfs2_write_calc_reserv(ip, max, data_blocks, ind_blocks); in calc_max_reserv()
1062 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local
[all …]
Dquota.c885 unsigned int data_blocks, ind_blocks; in do_sync() local
899 &data_blocks, &ind_blocks); in do_sync()
936 blocks = num_qd * data_blocks + RES_DINODE + num_qd + 3; in do_sync()
938 reserved = 1 + (nalloc * (data_blocks + ind_blocks)); in do_sync()
1677 unsigned int data_blocks, ind_blocks; in gfs2_set_dqblk() local
1737 &data_blocks, &ind_blocks); in gfs2_set_dqblk()
1738 blocks = 1 + data_blocks + ind_blocks; in gfs2_set_dqblk()
Dbmap.c1077 unsigned int data_blocks, ind_blocks; in gfs2_iomap_begin_write() local
1082 gfs2_write_calc_reserv(ip, iomap->length, &data_blocks, in gfs2_iomap_begin_write()
1084 ap.target = data_blocks + ind_blocks; in gfs2_iomap_begin_write()
1095 rblocks += data_blocks; in gfs2_iomap_begin_write()
1096 if (ind_blocks || data_blocks) in gfs2_iomap_begin_write()
1100 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_iomap_begin_write()
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-fec.c236 if (block >= v->data_blocks) { in fec_read_bufs()
237 block -= v->data_blocks; in fec_read_bufs()
437 block = block - v->hash_start + v->data_blocks; in verity_fec_decode()
729 if (f->blocks < v->data_blocks + hash_blocks || !f->rounds) { in verity_fec_ctr()
738 f->hash_blocks = f->blocks - v->data_blocks; in verity_fec_ctr()
774 if (dm_bufio_get_device_size(f->data_bufio) < v->data_blocks) { in verity_fec_ctr()
Ddm-verity-target.c676 (v->data_dev_block_bits - SECTOR_SHIFT) > v->data_blocks) { in verity_map()
725 (unsigned long long)v->data_blocks, in verity_status()
849 if (v->data_blocks > INT_MAX) { in verity_alloc_most_once()
854 v->validated_blocks = kvcalloc(BITS_TO_LONGS(v->data_blocks), in verity_alloc_most_once()
1083 v->data_blocks = num_ll; in verity_ctr()
1085 if (ti->len > (v->data_blocks << (v->data_dev_block_bits - SECTOR_SHIFT))) { in verity_ctr()
1188 if (v->data_blocks) in verity_ctr()
1190 (unsigned long long)(v->data_blocks - 1) >> in verity_ctr()
1204 s = (v->data_blocks + ((sector_t)1 << ((i + 1) * v->hash_per_block_bits)) - 1) in verity_ctr()
Ddm-verity.h47 sector_t data_blocks; /* the number of data blocks */ member
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dsdio.c278 request->data_blocks = cpu_to_le16(nblocks); in _gb_sdio_send()
294 send_blocks = le16_to_cpu(response->data_blocks); in _gb_sdio_send()
332 request->data_blocks = cpu_to_le16(nblocks); in _gb_sdio_recv()
340 recv_blocks = le16_to_cpu(response->data_blocks); in _gb_sdio_recv()
468 request.data_blocks = cpu_to_le16(data->blocks); in gb_sdio_command()
/kernel/linux/linux-5.10/fs/reiserfs/
Dprints.c550 int skipped, data_blocks; in print_super_block() local
576 data_blocks = sb_block_count(rs) - skipped - 1 - sb_bmap_nr(rs) - in print_super_block()
583 sb_reserved_for_journal(rs)), data_blocks); in print_super_block()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_user.c146 struct radix_tree_root data_blocks; member
509 page = radix_tree_lookup(&udev->data_blocks, dbi); in tcmu_get_empty_block()
520 ret = radix_tree_insert(&udev->data_blocks, dbi, page); in tcmu_get_empty_block()
560 return radix_tree_lookup(&udev->data_blocks, dbi); in tcmu_get_block_page()
1578 INIT_RADIX_TREE(&udev->data_blocks, GFP_KERNEL); in tcmu_alloc_device()
1842 tcmu_blocks_release(&udev->data_blocks, 0, udev->dbi_max + 1); in tcmu_dev_kref_release()
2918 tcmu_blocks_release(&udev->data_blocks, start, end); in find_free_blocks()
/kernel/linux/linux-5.10/include/linux/greybus/
Dgreybus_protocols.h1516 __le16 data_blocks; member
1531 __le16 data_blocks; member
1537 __le16 data_blocks; member
/kernel/linux/linux-5.10/include/trace/events/
Dext4.h1011 __field( unsigned int, data_blocks )
1017 __entry->data_blocks = EXT4_I(inode)->i_reserved_data_blocks;
1023 __entry->data_blocks)