Lines Matching defs:flag
179 D_MP | D_NEW | D_HOTPLUG /* Driver compatibility flag */
1054 sgen_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p)
1084 (SGEN_IS_OPEN(sg_state) && (flag & FEXCL))) {
1089 if (flag & FEXCL)
1105 sgen_close(dev_t dev, int flag, int otyp, cred_t *cred_p)
1136 int cmd, intptr_t arg, int flag, cred_t *cred_p, int *rval_p)
1183 retval = sgen_uscsi_cmd(dev, (struct uscsi_cmd *)arg, flag);
1202 sgen_uscsi_cmd(dev_t dev, struct uscsi_cmd *ucmd, int flag)
1229 err = scsi_uscsi_alloc_and_copyin((intptr_t)ucmd, flag,
1263 uioseg = (flag & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE;
1545 * If the packet is marked with the sensing flag, sgen is off running