| /Linux-v5.4/fs/erofs/ |
| D | namei.c | 17 static inline int erofs_dirnamecmp(const struct erofs_qstr *qn, in erofs_dirnamecmp() argument 33 if (qn->name[i] != qd->name[i]) { in erofs_dirnamecmp() 35 return qn->name[i] > qd->name[i] ? 1 : -1; in erofs_dirnamecmp() 41 return qn->name[i] == '\0' ? 0 : 1; in erofs_dirnamecmp() 176 struct erofs_qstr qn; in erofs_namei() local 181 qn.name = name->name; in erofs_namei() 182 qn.end = name->name + name->len; in erofs_namei() 185 page = find_target_block_classic(dir, &qn, &ndirents); in erofs_namei() 193 de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents); in erofs_namei()
|
| /Linux-v5.4/fs/ocfs2/dlm/ |
| D | dlmdomain.c | 1156 static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn) in dlm_match_nodes() argument 1163 for (j = 0; j < qn->qn_numnodes; ++j) in dlm_match_nodes() 1164 mlog(0, "Node %3d, %pI4:%u\n", qn->qn_nodes[j].ni_nodenum, in dlm_match_nodes() 1165 &(qn->qn_nodes[j].ni_ipv4_address), in dlm_match_nodes() 1166 ntohs(qn->qn_nodes[j].ni_ipv4_port)); in dlm_match_nodes() 1171 for (j = 0; j < qn->qn_numnodes; ++j) { in dlm_match_nodes() 1172 if (qn->qn_nodes[j].ni_nodenum == i) { in dlm_match_nodes() 1173 remote = &(qn->qn_nodes[j]); in dlm_match_nodes() 1194 "local node %d\n", qn->qn_domain, in dlm_match_nodes() 1198 qn->qn_nodenum, dlm->node_num); in dlm_match_nodes() [all …]
|
| /Linux-v5.4/drivers/interconnect/qcom/ |
| D | qcs404.c | 342 struct qcom_icc_node *qn; in qcom_icc_set() local 352 qn = src->data; in qcom_icc_set() 364 if (qn->mas_rpm_id != -1) { in qcom_icc_set() 367 qn->mas_rpm_id, in qcom_icc_set() 371 qn->mas_rpm_id, ret); in qcom_icc_set() 376 if (qn->slv_rpm_id != -1) { in qcom_icc_set() 379 qn->slv_rpm_id, in qcom_icc_set() 390 do_div(rate, qn->buswidth); in qcom_icc_set() 392 if (qn->rate == rate) in qcom_icc_set() 404 qn->rate = rate; in qcom_icc_set()
|
| D | sdm845.c | 488 struct qcom_icc_node *qn; in qcom_icc_bcm_init() local 521 qn = bcm->nodes[i]; in qcom_icc_bcm_init() 522 qn->bcms[qn->num_bcms] = bcm; in qcom_icc_bcm_init() 523 qn->num_bcms++; in qcom_icc_bcm_init() 636 struct qcom_icc_node *qn; in qcom_icc_pre_aggregate() local 638 qn = node->data; in qcom_icc_pre_aggregate() 641 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate() 642 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate() 650 struct qcom_icc_node *qn; in qcom_icc_aggregate() local 652 qn = node->data; in qcom_icc_aggregate() [all …]
|
| /Linux-v5.4/block/ |
| D | blk-throttle.c | 389 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument 391 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init() 392 bio_list_init(&qn->bios); in throtl_qnode_init() 393 qn->tg = tg; in throtl_qnode_init() 406 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument 409 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio() 410 if (list_empty(&qn->node)) { in throtl_qnode_add_bio() 411 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio() 412 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio() 422 struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node); in throtl_peek_queued() local [all …]
|
| /Linux-v5.4/drivers/crypto/hisilicon/ |
| D | qm.c | 274 void (*qm_db)(struct hisi_qm *qm, u16 qn, 383 static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v1() argument 387 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) | in qm_db_v1() 394 static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db_v2() argument 405 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db_v2() 413 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) in qm_db() argument 416 qn, cmd, index); in qm_db() 418 qm->ops->qm_db(qm, qn, cmd, index, priority); in qm_db()
|
| /Linux-v5.4/drivers/infiniband/hw/mthca/ |
| D | mthca_memfree.h | 176 u32 qn, __be32 **db);
|
| D | mthca_memfree.c | 567 u32 qn, __be32 **db) in mthca_alloc_db() argument 654 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
|