Home
last modified time | relevance | path

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

/linux-4.1.27/block/
Dblk-throttle.c306 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument
308 INIT_LIST_HEAD(&qn->node); in throtl_qnode_init()
309 bio_list_init(&qn->bios); in throtl_qnode_init()
310 qn->tg = tg; in throtl_qnode_init()
323 static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, in throtl_qnode_add_bio() argument
326 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio()
327 if (list_empty(&qn->node)) { in throtl_qnode_add_bio()
328 list_add_tail(&qn->node, queued); in throtl_qnode_add_bio()
329 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio()
339 struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node); in throtl_peek_queued() local
[all …]
/linux-4.1.27/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.1.27/drivers/infiniband/hw/mthca/
Dmthca_memfree.h176 u32 qn, __be32 **db);
Dmthca_memfree.c567 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()