Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c49 static int ocrdma_add_stat(char *start, char *pcur, in ocrdma_add_stat() argument
58 if (pcur + cpy_len > start + OCRDMA_MAX_DBGFS_MEM) { in ocrdma_add_stat()
63 memcpy(pcur, buff, cpy_len); in ocrdma_add_stat()
104 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_resource_stats() local
111 pcur = stats; in ocrdma_resource_stats()
112 pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds", in ocrdma_resource_stats()
114 pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds", in ocrdma_resource_stats()
116 pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps", in ocrdma_resource_stats()
118 pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps", in ocrdma_resource_stats()
120 pcur += ocrdma_add_stat(stats, pcur, "active_ud_dpp_qps", in ocrdma_resource_stats()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_p2p.c28 u8 tmplen, *pdata_attr, *pstart, *pcur; in go_add_group_info_attr() local
36 pcur = pdata_attr; in go_add_group_info_attr()
51 pcur++; in go_add_group_info_attr()
54 memcpy(pcur, psta->dev_addr, ETH_ALEN); in go_add_group_info_attr()
55 pcur += ETH_ALEN; in go_add_group_info_attr()
58 memcpy(pcur, psta->hwaddr, ETH_ALEN); in go_add_group_info_attr()
59 pcur += ETH_ALEN; in go_add_group_info_attr()
61 *pcur = psta->dev_cap; in go_add_group_info_attr()
62 pcur++; in go_add_group_info_attr()
65 RTW_PUT_BE16(pcur, psta->config_methods); in go_add_group_info_attr()
[all …]
/Linux-v6.1/arch/arc/kernel/
Dunwind.c456 static uleb128_t get_uleb128(const u8 **pcur, const u8 *end) in get_uleb128() argument
458 const u8 *cur = *pcur; in get_uleb128()
472 *pcur = cur; in get_uleb128()
477 static sleb128_t get_sleb128(const u8 **pcur, const u8 *end) in get_sleb128() argument
479 const u8 *cur = *pcur; in get_sleb128()
495 *pcur = cur; in get_sleb128()
/Linux-v6.1/fs/cifs/
Dsess.c857 unsigned char **pcur, in cifs_security_buffer_from_str() argument
866 if (!pcur) in cifs_security_buffer_from_str()
867 pcur = &tmp; in cifs_security_buffer_from_str()
870 pbuf->BufferOffset = cpu_to_le32(*pcur - pstart); in cifs_security_buffer_from_str()
873 *pcur += sizeof(__le16); in cifs_security_buffer_from_str()
875 len = cifs_strtoUTF16((__le16 *)*pcur, in cifs_security_buffer_from_str()
880 pbuf->BufferOffset = cpu_to_le32(*pcur - pstart); in cifs_security_buffer_from_str()
883 *pcur += len; in cifs_security_buffer_from_str()
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_refcount.h80 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
Dxfs_rmap.h185 xfs_exntst_t state, 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.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()
/Linux-v6.1/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()