Searched refs:headfp (Results 1 – 1 of 1) sorted by relevance
194 Sg_fd * headfp; /* first open fd belonging to this device */ member293 if (sdp->headfp && (flags & O_NONBLOCK)) in sg_open()297 ((sdp->headfp || sdp->exclude) ? 0 : (sdp->exclude = 1)), in sg_open()318 if (! sdp->headfp) { /* no existing opens on this device */ in sg_open()1223 sfp = sdp->headfp; in sg_cmd_done_bh()1455 sdp->headfp= NULL; in sg_attach()1504 if (sdp->headfp) { in sg_detach()1506 for (sfp = sdp->headfp; sfp; sfp = tsfp) { in sg_detach()1530 if (NULL == sdp->headfp) { in sg_detach()2343 for (k = 0, resp = sdp->headfp; resp && (k < nth); in sg_get_nth_sfp()[all …]