Searched refs:tcur (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/xfs/ |
| H A D | xfs_discard.c | 163 struct xfs_trim_cur *tcur, in xfs_trim_gather_extents() argument 192 if (!tcur->count) in xfs_trim_gather_extents() 193 tcur->count = pag->pagf_longest; in xfs_trim_gather_extents() 195 if (tcur->by_bno) { in xfs_trim_gather_extents() 198 error = xfs_alloc_lookup_le(cur, tcur->start, 0, &i); in xfs_trim_gather_extents() 200 error = xfs_alloc_lookup_ge(cur, tcur->start, 0, &i); in xfs_trim_gather_extents() 201 } else if (tcur->start == 0) { in xfs_trim_gather_extents() 204 error = xfs_alloc_lookup_ge(cur, 0, tcur->count, &i); in xfs_trim_gather_extents() 208 error = xfs_alloc_lookup_le(cur, tcur->start, tcur->count, &i); in xfs_trim_gather_extents() 214 tcur->count = 0; in xfs_trim_gather_extents() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_btree.c | 2426 struct xfs_btree_cur *tcur; /* temporary btree cursor */ in xfs_btree_lshift() local 2563 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_btree_lshift() 2566 i = xfs_btree_firstrec(tcur, level); in xfs_btree_lshift() 2567 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift() 2573 error = xfs_btree_decrement(tcur, level, &i); in xfs_btree_lshift() 2578 error = xfs_btree_update_keys(tcur, level); in xfs_btree_lshift() 2582 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_btree_lshift() 2604 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_btree_lshift() 2622 struct xfs_btree_cur *tcur; /* temporary btree cursor */ in xfs_btree_rshift() local 2733 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_btree_rshift() [all …]
|
| H A D | xfs_ialloc.c | 1101 struct xfs_btree_cur *cur, *tcur; in xfs_dialloc_ag_inobt() local 1165 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_dialloc_ag_inobt() 1176 error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec, in xfs_dialloc_ag_inobt() 1187 error = xfs_ialloc_next_rec(tcur, &trec, &doneleft, 1); in xfs_dialloc_ag_inobt() 1215 cur = tcur; in xfs_dialloc_ag_inobt() 1226 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt() 1236 error = xfs_ialloc_next_rec(tcur, &trec, in xfs_dialloc_ag_inobt() 1251 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt() 1267 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt() 1363 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 ''
|