Home
last modified time | relevance | path

Searched refs:pcur (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/scrub/
Dalloc.c41 struct xfs_btree_cur **pcur; in xchk_allocbt_xref_other() local
48 pcur = &sc->sa.cnt_cur; in xchk_allocbt_xref_other()
50 pcur = &sc->sa.bno_cur; in xchk_allocbt_xref_other()
51 if (!*pcur || xchk_skip_xref(sc->sm)) in xchk_allocbt_xref_other()
54 error = xfs_alloc_lookup_le(*pcur, agbno, len, &has_otherrec); in xchk_allocbt_xref_other()
55 if (!xchk_should_check_xref(sc, &error, pcur)) in xchk_allocbt_xref_other()
58 xchk_btree_xref_set_corrupt(sc, *pcur, 0); in xchk_allocbt_xref_other()
62 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other()
63 if (!xchk_should_check_xref(sc, &error, pcur)) in xchk_allocbt_xref_other()
66 xchk_btree_xref_set_corrupt(sc, *pcur, 0); in xchk_allocbt_xref_other()
[all …]
Dialloc.c62 struct xfs_btree_cur **pcur; in xchk_iallocbt_chunk_xref_other() local
67 pcur = &sc->sa.ino_cur; in xchk_iallocbt_chunk_xref_other()
69 pcur = &sc->sa.fino_cur; in xchk_iallocbt_chunk_xref_other()
70 if (!(*pcur)) in xchk_iallocbt_chunk_xref_other()
72 error = xfs_ialloc_has_inode_record(*pcur, agino, agino, &has_irec); in xchk_iallocbt_chunk_xref_other()
73 if (!xchk_should_check_xref(sc, &error, pcur)) in xchk_iallocbt_chunk_xref_other()
77 xchk_btree_xref_set_corrupt(sc, *pcur, 0); in xchk_iallocbt_chunk_xref_other()
/fs/smb/client/
Dsess.c945 unsigned char **pcur, in cifs_security_buffer_from_str() argument
954 if (!pcur) in cifs_security_buffer_from_str()
955 pcur = &tmp; in cifs_security_buffer_from_str()
958 pbuf->BufferOffset = cpu_to_le32(*pcur - pstart); in cifs_security_buffer_from_str()
961 *pcur += sizeof(__le16); in cifs_security_buffer_from_str()
963 len = cifs_strtoUTF16((__le16 *)*pcur, in cifs_security_buffer_from_str()
968 pbuf->BufferOffset = cpu_to_le32(*pcur - pstart); in cifs_security_buffer_from_str()
971 *pcur += len; in cifs_security_buffer_from_str()
/fs/xfs/libxfs/
Dxfs_refcount.h80 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
Dxfs_refcount.c1221 struct xfs_btree_cur **pcur) in xfs_refcount_finish_one() argument
1249 rcur = *pcur; in xfs_refcount_finish_one()
1255 *pcur = NULL; in xfs_refcount_finish_one()
1267 *pcur = rcur; in xfs_refcount_finish_one()
Dxfs_btree.c3479 struct xfs_btree_cur *pcur; /* previous level's cursor */ in xfs_btree_insert() local
3486 pcur = cur; in xfs_btree_insert()
3505 error = xfs_btree_insrec(pcur, level, &nptr, &rec, key, in xfs_btree_insert()
3508 if (pcur != cur) in xfs_btree_insert()
3509 xfs_btree_del_cursor(pcur, XFS_BTREE_ERROR); in xfs_btree_insert()
3524 if (pcur != cur && in xfs_btree_insert()
3528 cur->bc_ops->update_cursor(pcur, cur); in xfs_btree_insert()
3529 cur->bc_nlevels = pcur->bc_nlevels; in xfs_btree_insert()
3530 xfs_btree_del_cursor(pcur, XFS_BTREE_NOERROR); in xfs_btree_insert()
3534 pcur = ncur; in xfs_btree_insert()
Dxfs_rmap.h185 xfs_exntst_t state, struct xfs_btree_cur **pcur);
Dxfs_rmap.c2400 struct xfs_btree_cur **pcur) in xfs_rmap_finish_one() argument
2427 rcur = *pcur; in xfs_rmap_finish_one()
2431 *pcur = NULL; in xfs_rmap_finish_one()
2449 *pcur = rcur; in xfs_rmap_finish_one()
/fs/xfs/
Dxfs_refcount_item.c260 struct xfs_btree_cur **pcur) in xfs_trans_log_finish_refcount_update() argument
265 blockcount, new_fsb, new_len, pcur); in xfs_trans_log_finish_refcount_update()
Dxfs_rmap_item.c303 struct xfs_btree_cur **pcur) in xfs_trans_log_finish_rmap_update() argument
308 startblock, blockcount, state, pcur); in xfs_trans_log_finish_rmap_update()