/linux-master/drivers/gpu/host1x/hw/ |
H A D | cdma_hw.c | 51 cdma->last_pos = cdma->push_buffer.pos; 98 cdma->last_pos = cdma->push_buffer.pos; 127 cdma->last_pos); 147 if (cdma->push_buffer.pos != cdma->last_pos) { 150 cdma->last_pos = cdma->push_buffer.pos; 215 cdma->last_pos);
|
/linux-master/drivers/gpu/host1x/ |
H A D | cdma.h | 67 unsigned int last_pos; /* last value written to DMAPUT */ member in struct:host1x_cdma
|
H A D | cdma.c | 411 restart_addr = cdma->last_pos;
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_opt.c | 1078 U32 cur, last_pos = 0; local 1112 last_pos = ZSTD_totalLen(lastSequence); 1137 last_pos = pos-1; 1142 for (cur = 1; cur <= last_pos; cur++) { 1187 if (cur == last_pos) break; 1221 last_pos = cur + ZSTD_totalLen(lastSequence); 1240 if ((pos > last_pos) || (price < opt[pos].price)) { 1243 while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos [all...] |
/linux-master/fs/udf/ |
H A D | inode.c | 283 loff_t last_pos; local 288 last_pos = pos + copied; 289 if (last_pos > inode->i_size) 290 i_size_write(inode, last_pos); 501 struct extent_position *last_pos, 541 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, 550 udf_write_aext(inode, last_pos, &last_ext->extLocation, 559 udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0); 576 err = udf_add_aext(inode, last_pos, &last_ext->extLocation, 586 err = udf_add_aext(inode, last_pos, 500 udf_do_extend_file(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, loff_t new_block_bytes) argument 612 udf_do_extend_final_block(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, uint32_t new_elen) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | fsck.c | 671 struct bpos last_pos; member in struct:inode_walker 754 w->last_pos.inode, snapshot, i->snapshot, buf.buf); 775 if (w->last_pos.inode != k.k->p.inode) { 779 } else if (bkey_cmp(w->last_pos, k.k->p)) { 784 w->last_pos = k.k->p; 1255 count2 = bch2_count_inode_sectors(trans, w->last_pos.inode, i->snapshot); 1262 w->last_pos.inode, i->snapshot, i->count, count2); 1269 w->last_pos.inode, i->snapshot, 1296 struct bpos last_pos; member in struct:extent_ends 1477 if (bpos_eq(extent_ends->last_pos, [all...] |
H A D | snapshot.c | 1358 struct bpos *last_pos) 1363 if (!bkey_eq(k.k->p, *last_pos)) 1365 *last_pos = k.k->p; 1588 struct bpos last_pos = POS_MIN; local 1608 snapshot_delete_key(trans, &iter, k, &deleted, &equiv_seen, &last_pos)) ?: 1353 snapshot_delete_key(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c k, snapshot_id_list *deleted, snapshot_id_list *equiv_seen, struct bpos *last_pos) argument
|
/linux-master/sound/pci/ymfpci/ |
H A D | ymfpci_main.c | 298 if (pos < ypcm->last_pos) 299 delta = pos + (ypcm->buffer_size - ypcm->last_pos); 301 delta = pos - ypcm->last_pos; 303 ypcm->last_pos = pos; 350 if (pos < ypcm->last_pos) 351 delta = pos + (ypcm->buffer_size - ypcm->last_pos); 353 delta = pos - ypcm->last_pos; 355 ypcm->last_pos = pos; 667 ypcm->last_pos = 0; 701 ypcm->last_pos [all...] |
H A D | ymfpci.h | 266 u32 last_pos; member in struct:snd_ymfpci_pcm
|
/linux-master/fs/ext4/ |
H A D | dir.c | 566 if (info->last_pos != ctx->pos) { 631 info->last_pos = ctx->pos;
|
H A D | ext4.h | 2549 loff_t last_pos; member in struct:dir_private_info
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_g2d.c | 634 unsigned long bpp, last_pos; local 661 last_pos = ((unsigned long)buf_desc->bottom_y - 1) * 667 * that the first_pos < last_pos (first_pos being the position 669 * check if last_pos is smaller then the buffer size. 672 if (last_pos >= size) { 674 "is out of range [%lu]!\n", last_pos, size);
|
/linux-master/fs/orangefs/ |
H A D | inode.c | 378 loff_t last_pos = pos + copied; local 384 if (last_pos > inode->i_size) 385 i_size_write(inode, last_pos);
|
/linux-master/fs/ceph/ |
H A D | file.c | 1734 u64 last_pos = (write_pos + write_len) - CEPH_FSCRYPT_BLOCK_SIZE; local 1742 if (first && last_pos == first_pos) 1750 ci->i_vino, first ? first_pos : last_pos, 1793 last_pos, CEPH_FSCRYPT_BLOCK_SIZE, 1808 offset_in_page(last_pos), 1840 offset_in_page(last_pos), 1856 offset_in_page(last_pos), 1871 offset_in_page(last_pos), 1902 offset_in_page(last_pos), 1903 last_pos >> CEPH_FSCRYPT_BLOCK_SHIF [all...] |
/linux-master/fs/gfs2/ |
H A D | glock.c | 58 loff_t last_pos; /* last position */ member in struct:gfs2_glock_iter 2570 if (*pos < gi->last_pos) { 2575 n = *pos - gi->last_pos; 2581 gi->last_pos = *pos; 2591 gi->last_pos = *pos; 2671 gi->last_pos = -1;
|
/linux-master/mm/ |
H A D | zswap.c | 1465 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; local 1470 if (val != page[last_pos]) 1473 for (pos = 1; pos < last_pos; pos++) {
|
H A D | filemap.c | 2577 loff_t last_pos = ra->prev_pos; local 2628 if (!pos_same_folio(iocb->ki_pos, last_pos - 1, 2656 last_pos = iocb->ki_pos; 2670 ra->prev_pos = last_pos;
|
/linux-master/fs/btrfs/ |
H A D | file.c | 988 u64 last_pos; local 993 last_pos = round_up(pos + write_bytes, fs_info->sectorsize) - 1; 999 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, 1010 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); 1014 last_pos - start_pos + 1); 1017 ordered->file_offset <= last_pos) { 1018 unlock_extent(&inode->io_tree, start_pos, last_pos, 1032 *lockend = last_pos;
|
/linux-master/sound/pci/ |
H A D | intel8x0.c | 320 unsigned int last_pos; member in struct:ichdev 800 ichdev->last_pos = ichdev->position; 1022 ptr = ichdev->last_pos; 1027 if (ptr < ichdev->last_pos) { 1030 last_base = ichdev->last_pos / ichdev->fragsize1; 1035 ptr = ichdev->last_pos; 1038 ichdev->last_pos = ptr;
|
/linux-master/fs/ |
H A D | libfs.c | 910 loff_t last_pos = pos + copied; local 925 if (last_pos > inode->i_size) 926 i_size_write(inode, last_pos);
|
/linux-master/sound/drivers/ |
H A D | aloop.c | 621 unsigned long last_pos; local 624 last_pos = byte_pos(dpcm, dpcm->irq_pos); 626 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos;
|
/linux-master/block/ |
H A D | bfq-iosched.c | 231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ 232 (get_sdist(last_pos, rq) > \ 2372 static sector_t get_sdist(sector_t last_pos, struct request *rq) argument 2374 if (last_pos) 2375 return abs(blk_rq_pos(rq) - last_pos);
|
/linux-master/drivers/block/zram/ |
H A D | zram_drv.c | 208 unsigned int pos, last_pos = PAGE_SIZE / sizeof(*page) - 1; local 213 if (val != page[last_pos]) 216 for (pos = 1; pos < last_pos; pos++) {
|
/linux-master/net/ipv4/ |
H A D | tcp_ipv4.c | 2765 if (*pos && *pos == st->last_pos) { 2778 st->last_pos = *pos; 2809 st->last_pos = *pos; 3167 /* Keeping st->last_pos consistent in tcp_iter_state. 3168 * bpf iter does not do lseek, so st->last_pos always equals to *pos. 3170 st->last_pos = *pos;
|
/linux-master/include/net/ |
H A D | tcp.h | 2188 loff_t last_pos; member in struct:tcp_iter_state
|