Lines Matching defs:pp
57 path_t *pp;
60 pp = dp->p.path;
67 if (nvlist_add_string(attrs, DM_CTYPE, pp->ctype) != 0) {
184 path_t *pp;
193 pp = dp->p.path;
194 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) {
195 if (pp->disks[i]->devid != NULL &&
196 devid_compare(pp->disks[i]->devid, devid) == 0) {
200 path_state_name(pp->states[i])) != 0) {
222 path_t *pp;
231 pp = dp->p.path;
232 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) {
233 if (pp->disks[i]->devid != NULL &&
234 devid_compare(pp->disks[i]->devid, devid) == 0) {
237 if (nvlist_add_string(attrs, DM_WWN, pp->wwns[i]) != 0) {
251 path_t *pp;
255 pp = desc->p.path;
266 if (pp->controller != NULL) {
268 pp->controller, NULL, NULL, errp);
284 path_t *pp;
289 pp = desc->p.path;
292 for (cnt = 0; pp->disks[cnt]; cnt++);
301 for (i = 0; pp->disks[i]; i++) {
302 drives[i] = cache_get_desc(DM_DRIVE, pp->disks[i], NULL, NULL,