Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 1098) sorted by relevance

12345678910>>...44

/linux-2.4.37.9/drivers/input/
Dmousedev.c53 int open; member
181 if (!--list->mousedev->open) { in mousedev_release()
186 if (!mousedev->open) { in mousedev_release()
198 if (!mousedev_mix.open) { in mousedev_release()
233 if (!list->mousedev->open++) { in mousedev_open()
238 if (!mousedev->open) in mousedev_open()
244 if (!mousedev_mix.open) in mousedev_open()
401 open: mousedev_open,
443 if (mousedev_mix.open) in mousedev_connect()
457 if (mousedev->open) { in mousedev_disconnect()
[all …]
Dinput.c177 if (handle->open) in input_event()
192 handle->open++; in input_open_device()
193 if (handle->dev->open) in input_open_device()
194 return handle->dev->open(handle->dev); in input_open_device()
202 handle->open--; in input_close_device()
385 if (!new_fops->open) { in input_open_file()
393 err = new_fops->open(inode, file); in input_open_file()
406 open: input_open_file,
Devdev.c44 int open; member
105 if (!--list->evdev->open) { in evdev_release()
139 if (!list->evdev->open++) in evdev_open()
325 open: evdev_open,
370 if (evdev->open) { in evdev_disconnect()
/linux-2.4.37.9/mm/
Dmlock.c37 if (n->vm_ops && n->vm_ops->open) in mlock_fixup_start()
38 n->vm_ops->open(n); in mlock_fixup_start()
64 if (n->vm_ops && n->vm_ops->open) in mlock_fixup_end()
65 n->vm_ops->open(n); in mlock_fixup_end()
99 if (vma->vm_ops && vma->vm_ops->open) { in mlock_fixup_middle()
100 vma->vm_ops->open(left); in mlock_fixup_middle()
101 vma->vm_ops->open(right); in mlock_fixup_middle()
Dmprotect.c150 if (n->vm_ops && n->vm_ops->open) in mprotect_fixup_start()
151 n->vm_ops->open(n); in mprotect_fixup_start()
180 if (n->vm_ops && n->vm_ops->open) in mprotect_fixup_end()
181 n->vm_ops->open(n); in mprotect_fixup_end()
217 if (vma->vm_ops && vma->vm_ops->open) { in mprotect_fixup_middle()
218 vma->vm_ops->open(left); in mprotect_fixup_middle()
219 vma->vm_ops->open(right); in mprotect_fixup_middle()
/linux-2.4.37.9/arch/mips/sibyte/sb1250/
Dbcm1250_tbprof.c258 if (sbp.open) { in sbprof_tb_open()
270 sbp.open = 1; in sbprof_tb_open()
280 if (minor != 0 || !sbp.open) { in sbprof_tb_release()
289 sbp.open = 0; in sbprof_tb_release()
361 .open = sbprof_tb_open,
381 sbp.open = 0; in sbprof_tb_init()
/linux-2.4.37.9/drivers/usb/
Dmdc800.c170 int open; // Camera device open ? member
473 mdc800->open=0; in mdc800_usb_probe()
592 if (mdc800->open) in mdc800_device_open()
617 mdc800->open=1; in mdc800_device_open()
635 if (mdc800->open && (mdc800->state != NOT_CONNECTED)) in mdc800_device_release()
640 mdc800->open=0; in mdc800_device_release()
673 if (!mdc800->open) in mdc800_device_read()
763 if (!mdc800->open ) in mdc800_device_write()
924 open: mdc800_device_open,
966 mdc800->open=0; in usb_mdc800_init()
Dkbtab.c31 int open; member
76 if(kbtab->open++) in kbtab_open()
90 if(!--kbtab->open) in kbtab_close()
122 kbtab->dev.open = kbtab_open; in kbtab_probe()
Dusbmouse.c55 int open; member
81 if (mouse->open++) in usb_mouse_open()
95 if (!--mouse->open) in usb_mouse_close()
137 mouse->dev.open = usb_mouse_open; in usb_mouse_probe()
Dusbkbd.c77 int open; member
155 if (kbd->open++) in usb_kbd_open()
169 if (!--kbd->open) in usb_kbd_close()
212 kbd->dev.open = usb_kbd_open; in usb_kbd_probe()
/linux-2.4.37.9/drivers/telephony/
Dphonedev.c77 if (p->open) in phone_open()
78 err = p->open(p, file); /* Tell the device it is open */ in phone_open()
139 open: phone_open,
/linux-2.4.37.9/fs/
Ddevices.c151 if (filp->f_op->open != NULL) { in chrdev_open()
153 ret = filp->f_op->open(inode,filp); in chrdev_open()
166 open: chrdev_open,
197 open: sock_no_open
/linux-2.4.37.9/drivers/usb/serial/
Dio_tables.h108 open: edge_open,
130 open: edge_open,
152 open: edge_open,
174 open: edge_open,
/linux-2.4.37.9/drivers/char/
Dsb1250_duart.c89 unsigned int open; member
204 if (us->open && in transmit_char_pio()
649 us->open = 0; in duart_hangup()
681 if (!us->open) { in duart_open()
685 us->open++; in duart_open()
708 if (!us || !us->open) in duart_close()
718 if (--us->open < 0) { in duart_close()
719 us->open = 0; in duart_close()
720 printk(KERN_ERR "duart: bad open count: %d\n", us->open); in duart_close()
722 if (us->open) { in duart_close()
[all …]
Dmisc.c133 if (file->f_op->open) { in misc_open()
134 err=file->f_op->open(inode,file); in misc_open()
148 open: misc_open,
/linux-2.4.37.9/arch/ia64/kernel/
Dsalinfo.c145 int open; /* single-open to prevent races */ member
262 if (!data->open) in salinfo_timeout_check()
342 .open = salinfo_event_open,
356 if (data->open) { in salinfo_log_open()
360 data->open = 1; in salinfo_log_open()
365 data->open = 0; in salinfo_log_open()
385 data->open = 0; in salinfo_log_release()
562 .open = salinfo_log_open,
/linux-2.4.37.9/drivers/sound/
Ddev_table.h154 int (*open) (void *devc, int sub_device); member
165 int (*open) (int dev, int mode); member
262 int (*open) (int dev, int mode); member
312 int (*open) (int dev, int mode, member
344 int (*open)(int dev, int mode); member
/linux-2.4.37.9/arch/mips/boot/
Daddinitrd.c59 if ((fd_vmlinux = open (argv[1],O_RDONLY)) < 0) in main()
88 if ((fd_initrd = open (argv[2], O_RDONLY)) < 0) in main()
101 if ((fd_outfile = open (argv[3], O_RDWR|O_CREAT|O_TRUNC,0666)) < 0) in main()
/linux-2.4.37.9/Documentation/filesystems/
Dvfs.txt37 when user programs open and manipulate files, and then look from the
44 The VFS implements the open(2), stat(2), chmod(2) and similar system
73 all those boring things like open(2) the file, or stat(2) it to peek
82 These are taken from the inode data. The open() file method is then
94 For as long as the file is open, it keeps the dentry "open" (in use),
97 All VFS system calls (i.e. open(2), stat(2), read(2), write(2),
267 which describes how to open and then manipulate open files
269 create: called by the open(2) and creat(2) system calls. Only
324 This describes how the VFS can manipulate an open file. As of kernel
335 int (*open) (struct inode *, struct file *);
[all …]
/linux-2.4.37.9/drivers/net/irda/
Dsa1100_ir.c66 unsigned char open; member
369 if (si && si->open) { in sa1100_irda_suspend()
389 if (si && si->open) { in sa1100_irda_resume()
822 if (si->open) { in sa1100_irda_ioctl()
904 si->open = 1; in sa1100_irda_start()
911 si->open = 0; in sa1100_irda_start()
949 si->open = 0; in sa1100_irda_stop()
1001 dev->open = sa1100_irda_start; in sa1100_irda_net_init()
1062 dev->open = NULL; in sa1100_irda_net_uninit()
/linux-2.4.37.9/init/
Ddo_mounts.c437 fd = open("/dev/root", O_RDWR | O_NDELAY, 0); in change_floppy()
443 fd = open("/dev/console", O_RDWR, 0); in change_floppy()
597 out_fd = open("/dev/ram", O_RDWR, 0); in rd_load_image()
601 in_fd = open(from, O_RDONLY, 0); in rd_load_image()
671 in_fd = open(from, O_RDONLY, 0); in rd_load_image()
814 (void) open("/dev/console",O_RDWR,0); in do_linuxrc()
833 root_fd = open("/", 0, 0); in handle_initrd()
834 old_fd = open("/old", 0, 0); in handle_initrd()
870 int fd = open("/dev/root.old", O_RDWR, 0); in handle_initrd()
/linux-2.4.37.9/drivers/char/drm/
Ddrm_stub.h59 if (filp->f_op->open && (err = filp->f_op->open(inode, filp))) { in DRM()
70 .open = DRM(stub_open)
/linux-2.4.37.9/include/linux/
Dhdlc.h112 int (*open)(struct hdlc_device_struct *hdlc); member
227 if (hdlc->open) in hdlc_open()
228 return hdlc->open(hdlc); in hdlc_open()
/linux-2.4.37.9/Documentation/input/
Dgameport-programming.txt35 Please also consider enabling the gameport on the card in the ->open()
38 ->close() callback. You also can select the io address in the ->open()
89 gameport.open = my_open;
169 int (*open)(struct gameport *, int mode);
172 in cooked mode, the open() callback can decide which modes are supported.
179 Close() should free the resources allocated by open, possibly disabling the
/linux-2.4.37.9/drivers/net/arcnet/
Dcom20020.c53 static void com20020_openclose(struct net_device *dev, bool open);
301 static void com20020_openclose(struct net_device *dev, bool open) in com20020_openclose() argument
306 if (open) in com20020_openclose()
314 lp->hw.open_close_ll(dev, open); in com20020_openclose()

12345678910>>...44