Lines Matching refs:BLKPG
37 #include <linux/blkpg.h>
72 TEST_NULL_ARG(BLKPG);
147 struct blkpg_ioctl_arg *const blkpg = tail_alloc(sizeof(*blkpg));
148 blkpg->op = 3;
149 blkpg->flags = 0xdeadbeef;
150 blkpg->datalen = 0xbadc0ded;
151 blkpg->data = (void *) (unsigned long) 0xcafef00dfffffeedULL;
153 ioctl(-1, BLKPG, blkpg);
154 printf("ioctl(-1, BLKPG, {%s, flags=%d, datalen=%d"
156 "BLKPG_RESIZE_PARTITION", blkpg->flags, blkpg->datalen,
157 (unsigned long) blkpg->data);
165 blkpg->op = 1;
166 blkpg->data = bp;
168 ioctl(-1, BLKPG, blkpg);
169 printf("ioctl(-1, BLKPG, {%s, flags=%d, datalen=%d"
174 blkpg->flags, blkpg->datalen,