Lines Matching refs:ar
4137 struct ext4_allocation_request ar;
4246 ar.len = allocated = map->m_len;
4252 ar.lleft = map->m_lblk;
4253 err = ext4_ext_search_left(inode, path, &ar.lleft, &ar.pleft);
4256 ar.lright = map->m_lblk;
4257 err = ext4_ext_search_right(inode, path, &ar.lright, &ar.pright, &ex2);
4265 ar.len = allocated = map->m_len;
4292 ar.inode = inode;
4293 ar.goal = ext4_ext_find_goal(inode, path, map->m_lblk);
4294 ar.logical = map->m_lblk;
4304 ar.len = EXT4_NUM_B2C(sbi, offset+allocated);
4305 ar.goal -= offset;
4306 ar.logical -= offset;
4308 ar.flags = EXT4_MB_HINT_DATA;
4311 ar.flags = 0;
4313 ar.flags |= EXT4_MB_HINT_NOPREALLOC;
4315 ar.flags |= EXT4_MB_DELALLOC_RESERVED;
4317 ar.flags |= EXT4_MB_USE_RESERVED;
4318 newblock = ext4_mb_new_blocks(handle, &ar, &err);
4321 allocated_clusters = ar.len;
4322 ar.len = EXT4_C2B(sbi, ar.len) - offset;
4324 ar.goal, newblock, ar.len, allocated);
4325 if (ar.len > allocated)
4326 ar.len = allocated;
4332 newex.ee_len = cpu_to_le16(ar.len);
4407 map->m_len = ar.len;