Home
last modified time | relevance | path

Searched refs:map_off (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/net/rds/
Dtcp_recv.c110 unsigned int map_off; in rds_tcp_cong_recv() local
120 map_off = 0; in rds_tcp_cong_recv()
126 to_copy = min_t(unsigned int, PAGE_SIZE - map_off, in rds_tcp_cong_recv()
133 (void *)map->m_page_addrs[map_page] + map_off, in rds_tcp_cong_recv()
138 map_off += to_copy; in rds_tcp_cong_recv()
139 if (map_off == PAGE_SIZE) { in rds_tcp_cong_recv()
140 map_off = 0; in rds_tcp_cong_recv()
Diw_recv.c557 unsigned int map_off; in rds_iw_cong_recv() local
572 map_off = 0; in rds_iw_cong_recv()
583 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_iw_cong_recv()
589 dst = (void *)map->m_page_addrs[map_page] + map_off; in rds_iw_cong_recv()
600 map_off += to_copy; in rds_iw_cong_recv()
601 if (map_off == PAGE_SIZE) { in rds_iw_cong_recv()
602 map_off = 0; in rds_iw_cong_recv()
Dib_recv.c768 unsigned int map_off; in rds_ib_cong_recv() local
783 map_off = 0; in rds_ib_cong_recv()
794 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv()
800 dst = (void *)map->m_page_addrs[map_page] + map_off; in rds_ib_cong_recv()
811 map_off += to_copy; in rds_ib_cong_recv()
812 if (map_off == PAGE_SIZE) { in rds_ib_cong_recv()
813 map_off = 0; in rds_ib_cong_recv()
/linux-4.4.14/fs/xfs/
Dxfs_dir2_readdir.c258 xfs_dablk_t map_off; /* last mapped file offset */ member
328 mip->map_off < xfs_dir2_byte_to_da(geo, XFS_DIR2_LEAF_OFFSET)) { in xfs_dir2_leaf_readbuf()
334 error = xfs_bmapi_read(dp, mip->map_off, in xfs_dir2_leaf_readbuf()
336 mip->map_off, in xfs_dir2_leaf_readbuf()
354 mip->map_off = map[i].br_startoff + map[i].br_blockcount; in xfs_dir2_leaf_readbuf()
356 mip->map_off = xfs_dir2_byte_to_da(geo, in xfs_dir2_leaf_readbuf()
382 *curoff = xfs_dir2_da_to_byte(geo, mip->map_off); in xfs_dir2_leaf_readbuf()
520 map_info->map_off = xfs_dir2_db_to_da(geo, in xfs_dir2_leaf_getdents()