Searched refs:tcur (Results 1 – 5 of 5) sorted by relevance
/linux/fs/xfs/ |
H A D | xfs_discard.c | 181 struct xfs_trim_cur *tcur, in xfs_trim_gather_extents() argument 207 if (tcur->by_bno) { in xfs_trim_gather_extents() 210 error = xfs_alloc_lookup_le(cur, tcur->start, 0, &i); in xfs_trim_gather_extents() 212 error = xfs_alloc_lookup_ge(cur, tcur->start, 0, &i); in xfs_trim_gather_extents() 213 } else if (tcur->start == 0) { in xfs_trim_gather_extents() 216 error = xfs_alloc_lookup_ge(cur, 0, tcur->count, &i); in xfs_trim_gather_extents() 220 error = xfs_alloc_lookup_le(cur, tcur->start, tcur->count, &i); in xfs_trim_gather_extents() 226 tcur->count = 0; in xfs_trim_gather_extents() 252 tcur->start = fbno; in xfs_trim_gather_extents() 253 tcur->count = flen; in xfs_trim_gather_extents() [all …]
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.c | 2425 struct xfs_btree_cur *tcur; /* temporary btree cursor */ in xfs_btree_lshift() local 2562 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_btree_lshift() 2565 i = xfs_btree_firstrec(tcur, level); in xfs_btree_lshift() 2566 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift() 2572 error = xfs_btree_decrement(tcur, level, &i); in xfs_btree_lshift() 2577 error = xfs_btree_update_keys(tcur, level); in xfs_btree_lshift() 2581 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_btree_lshift() 2603 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_btree_lshift() 2621 struct xfs_btree_cur *tcur; /* temporary btree cursor */ in xfs_btree_rshift() local 2732 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_btree_rshift() [all …]
|
H A D | xfs_ialloc.c | 1100 struct xfs_btree_cur *cur, *tcur; in xfs_dialloc_ag_inobt() local 1164 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_dialloc_ag_inobt() 1175 error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec, in xfs_dialloc_ag_inobt() 1186 error = xfs_ialloc_next_rec(tcur, &trec, &doneleft, 1); in xfs_dialloc_ag_inobt() 1214 cur = tcur; in xfs_dialloc_ag_inobt() 1225 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt() 1235 error = xfs_ialloc_next_rec(tcur, &trec, in xfs_dialloc_ag_inobt() 1250 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt() 1266 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt() 1362 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_inobt()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_classification.c | 450 unsigned long tstop, tcur; in run_test() local 464 tcur = util_gettime(); in run_test() 465 tstop = tcur; in run_test() 481 tcur = util_gettime(); in run_test() 482 if (tcur >= tstop) in run_test() 485 err = do_poll(fdr, POLLIN, tstop - tcur); in run_test()
|
/linux/tools/kvm/kvm_stat/ |
H A D | kvm_stat | 1297 tcur = 0 1312 tcur += values.delta 1327 tavg = int(round(tcur / sleeptime)) if tcur > 0 else ''
|