Lines Matching defs:p1
86 static int file_ioctl(void * p1, void * p2, u_long theIoctl, caddr_t result)
88 dev_t device = *(dev_t*) p1;
94 static int device_ioctl(void * p1, __unused void * p2, u_long theIoctl, caddr_t result)
96 return (VNOP_IOCTL(p1, theIoctl, result, 0, p2));
103 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result);
104 void * p1;
117 p1 = &ref->device;
124 p1 = ref->vp;
152 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&unmap);
160 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&pin);
209 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result);
210 void * p1 = NULL;
257 p1 = &device;
279 p1 = ref->vp;
293 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &ref->blksize);
299 error = do_ioctl(p1, p2, DKIOCGETBLOCKCOUNT, (caddr_t) &fileblk);
313 error = do_ioctl(p1, p2, DKIOCLOCKPHYSICALEXTENTS, NULL);
346 error = do_ioctl(p1, p2, DKIOCGETPHYSICALEXTENT, (caddr_t) &getphysreq);
366 p1 = ⌖
370 error = do_ioctl(p1, p2, DKIOCGETBASE, (caddr_t) partitionbase_result);
376 error = do_ioctl(p1, p2, DKIOCGETBLOCKSIZE, (caddr_t) &blksize);
382 error = do_ioctl(p1, p2, DKIOCGETMAXBLOCKCOUNTREAD, (caddr_t) &count);
389 error = do_ioctl(p1, p2, DKIOCGETMAXBLOCKCOUNTWRITE, (caddr_t) &count);
396 error = do_ioctl(p1, p2, DKIOCGETMAXBYTECOUNTREAD, (caddr_t) &count);
402 error = do_ioctl(p1, p2, DKIOCGETMAXBYTECOUNTWRITE, (caddr_t) &count);
408 error = do_ioctl(p1, p2, DKIOCGETMAXSEGMENTBYTECOUNTREAD, (caddr_t) &count);
414 error = do_ioctl(p1, p2, DKIOCGETMAXSEGMENTBYTECOUNTWRITE, (caddr_t) &count);
424 error = do_ioctl(p1, p2, DKIOCISSOLIDSTATE, (caddr_t)&isssd);
440 p1 = &device;
441 (void) do_ioctl(p1, p2, DKIOCUNLOCKPHYSICALEXTENTS, NULL);
482 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result);
483 void * p1;
488 p1 = &ref->device;
495 p1 = ref->vp;
499 (void) do_ioctl(p1, p2, DKIOCUNLOCKPHYSICALEXTENTS, NULL);