Lines Matching refs:no
2650 dasd_find_ioctl (int no) in dasd_find_ioctl() argument
2654 if (list_entry (curr, dasd_ioctl_list_t, list)->no == no) { in dasd_find_ioctl()
2662 dasd_ioctl_no_register (struct module *owner, int no, dasd_ioctl_fn_t handler) in dasd_ioctl_no_register() argument
2665 if (dasd_find_ioctl (no)) in dasd_ioctl_no_register()
2671 new->no = no; in dasd_ioctl_no_register()
2679 dasd_ioctl_no_unregister (struct module *owner, int no, dasd_ioctl_fn_t handler) in dasd_ioctl_no_unregister() argument
2681 dasd_ioctl_list_t *old = dasd_find_ioctl (no); in dasd_ioctl_no_unregister()
2684 if (old->no != no || old->handler != handler || owner != old->owner ) in dasd_ioctl_no_unregister()
2727 do_dasd_ioctl (struct inode *inp, /* unsigned */ int no, unsigned long data) in do_dasd_ioctl() argument
2742 if ((_IOC_DIR (no) != _IOC_NONE) && (data == 0)) { in do_dasd_ioctl()
2750 no, in do_dasd_ioctl()
2751 (_IOC_DIR (no) == _IOC_NONE ? "0" : in do_dasd_ioctl()
2752 _IOC_DIR (no) == _IOC_READ ? "r" : in do_dasd_ioctl()
2753 _IOC_DIR (no) == _IOC_WRITE ? "w" : in do_dasd_ioctl()
2754 _IOC_DIR (no) == (_IOC_READ | _IOC_WRITE) ? "rw" : "u"), in do_dasd_ioctl()
2755 _IOC_TYPE (no), in do_dasd_ioctl()
2756 _IOC_NR (no), in do_dasd_ioctl()
2757 _IOC_SIZE (no), in do_dasd_ioctl()
2760 switch (no) { in do_dasd_ioctl()
3082 ((no == (unsigned int) BIODASDINFO2) ? in do_dasd_ioctl()
3134 rc = blk_ioctl (inp->i_rdev, no, data); in do_dasd_ioctl()
3186 return blk_ioctl (inp->i_rdev, no, data); in do_dasd_ioctl()
3190 dasd_ioctl_list_t *old = dasd_find_ioctl (no); in do_dasd_ioctl()
3194 rc = old->handler (inp, no, data); in do_dasd_ioctl()
3201 no, in do_dasd_ioctl()
3202 (_IOC_DIR (no) == _IOC_NONE ? "0" : in do_dasd_ioctl()
3203 _IOC_DIR (no) == _IOC_READ ? "r" : in do_dasd_ioctl()
3204 _IOC_DIR (no) == _IOC_WRITE ? "w" : in do_dasd_ioctl()
3205 _IOC_DIR (no) == in do_dasd_ioctl()
3207 _IOC_TYPE (no), in do_dasd_ioctl()
3208 _IOC_NR (no), in do_dasd_ioctl()
3209 _IOC_SIZE (no), in do_dasd_ioctl()
3226 unsigned int no, unsigned long data) in dasd_ioctl() argument
3232 rc = do_dasd_ioctl (inp, no, data); in dasd_ioctl()