Home
last modified time | relevance | path

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

/linux-4.19.296/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-4.19.296/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 …]