Lines Matching refs:minor
156 * bpf_dtab holds pointer to the descriptors, indexed by minor device #
163 * the bpf_d in a separate table indexed by minor device #.
619 * Open ethernet device. Returns ENXIO for illegal minor device number,
630 if ((unsigned int) minor(dev) >= nbpfilter) {
636 * The programming model is for processes to loop on the minor starting at 0
643 if ((unsigned int) minor(dev) == (nbpfilter - 1))
647 * Each minor can be opened by only one process. If the requested
648 * minor is in use, return EBUSY.
654 if (bpf_dtab[minor(dev)] == 0) {
655 bpf_dtab[minor(dev)] = (void *)1; /* Mark opening */
664 bpf_dtab[minor(dev)] = NULL;
686 bpf_dtab[minor(dev)] = NULL;
695 bpf_dtab[minor(dev)] = d; /* Mark opened */
715 d = bpf_dtab[minor(dev)];
720 bpf_dtab[minor(dev)] = (void *)1; /* Mark closing */
768 * bpfclose() will set bpf_dtab[minor(dev)] to 1, and
786 bpf_dtab[minor(dev)] = NULL; /* Mark closed */
851 d = bpf_dtab[minor(dev)];
912 d = bpf_dtab[minor(dev)];
1064 d = bpf_dtab[minor(dev)];
1106 d = bpf_dtab[minor(dev)];
1202 d = bpf_dtab[minor(dev)];
1789 d = bpf_dtab[minor(dev)];
1859 d = bpf_dtab[minor(dev)];