qn                389 block/blk-throttle.c static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg)
qn                391 block/blk-throttle.c 	INIT_LIST_HEAD(&qn->node);
qn                392 block/blk-throttle.c 	bio_list_init(&qn->bios);
qn                393 block/blk-throttle.c 	qn->tg = tg;
qn                406 block/blk-throttle.c static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn,
qn                409 block/blk-throttle.c 	bio_list_add(&qn->bios, bio);
qn                410 block/blk-throttle.c 	if (list_empty(&qn->node)) {
qn                411 block/blk-throttle.c 		list_add_tail(&qn->node, queued);
qn                412 block/blk-throttle.c 		blkg_get(tg_to_blkg(qn->tg));
qn                422 block/blk-throttle.c 	struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node);
qn                428 block/blk-throttle.c 	bio = bio_list_peek(&qn->bios);
qn                450 block/blk-throttle.c 	struct throtl_qnode *qn = list_first_entry(queued, struct throtl_qnode, node);
qn                456 block/blk-throttle.c 	bio = bio_list_pop(&qn->bios);
qn                459 block/blk-throttle.c 	if (bio_list_empty(&qn->bios)) {
qn                460 block/blk-throttle.c 		list_del_init(&qn->node);
qn                462 block/blk-throttle.c 			*tg_to_put = qn->tg;
qn                464 block/blk-throttle.c 			blkg_put(tg_to_blkg(qn->tg));
qn                466 block/blk-throttle.c 		list_move_tail(&qn->node, queued);
qn               1054 block/blk-throttle.c static void throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn,
qn               1060 block/blk-throttle.c 	if (!qn)
qn               1061 block/blk-throttle.c 		qn = &tg->qnode_on_self[rw];
qn               1072 block/blk-throttle.c 	throtl_qnode_add_bio(bio, qn, &sq->queued[rw]);
qn               2120 block/blk-throttle.c 	struct throtl_qnode *qn = NULL;
qn               2182 block/blk-throttle.c 		qn = &tg->qnode_on_parent[rw];
qn               2200 block/blk-throttle.c 	throtl_add_bio_tg(bio, qn, tg);
qn                274 drivers/crypto/hisilicon/qm.c 	void (*qm_db)(struct hisi_qm *qm, u16 qn,
qn                383 drivers/crypto/hisilicon/qm.c static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority)
qn                387 drivers/crypto/hisilicon/qm.c 	doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V1) |
qn                394 drivers/crypto/hisilicon/qm.c static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority)
qn                405 drivers/crypto/hisilicon/qm.c 	doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) |
qn                413 drivers/crypto/hisilicon/qm.c static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority)
qn                416 drivers/crypto/hisilicon/qm.c 		qn, cmd, index);
qn                418 drivers/crypto/hisilicon/qm.c 	qm->ops->qm_db(qm, qn, cmd, index, priority);
qn                567 drivers/infiniband/hw/mthca/mthca_memfree.c 		   u32 qn, __be32 **db)
qn                654 drivers/infiniband/hw/mthca/mthca_memfree.c 	page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5));
qn                176 drivers/infiniband/hw/mthca/mthca_memfree.h 		   u32 qn, __be32 **db);
qn                342 drivers/interconnect/qcom/qcs404.c 	struct qcom_icc_node *qn;
qn                352 drivers/interconnect/qcom/qcs404.c 	qn = src->data;
qn                364 drivers/interconnect/qcom/qcs404.c 	if (qn->mas_rpm_id != -1) {
qn                367 drivers/interconnect/qcom/qcs404.c 					    qn->mas_rpm_id,
qn                371 drivers/interconnect/qcom/qcs404.c 			       qn->mas_rpm_id, ret);
qn                376 drivers/interconnect/qcom/qcs404.c 	if (qn->slv_rpm_id != -1) {
qn                379 drivers/interconnect/qcom/qcs404.c 					    qn->slv_rpm_id,
qn                390 drivers/interconnect/qcom/qcs404.c 	do_div(rate, qn->buswidth);
qn                392 drivers/interconnect/qcom/qcs404.c 	if (qn->rate == rate)
qn                404 drivers/interconnect/qcom/qcs404.c 	qn->rate = rate;
qn                488 drivers/interconnect/qcom/sdm845.c 	struct qcom_icc_node *qn;
qn                521 drivers/interconnect/qcom/sdm845.c 		qn = bcm->nodes[i];
qn                522 drivers/interconnect/qcom/sdm845.c 		qn->bcms[qn->num_bcms] = bcm;
qn                523 drivers/interconnect/qcom/sdm845.c 		qn->num_bcms++;
qn                636 drivers/interconnect/qcom/sdm845.c 	struct qcom_icc_node *qn;
qn                638 drivers/interconnect/qcom/sdm845.c 	qn = node->data;
qn                641 drivers/interconnect/qcom/sdm845.c 		qn->sum_avg[i] = 0;
qn                642 drivers/interconnect/qcom/sdm845.c 		qn->max_peak[i] = 0;
qn                650 drivers/interconnect/qcom/sdm845.c 	struct qcom_icc_node *qn;
qn                652 drivers/interconnect/qcom/sdm845.c 	qn = node->data;
qn                659 drivers/interconnect/qcom/sdm845.c 			qn->sum_avg[i] += avg_bw;
qn                660 drivers/interconnect/qcom/sdm845.c 			qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw);
qn                667 drivers/interconnect/qcom/sdm845.c 	for (i = 0; i < qn->num_bcms; i++)
qn                668 drivers/interconnect/qcom/sdm845.c 		qn->bcms[i]->dirty = true;
qn                 17 fs/erofs/namei.c static inline int erofs_dirnamecmp(const struct erofs_qstr *qn,
qn                 33 fs/erofs/namei.c 		if (qn->name[i] != qd->name[i]) {
qn                 35 fs/erofs/namei.c 			return qn->name[i] > qd->name[i] ? 1 : -1;
qn                 41 fs/erofs/namei.c 	return qn->name[i] == '\0' ? 0 : 1;
qn                176 fs/erofs/namei.c 	struct erofs_qstr qn;
qn                181 fs/erofs/namei.c 	qn.name = name->name;
qn                182 fs/erofs/namei.c 	qn.end = name->name + name->len;
qn                185 fs/erofs/namei.c 	page = find_target_block_classic(dir, &qn, &ndirents);
qn                193 fs/erofs/namei.c 		de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents);
qn               1156 fs/ocfs2/dlm/dlmdomain.c static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn)
qn               1163 fs/ocfs2/dlm/dlmdomain.c 	for (j = 0; j < qn->qn_numnodes; ++j)
qn               1164 fs/ocfs2/dlm/dlmdomain.c 		mlog(0, "Node %3d, %pI4:%u\n", qn->qn_nodes[j].ni_nodenum,
qn               1165 fs/ocfs2/dlm/dlmdomain.c 		     &(qn->qn_nodes[j].ni_ipv4_address),
qn               1166 fs/ocfs2/dlm/dlmdomain.c 		     ntohs(qn->qn_nodes[j].ni_ipv4_port));
qn               1171 fs/ocfs2/dlm/dlmdomain.c 		for (j = 0; j < qn->qn_numnodes; ++j) {
qn               1172 fs/ocfs2/dlm/dlmdomain.c 			if (qn->qn_nodes[j].ni_nodenum == i) {
qn               1173 fs/ocfs2/dlm/dlmdomain.c 				remote = &(qn->qn_nodes[j]);
qn               1194 fs/ocfs2/dlm/dlmdomain.c 				     "local node %d\n", qn->qn_domain,
qn               1198 fs/ocfs2/dlm/dlmdomain.c 				     qn->qn_nodenum, dlm->node_num);
qn               1202 fs/ocfs2/dlm/dlmdomain.c 				     "joining node %d\n", qn->qn_domain,
qn               1205 fs/ocfs2/dlm/dlmdomain.c 				     dlm->node_num, qn->qn_nodenum);
qn               1218 fs/ocfs2/dlm/dlmdomain.c 	struct dlm_query_nodeinfo *qn = NULL;
qn               1225 fs/ocfs2/dlm/dlmdomain.c 	qn = kzalloc(sizeof(struct dlm_query_nodeinfo), GFP_KERNEL);
qn               1226 fs/ocfs2/dlm/dlmdomain.c 	if (!qn) {
qn               1236 fs/ocfs2/dlm/dlmdomain.c 		qn->qn_nodes[count].ni_nodenum = node->nd_num;
qn               1237 fs/ocfs2/dlm/dlmdomain.c 		qn->qn_nodes[count].ni_ipv4_port = node->nd_ipv4_port;
qn               1238 fs/ocfs2/dlm/dlmdomain.c 		qn->qn_nodes[count].ni_ipv4_address = node->nd_ipv4_address;
qn               1245 fs/ocfs2/dlm/dlmdomain.c 	qn->qn_nodenum = dlm->node_num;
qn               1246 fs/ocfs2/dlm/dlmdomain.c 	qn->qn_numnodes = count;
qn               1247 fs/ocfs2/dlm/dlmdomain.c 	qn->qn_namelen = strlen(dlm->name);
qn               1248 fs/ocfs2/dlm/dlmdomain.c 	memcpy(qn->qn_domain, dlm->name, qn->qn_namelen);
qn               1259 fs/ocfs2/dlm/dlmdomain.c 					 qn, sizeof(struct dlm_query_nodeinfo),
qn               1270 fs/ocfs2/dlm/dlmdomain.c 	kfree(qn);
qn               1277 fs/ocfs2/dlm/dlmdomain.c 	struct dlm_query_nodeinfo *qn;
qn               1281 fs/ocfs2/dlm/dlmdomain.c 	qn = (struct dlm_query_nodeinfo *) msg->buf;
qn               1283 fs/ocfs2/dlm/dlmdomain.c 	mlog(0, "Node %u queries nodes on domain %s\n", qn->qn_nodenum,
qn               1284 fs/ocfs2/dlm/dlmdomain.c 	     qn->qn_domain);
qn               1287 fs/ocfs2/dlm/dlmdomain.c 	dlm = __dlm_lookup_domain_full(qn->qn_domain, qn->qn_namelen);
qn               1290 fs/ocfs2/dlm/dlmdomain.c 		     "join domain\n", qn->qn_nodenum, qn->qn_domain);
qn               1296 fs/ocfs2/dlm/dlmdomain.c 	if (dlm->joining_node != qn->qn_nodenum) {
qn               1298 fs/ocfs2/dlm/dlmdomain.c 		     "joining node is %d\n", qn->qn_nodenum, qn->qn_domain,
qn               1307 fs/ocfs2/dlm/dlmdomain.c 		     "but active dlm protocol is %d.%d\n", qn->qn_nodenum,
qn               1308 fs/ocfs2/dlm/dlmdomain.c 		     qn->qn_domain, dlm->dlm_locking_proto.pv_major,
qn               1313 fs/ocfs2/dlm/dlmdomain.c 	status = dlm_match_nodes(dlm, qn);