Home
last modified time | relevance | path

Searched refs:qn (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/fs/ocfs2/dlm/
Ddlmdomain.c1172 static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn) in dlm_match_nodes() argument
1179 for (j = 0; j < qn->qn_numnodes; ++j) in dlm_match_nodes()
1180 mlog(0, "Node %3d, %pI4:%u\n", qn->qn_nodes[j].ni_nodenum, in dlm_match_nodes()
1181 &(qn->qn_nodes[j].ni_ipv4_address), in dlm_match_nodes()
1182 ntohs(qn->qn_nodes[j].ni_ipv4_port)); in dlm_match_nodes()
1187 for (j = 0; j < qn->qn_numnodes; ++j) { in dlm_match_nodes()
1188 if (qn->qn_nodes[j].ni_nodenum == i) { in dlm_match_nodes()
1189 remote = &(qn->qn_nodes[j]); in dlm_match_nodes()
1210 "local node %d\n", qn->qn_domain, in dlm_match_nodes()
1214 qn->qn_nodenum, dlm->node_num); in dlm_match_nodes()
[all …]
/Linux-v4.19/drivers/staging/erofs/
Dnamei.c19 static inline int dirnamecmp(struct qstr *qn, in dirnamecmp() argument
22 unsigned i = *matched, len = min(qn->len, qd->len); in dirnamecmp()
26 if (qn->len < qd->len) { in dirnamecmp()
33 return (qn->len > qd->len); in dirnamecmp()
36 if (qn->name[i] != qd->name[i]) { in dirnamecmp()
38 return qn->name[i] > qd->name[i] ? 1 : -1; in dirnamecmp()
/Linux-v4.19/block/
Dblk-throttle.c390 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument
392 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init()
393 bio_list_init(&qn->bios); in throtl_qnode_init()
394 qn->tg = tg; in throtl_qnode_init()
407 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument
410 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio()
411 if (list_empty(&qn->node)) { in throtl_qnode_add_bio()
412 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio()
413 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio()
423 struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node); in throtl_peek_queued() local
[all …]
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_memfree.h176 u32 qn, __be32 **db);
Dmthca_memfree.c566 u32 qn, __be32 **db) in mthca_alloc_db() argument
652 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()