Home
last modified time | relevance | path

Searched refs:ar (Results 1 – 6 of 6) sorted by relevance

/fs/ext4/
Dmballoc.c3140 struct ext4_allocation_request *ar) in ext4_mb_normalize_request() argument
3221 if (ar->pleft && start <= ar->lleft) { in ext4_mb_normalize_request()
3222 size -= ar->lleft + 1 - start; in ext4_mb_normalize_request()
3223 start = ar->lleft + 1; in ext4_mb_normalize_request()
3225 if (ar->pright && start + size - 1 >= ar->lright) in ext4_mb_normalize_request()
3226 size -= start + size - ar->lright; in ext4_mb_normalize_request()
3305 if (ar->pright && (ar->lright == (start + size))) { in ext4_mb_normalize_request()
3307 ext4_get_group_no_and_offset(ac->ac_sb, ar->pright - size, in ext4_mb_normalize_request()
3312 if (ar->pleft && (ar->lleft + 1 == start)) { in ext4_mb_normalize_request()
3314 ext4_get_group_no_and_offset(ac->ac_sb, ar->pleft + 1, in ext4_mb_normalize_request()
[all …]
Dballoc.c637 struct ext4_allocation_request ar; in ext4_new_meta_blocks() local
640 memset(&ar, 0, sizeof(ar)); in ext4_new_meta_blocks()
642 ar.inode = inode; in ext4_new_meta_blocks()
643 ar.goal = goal; in ext4_new_meta_blocks()
644 ar.len = count ? *count : 1; in ext4_new_meta_blocks()
646 ret = ext4_mb_new_blocks(handle, &ar, errp); in ext4_new_meta_blocks()
648 *count = ar.len; in ext4_new_meta_blocks()
655 EXT4_I(inode)->i_allocated_meta_blocks += ar.len; in ext4_new_meta_blocks()
Dextents.c2689 struct ext4_allocation_request ar; in ext4_ext_get_blocks() local
2811 ar.lleft = iblock; in ext4_ext_get_blocks()
2812 err = ext4_ext_search_left(inode, path, &ar.lleft, &ar.pleft); in ext4_ext_get_blocks()
2815 ar.lright = iblock; in ext4_ext_get_blocks()
2816 err = ext4_ext_search_right(inode, path, &ar.lright, &ar.pright); in ext4_ext_get_blocks()
2843 ar.inode = inode; in ext4_ext_get_blocks()
2844 ar.goal = ext4_ext_find_goal(inode, path, iblock); in ext4_ext_get_blocks()
2845 ar.logical = iblock; in ext4_ext_get_blocks()
2846 ar.len = allocated; in ext4_ext_get_blocks()
2848 ar.flags = EXT4_MB_HINT_DATA; in ext4_ext_get_blocks()
[all …]
Dinode.c560 struct ext4_allocation_request ar; in ext4_alloc_blocks() local
609 memset(&ar, 0, sizeof(ar)); in ext4_alloc_blocks()
610 ar.inode = inode; in ext4_alloc_blocks()
611 ar.goal = goal; in ext4_alloc_blocks()
612 ar.len = target; in ext4_alloc_blocks()
613 ar.logical = iblock; in ext4_alloc_blocks()
616 ar.flags = EXT4_MB_HINT_DATA; in ext4_alloc_blocks()
618 current_block = ext4_mb_new_blocks(handle, &ar, err); in ext4_alloc_blocks()
635 blk_allocated += ar.len; in ext4_alloc_blocks()
/fs/
Dlibfs.c579 struct simple_transaction_argresp *ar; in simple_transaction_get() local
585 ar = (struct simple_transaction_argresp *)get_zeroed_page(GFP_KERNEL); in simple_transaction_get()
586 if (!ar) in simple_transaction_get()
594 free_page((unsigned long)ar); in simple_transaction_get()
598 file->private_data = ar; in simple_transaction_get()
602 if (copy_from_user(ar->data, buf, size)) in simple_transaction_get()
605 return ar->data; in simple_transaction_get()
610 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_read() local
612 if (!ar) in simple_transaction_read()
614 return simple_read_from_buffer(buf, size, pos, ar->data, ar->size); in simple_transaction_read()
/fs/gfs2/
Dsuper.c103 int ar; in gfs2_jdesc_check() local
113 error = gfs2_write_alloc_required(ip, 0, ip->i_disksize, &ar); in gfs2_jdesc_check()
114 if (!error && ar) { in gfs2_jdesc_check()