Lines Matching defs:q_type
54 u8 q_type;
73 if (q->q_type == HV_NCS_QTYPE_MAU) {
1603 static void *new_queue(unsigned long q_type)
1605 return kmem_cache_zalloc(queue_cache[q_type - 1], GFP_KERNEL);
1608 static void free_queue(void *p, unsigned long q_type)
1610 return kmem_cache_free(queue_cache[q_type - 1], p);
1643 static int spu_queue_register(struct spu_queue *p, unsigned long q_type)
1658 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q),
1674 p->q = new_queue(p->q_type);
1678 err = spu_queue_register(p, p->q_type);
1680 free_queue(p->q, p->q_type);
1694 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle);
1697 free_queue(p->q, p->q_type);
1754 u64 node, const char *iname, unsigned long q_type,
1769 p->q_type = q_type;
1786 const char *exec_name, unsigned long q_type,
1800 exec_name, q_type, handler, table);