Lines Matching refs:blks
241 unsigned int blks = 0; in ea_dealloc_unstuffed() local
255 blks++; in ea_dealloc_unstuffed()
259 if (!blks) in ea_dealloc_unstuffed()
274 RES_EATTR + RES_STATFS + RES_QUOTA, blks); in ea_dealloc_unstuffed()
738 unsigned int blks, in ea_alloc_skeleton() argument
741 struct gfs2_alloc_parms ap = { .target = blks }; in ea_alloc_skeleton()
757 blks + gfs2_rg_blocks(ip, blks) + in ea_alloc_skeleton()
806 unsigned int blks = 1; in ea_init() local
815 blks += DIV_ROUND_UP(er.er_data_len, jbsize); in ea_init()
817 return ea_alloc_skeleton(ip, &er, blks, ea_init_i, NULL); in ea_init()
951 unsigned int blks; in ea_set_simple() local
955 blks = 2 + DIV_ROUND_UP(es->es_er->er_data_len, in ea_set_simple()
958 error = ea_alloc_skeleton(ip, es->es_er, blks, in ea_set_simple()
1046 unsigned int blks = 2; in ea_set_i() local
1066 blks++; in ea_set_i()
1068 blks += DIV_ROUND_UP(er.er_data_len, GFS2_SB(&ip->i_inode)->sd_jbsize); in ea_set_i()
1070 return ea_alloc_skeleton(ip, &er, blks, ea_set_block, el); in ea_set_i()
1272 unsigned int blks = 0; in ea_dealloc_indirect() local
1309 blks++; in ea_dealloc_indirect()
1328 RES_STATFS + RES_QUOTA, blks); in ea_dealloc_indirect()