Lines Matching defs:p
40 char *p;
42 if ((p = strrchr(path, ':')) == NULL) {
45 if ((*num = atoi(p + 1)) == 0) {
48 p[0] = '\0';
50 p[0] = ':';
59 char *p;
61 if ((p = strstr(devlink, "/lofi/")) != 0) {
62 return (p + sizeof ("/lofi/") - 1);
65 part = strrchr(devlink, 'p');
164 struct part_find_s *p = arg;
167 if (++p->count == p->num) {
168 p->r_relsect = relsect;
169 p->r_numsect = numsect;
170 p->r_systid = systid;
185 struct part_find_s p = { 0, 0, 0, 0, 0, 0 };
187 p.num = num;
190 walk_partitions(fd, 0, secsz, find_dos_drive_cb, &p);
191 if (p.count == num) {
192 *offset = (off_t)p.r_relsect * secsz;
227 struct extpartition *p;
232 p = &vtoc->v_part[i];
233 if (p->p_size == 0) {
236 if ((p->p_tag != V_BACKUP) && ((p->p_tag != V_UNASSIGNED))) {
240 ((p->p_start != prev_start) || (p->p_size != prev_size))) {
243 prev_start = p->p_start;
244 prev_size = p->p_size;