Home
last modified time | relevance | path

Searched refs:pnode (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/tidspbridge/rmgr/
Dnode.c275 struct node_object *pnode = (struct node_object *)hnode; in node_get_state() local
276 if (!pnode) in node_get_state()
278 return pnode->node_state; in node_get_state()
295 struct node_object *pnode = NULL; in node_allocate() local
373 pnode = kzalloc(sizeof(struct node_object), GFP_KERNEL); in node_allocate()
374 if (pnode == NULL) { in node_allocate()
378 pnode->node_mgr = hnode_mgr; in node_allocate()
383 status = get_node_props(hnode_mgr->dcd_mgr, pnode, node_uuid, in node_allocate()
384 &(pnode->dcd_props)); in node_allocate()
388 pnode->node_uuid = *node_uuid; in node_allocate()
[all …]
/drivers/staging/tidspbridge/pmgr/
Dcmm.c49 #define NEXT_PA(pnode) (pnode->pa + pnode->size) argument
136 struct cmm_mnode *pnode);
163 struct cmm_mnode *pnode = NULL; in cmm_calloc_buf() local
188 pnode = get_free_block(allocator, usize); in cmm_calloc_buf()
190 if (pnode) { in cmm_calloc_buf()
191 delta_size = (pnode->size - usize); in cmm_calloc_buf()
196 get_node(cmm_mgr_obj, pnode->pa + usize, in cmm_calloc_buf()
197 pnode->va + usize, in cmm_calloc_buf()
202 pnode->size = usize; in cmm_calloc_buf()
209 pnode->client_proc = current->tgid; in cmm_calloc_buf()
[all …]
/drivers/scsi/lpfc/
Dlpfc_scsi.c170 struct lpfc_nodelist *pnode = rdata->pnode; in lpfc_update_stats() local
186 !pnode || in lpfc_update_stats()
187 !pnode->lat_data || in lpfc_update_stats()
208 pnode->lat_data[i].cmd_count++; in lpfc_update_stats()
290 rdata->pnode, sdev->lun, in lpfc_change_queue_depth()
680 if (psb->rdata && psb->rdata->pnode in lpfc_sli4_vport_delete_fcp_xri_aborted()
681 && psb->rdata->pnode->vport == vport) in lpfc_sli4_vport_delete_fcp_xri_aborted()
720 if (psb->rdata && psb->rdata->pnode) in lpfc_sli4_fcp_xri_aborted()
721 ndlp = psb->rdata->pnode; in lpfc_sli4_fcp_xri_aborted()
1483 if (rdata && rdata->pnode) { in lpfc_bg_err_inject()
[all …]
Dlpfc_scsi.h41 struct lpfc_nodelist *pnode; /* Pointer to the node structure. */ member
Dlpfc_hbadisc.c77 ndlp = rdata->pnode; in lpfc_terminate_rport_io()
115 ndlp = rdata->pnode; in lpfc_dev_loss_tmo_callbk()
135 put_node = rdata->pnode != NULL; in lpfc_dev_loss_tmo_callbk()
137 rdata->pnode = NULL; in lpfc_dev_loss_tmo_callbk()
234 put_node = rdata->pnode != NULL; in lpfc_dev_loss_tmo_handler()
236 rdata->pnode = NULL; in lpfc_dev_loss_tmo_handler()
258 put_node = rdata->pnode != NULL; in lpfc_dev_loss_tmo_handler()
260 rdata->pnode = NULL; in lpfc_dev_loss_tmo_handler()
296 put_node = rdata->pnode != NULL; in lpfc_dev_loss_tmo_handler()
298 rdata->pnode = NULL; in lpfc_dev_loss_tmo_handler()
[all …]
Dlpfc_els.c1602 if (rdata->pnode == ndlp) { in lpfc_plogi_confirm_nport()
1605 rdata->pnode = lpfc_nlp_get(new_ndlp); in lpfc_plogi_confirm_nport()
1661 put_node = rdata->pnode != NULL; in lpfc_plogi_confirm_nport()
1663 rdata->pnode = NULL; in lpfc_plogi_confirm_nport()
Dlpfc_bsg.c381 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_send_mgmt_cmd()
635 struct lpfc_nodelist *ndlp = rdata->pnode; in lpfc_bsg_rport_els()
Dlpfc_sli.c926 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_sglq()
9715 if ((lpfc_cmd->rdata->pnode) && in lpfc_sli_validate_fcp_iocb()
9716 (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id) && in lpfc_sli_validate_fcp_iocb()
9721 if ((lpfc_cmd->rdata->pnode) && in lpfc_sli_validate_fcp_iocb()
9722 (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id)) in lpfc_sli_validate_fcp_iocb()
/drivers/gpu/drm/nouveau/core/subdev/ltcg/
Dnvc0.c72 struct nouveau_mm_node **pnode) in nvc0_ltcg_tags_alloc() argument
77 ret = nouveau_mm_head(&priv->tags, 1, n, n, 1, pnode); in nvc0_ltcg_tags_alloc()
79 *pnode = NULL; in nvc0_ltcg_tags_alloc()
85 nvc0_ltcg_tags_free(struct nouveau_ltcg *ltcg, struct nouveau_mm_node **pnode) in nvc0_ltcg_tags_free() argument
89 nouveau_mm_free(&priv->tags, pnode); in nvc0_ltcg_tags_free()
/drivers/macintosh/
Dmacio_asic.c456 struct device_node *np, *pnode; in macio_pci_add_devices() local
468 pnode = of_node_get(chip->of_node); in macio_pci_add_devices()
469 if (pnode == NULL) in macio_pci_add_devices()
473 rdev = macio_add_one_device(chip, parent, pnode, NULL, root_res); in macio_pci_add_devices()
479 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
495 pnode = mbdev->ofdev.dev.of_node; in macio_pci_add_devices()
496 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
508 pnode = sdev->ofdev.dev.of_node; in macio_pci_add_devices()
509 for (np = NULL; (np = of_get_next_child(pnode, np)) != NULL;) { in macio_pci_add_devices()
/drivers/misc/sgi-gru/
Dgruhandles.h156 static inline unsigned long gru_chiplet_paddr(unsigned long paddr, int pnode, in gru_chiplet_paddr() argument
159 return paddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_paddr()
162 static inline void *gru_chiplet_vaddr(void *vaddr, int pnode, int chiplet) in gru_chiplet_vaddr() argument
164 return vaddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_vaddr()
Dgrufile.c261 int pnode, nid, bid, chip; in gru_init_tables() local
272 pnode = uv_blade_to_pnode(bid); in gru_init_tables()
288 paddr = gru_chiplet_paddr(gru_base_paddr, pnode, chip); in gru_init_tables()
289 vaddr = gru_chiplet_vaddr(gru_base_vaddr, pnode, chip); in gru_init_tables()
/drivers/gpu/drm/nouveau/core/core/
Dmm.c94 u32 align, struct nouveau_mm_node **pnode) in nouveau_mm_head() argument
128 *pnode = this; in nouveau_mm_head()
160 u32 align, struct nouveau_mm_node **pnode) in nouveau_mm_tail() argument
198 *pnode = this; in nouveau_mm_tail()
/drivers/base/power/
Dqos.c144 ret = pm_qos_update_target(&qos->latency, &req->data.pnode, in apply_constraint()
240 plist_for_each_entry_safe(req, tmp, &c->list, data.pnode) { in dev_pm_qos_constraints_destroy()
343 curr_value = req->data.pnode.prio; in __dev_pm_qos_update_request()