Home
last modified time | relevance | path

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

/linux-3.4.99/sound/firewire/
Damdtp.c169 unsigned int phase, data_blocks; in calculate_data_blocks() local
173 data_blocks = s->data_block_state; in calculate_data_blocks()
187 data_blocks = 5 + ((phase & 1) ^ in calculate_data_blocks()
191 data_blocks = 11 * (s->sfc >> 1) + (phase == 0); in calculate_data_blocks()
197 return data_blocks; in calculate_data_blocks()
320 unsigned int index, data_blocks, syt, ptr; in queue_out_packet() local
329 data_blocks = calculate_data_blocks(s); in queue_out_packet()
342 s->transfer_samples(s, pcm, buffer, data_blocks); in queue_out_packet()
344 amdtp_fill_pcm_silence(s, buffer, data_blocks); in queue_out_packet()
346 amdtp_fill_midi(s, buffer, data_blocks); in queue_out_packet()
[all …]
/linux-3.4.99/fs/gfs2/
Dbmap.h31 unsigned int *data_blocks, in gfs2_write_calc_reserv() argument
38 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
41 for (tmp = *data_blocks; tmp > sdp->sd_diptrs;) { in gfs2_write_calc_reserv()
Dfile.c367 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local
404 gfs2_write_calc_reserv(ip, PAGE_CACHE_SIZE, &data_blocks, &ind_blocks); in gfs2_page_mkwrite()
405 ret = gfs2_inplace_reserve(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite()
411 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite()
412 if (ind_blocks || data_blocks) { in gfs2_page_mkwrite()
723 unsigned int *data_blocks, unsigned int *ind_blocks) in calc_max_reserv() argument
735 if (max_data <= *data_blocks) in calc_max_reserv()
737 *data_blocks = max_data; in calc_max_reserv()
742 gfs2_write_calc_reserv(ip, max, data_blocks, ind_blocks); in calc_max_reserv()
752 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in gfs2_fallocate() local
[all …]
Daops.c615 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in gfs2_write_begin() local
639 gfs2_write_calc_reserv(ip, len, &data_blocks, &ind_blocks); in gfs2_write_begin()
652 error = gfs2_inplace_reserve(ip, data_blocks + ind_blocks); in gfs2_write_begin()
659 rblocks += data_blocks ? data_blocks : 1; in gfs2_write_begin()
660 if (ind_blocks || data_blocks) in gfs2_write_begin()
Dquota.c759 unsigned int data_blocks, ind_blocks; in do_sync() local
768 &data_blocks, &ind_blocks); in do_sync()
803 blocks = num_qd * data_blocks + RES_DINODE + num_qd + 3; in do_sync()
806 (nalloc * (data_blocks + ind_blocks))); in do_sync()
1519 unsigned int data_blocks, ind_blocks; in gfs2_set_dqblk() local
1587 &data_blocks, &ind_blocks); in gfs2_set_dqblk()
1588 blocks = 1 + data_blocks + ind_blocks; in gfs2_set_dqblk()
/linux-3.4.99/drivers/md/
Ddm-verity.c47 sector_t data_blocks; /* the number of data blocks */ member
481 (v->data_dev_block_bits - SECTOR_SHIFT) > v->data_blocks) { in verity_map()
535 (unsigned long long)v->data_blocks, in verity_status()
725 v->data_blocks = num_ll; in verity_ctr()
727 if (ti->len > (v->data_blocks << (v->data_dev_block_bits - SECTOR_SHIFT))) { in verity_ctr()
798 if (v->data_blocks) in verity_ctr()
800 (unsigned long long)(v->data_blocks - 1) >> in verity_ctr()
814 s = (v->data_blocks + ((sector_t)1 << ((i + 1) * v->hash_per_block_bits)) - 1) in verity_ctr()
/linux-3.4.99/fs/reiserfs/
Dprints.c524 int skipped, data_blocks; in print_super_block() local
549 data_blocks = sb_block_count(rs) - skipped - 1 - sb_bmap_nr(rs) - in print_super_block()
556 sb_reserved_for_journal(rs)), data_blocks); in print_super_block()
/linux-3.4.99/include/trace/events/
Dext4.h832 __field( unsigned int, data_blocks )
839 __entry->data_blocks = EXT4_I(inode)->i_reserved_data_blocks;
846 __entry->data_blocks, __entry->meta_blocks)