Home
last modified time | relevance | path

Searched refs:cur_pos (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c37 size_t cur_pos, size_t payload_len) in report_bad_packet() argument
49 (unsigned int)cur_pos, in report_bad_packet()
72 size_t payload_len, total_len, cur_pos; in process_recv() local
82 cur_pos = 0; in process_recv()
85 if (cur_pos + sizeof(struct hostif_msg) > total_len) { in process_recv()
95 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
99 if (cur_pos + payload_len + sizeof(struct hostif_msg) > in process_recv()
102 report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, in process_recv()
117 cur_pos, in process_recv()
166 cur_pos, in process_recv()
[all …]
/linux-4.19.296/drivers/s390/block/
Ddasd_fba.c285 int cur_pos = 0; in count_ccws() local
293 cur_pos = wz_stop - first_rec + 1; in count_ccws()
297 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
304 cur_pos += d_stop - (first_rec + cur_pos) + 1; in count_ccws()
308 if (cur_pos == 0 || first_rec + cur_pos - 1 < last_rec) in count_ccws()
341 int cur_pos = 0; /* Current position within the extent */ in dasd_fba_build_cp_discard() local
379 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard()
384 cur_pos = wz_count; in dasd_fba_build_cp_discard()
388 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in dasd_fba_build_cp_discard()
396 d_count = d_stop - (first_rec + cur_pos) + 1; in dasd_fba_build_cp_discard()
[all …]
/linux-4.19.296/fs/f2fs/
Dsegment.h673 int cur_pos = 0, next_pos; in check_block_count() local
680 cur_pos); in check_block_count()
681 valid_blocks += next_pos - cur_pos; in check_block_count()
685 cur_pos); in check_block_count()
686 cur_pos = next_pos; in check_block_count()
688 } while (cur_pos < sbi->blocks_per_seg); in check_block_count()
Dsegment.c1895 unsigned int cur_pos = 0, next_pos, len, total_len = 0; in f2fs_clear_prefree_segments() local
1901 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments()
1902 len = next_pos - cur_pos; in f2fs_clear_prefree_segments()
1908 f2fs_issue_discard(sbi, entry->start_blkaddr + cur_pos, in f2fs_clear_prefree_segments()
1913 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments()
1916 cur_pos = next_pos; in f2fs_clear_prefree_segments()
1919 if (cur_pos < sbi->blocks_per_seg) in f2fs_clear_prefree_segments()
/linux-4.19.296/fs/udf/
Ddir.c143 loff_t cur_pos = nf_pos; in udf_readdir() local
156 if (cur_pos < emit_pos) in udf_readdir()
/linux-4.19.296/fs/reiserfs/
Ddir.c144 loff_t cur_pos = deh_offset(deh); in reiserfs_readdir_inode() local
224 next_pos = cur_pos + 1; in reiserfs_readdir_inode()
/linux-4.19.296/include/xen/interface/io/
Dsndif.h1043 struct xensnd_cur_pos_evt cur_pos; member