Home
last modified time | relevance | path

Searched refs:adj (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/libxfs/
A Dxfs_exchmaps.c284 struct xfs_exchmaps_adjacent *adj) in xfs_exchmaps_find_mappings() argument
370 if (adj) { in xfs_exchmaps_find_mappings()
371 memcpy(&adj->left1, irec1, sizeof(*irec1)); in xfs_exchmaps_find_mappings()
372 memcpy(&adj->left2, irec2, sizeof(*irec2)); in xfs_exchmaps_find_mappings()
1038 struct xfs_exchmaps_adjacent adj = ADJACENT_INIT; in xfs_exchmaps_estimate() local
1089 &adj.left1, &irec1, &irec2, &adj.right1); in xfs_exchmaps_estimate()
1092 &adj.left2, &irec2, &irec1, &adj.right2); in xfs_exchmaps_estimate()
1095 if (xmi_can_merge(&adj.left2, &irec1)) in xfs_exchmaps_estimate()
1098 memcpy(&adj.left2, &irec1, sizeof(irec1)); in xfs_exchmaps_estimate()
1100 if (xmi_can_merge(&adj.left1, &irec2)) in xfs_exchmaps_estimate()
[all …]
A Dxfs_refcount.c1155 enum xfs_refc_adjust_op adj) in xfs_refcount_adjust_extents() argument
1190 tmp.rc_refcount = 1 + adj; in xfs_refcount_adjust_extents()
1252 ext.rc_refcount += adj; in xfs_refcount_adjust_extents()
1297 enum xfs_refc_adjust_op adj) in xfs_refcount_adjust() argument
1303 if (adj == XFS_REFCOUNT_ADJUST_INCREASE) in xfs_refcount_adjust()
1329 agbno, aglen, adj, &shape_changed); in xfs_refcount_adjust()
1338 error = xfs_refcount_adjust_extents(cur, agbno, aglen, adj); in xfs_refcount_adjust()
1805 enum xfs_refc_adjust_op adj) in xfs_refcount_adjust_cow_extents() argument
1835 switch (adj) { in xfs_refcount_adjust_cow_extents()
1909 enum xfs_refc_adjust_op adj) in xfs_refcount_adjust_cow() argument
[all …]
A Dxfs_rmap_btree.c196 int adj; in xfs_rmapbt_init_high_key_from_rec() local
198 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rmapbt_init_high_key_from_rec()
201 be32_add_cpu(&key->rmap.rm_startblock, adj); in xfs_rmapbt_init_high_key_from_rec()
208 off = (XFS_RMAP_OFF(off) + adj) | (off & ~XFS_RMAP_OFF_MASK); in xfs_rmapbt_init_high_key_from_rec()
A Dxfs_rtrmap_btree.c142 int adj; in xfs_rtrmapbt_init_high_key_from_rec() local
144 adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; in xfs_rtrmapbt_init_high_key_from_rec()
147 be32_add_cpu(&key->rmap.rm_startblock, adj); in xfs_rtrmapbt_init_high_key_from_rec()
154 off = (XFS_RMAP_OFF(off) + adj) | (off & ~XFS_RMAP_OFF_MASK); in xfs_rtrmapbt_init_high_key_from_rec()
A Dxfs_trans_resv.c393 unsigned int adj = 0; in xfs_calc_write_reservation() local
396 adj = xfs_calc_buf_res( in xfs_calc_write_reservation()
399 t1 += adj; in xfs_calc_write_reservation()
400 t3 += adj; in xfs_calc_write_reservation()
/fs/xfs/scrub/
A Dcow_repair.c120 unsigned int adj; in xrep_cow_trim_refcount() local
125 adj = xc->irec_startbno - dst->rc_startblock; in xrep_cow_trim_refcount()
126 dst->rc_blockcount -= adj; in xrep_cow_trim_refcount()
127 dst->rc_startblock += adj; in xrep_cow_trim_refcount()
134 dst->rc_blockcount -= adj; in xrep_cow_trim_refcount()
210 unsigned int adj; in xrep_cow_mark_missing_staging_rmap() local
218 adj = xc->irec_startbno - rec_bno; in xrep_cow_mark_missing_staging_rmap()
219 rec_len -= adj; in xrep_cow_mark_missing_staging_rmap()
220 rec_bno += adj; in xrep_cow_mark_missing_staging_rmap()
224 adj = (rec_bno + rec_len) - in xrep_cow_mark_missing_staging_rmap()
[all …]
/fs/jffs2/
A Dreadinode.c47 int adj = ofs % c->wbuf_pagesize; in check_node_data() local
48 if (likely(adj)) in check_node_data()
49 adj = c->wbuf_pagesize - adj; in check_node_data()
51 if (adj >= tn->csize) { in check_node_data()
57 ofs += adj; in check_node_data()
58 len -= adj; in check_node_data()

Completed in 43 milliseconds