/linux-2.4.37.9/fs/ |
D | devices.c | 35 struct file_operations * fops; member 51 if (chrdevs[i].fops) { in get_device_list() 73 ret = fops_get(chrdevs[major].fops); in get_chrfops() 91 ret = fops_get(chrdevs[major].fops); in get_chrfops() 98 int register_chrdev(unsigned int major, const char * name, struct file_operations *fops) in register_chrdev() argument 103 if (chrdevs[major].fops == NULL) { in register_chrdev() 105 chrdevs[major].fops = fops; in register_chrdev() 116 if (chrdevs[major].fops && chrdevs[major].fops != fops) { in register_chrdev() 121 chrdevs[major].fops = fops; in register_chrdev() 131 if (!chrdevs[major].fops || strcmp(chrdevs[major].name, name)) { in unregister_chrdev() [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | fetchop.c | 194 struct node_fetchops *fops; in fetchop_alloc_page() local 200 fops = node_fetchops[nid]; in fetchop_alloc_page() 201 while (fops && (bit = find_first_zero_bit(fops->bits, fops->count)) < fops->count) { in fetchop_alloc_page() 202 if (test_and_set_bit(bit, fops->bits) == 0) { in fetchop_alloc_page() 204 maddr = fops->maddr + (bit<<PAGE_SHIFT); in fetchop_alloc_page() 373 struct node_fetchops *fops; in fetchop_read_proc() local 382 fops = node_fetchops[nid]; in fetchop_read_proc() 383 …len += sprintf(page + len, "%4d %7d %7d\n", nid, fops ? fops->count : 0, fops ? atomic_read(&fops-… in fetchop_read_proc() 415 struct node_fetchops *fops; in fetchop_build_memmap() local 420 fops = vmalloc(bytes); in fetchop_build_memmap() [all …]
|
D | misc.c | 116 new_fops = fops_get(c->fops); in misc_open() 126 if (c == &misc_list || (new_fops = fops_get(c->fops)) == NULL) in misc_open() 206 misc->fops, NULL); in misc_register()
|
D | mpc8xx_wdt.c | 158 .fops = &mpc8xx_wdt_fops,
|
D | indydog.c | 151 fops: &indydog_fops,
|
D | softdog.c | 212 fops: &softdog_fops,
|
D | advantechwdt.c | 261 fops: &advwdt_fops,
|
D | geodewdt.c | 198 .fops = &geodewdt_fops
|
D | scx200_wdt.c | 214 .fops = &scx200_wdt_fops,
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_stub.h | 37 struct file_operations *fops; member 44 int (*info_register)(const char *name, struct file_operations *fops, 56 if (!DRM(stub_list) || !DRM(stub_list)[minor].fops) return -ENODEV; in DRM() 58 filp->f_op = fops_get(DRM(stub_list)[minor].fops); in DRM() 73 static int DRM(stub_getminor)(const char *name, struct file_operations *fops, in DRM() 84 DRM(stub_list)[i].fops = NULL; in DRM() 88 if (!DRM(stub_list)[i].fops) { in DRM() 90 DRM(stub_list)[i].fops = fops; in DRM() 104 DRM(stub_list)[minor].fops = NULL; in DRM() 120 int DRM(stub_register)(const char *name, struct file_operations *fops, in DRM() [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | sound_core.c | 72 …(struct sound_unit * s, struct sound_unit **list, struct file_operations *fops, int index, int low… in __sound_insert_unit() argument 108 s->unit_fops=fops; in __sound_insert_unit() 157 static int sound_insert_unit(struct sound_unit **list, struct file_operations *fops, int index, int… in sound_insert_unit() argument 167 r=__sound_insert_unit(s,list,fops,index,low,top); in sound_insert_unit() 182 S_IFCHR | mode, fops, NULL); in sound_insert_unit() 232 int register_sound_special(struct file_operations *fops, int unit) in register_sound_special() argument 286 return sound_insert_unit(&chains[unit&15], fops, -1, unit, unit+1, in register_sound_special() 302 int register_sound_mixer(struct file_operations *fops, int dev) in register_sound_mixer() argument 304 return sound_insert_unit(&chains[0], fops, dev, 0, 128, in register_sound_mixer() 320 int register_sound_midi(struct file_operations *fops, int dev) in register_sound_midi() argument [all …]
|
/linux-2.4.37.9/include/linux/ |
D | sound.h | 30 extern int register_sound_special(struct file_operations *fops, int unit); 31 extern int register_sound_mixer(struct file_operations *fops, int dev); 32 extern int register_sound_midi(struct file_operations *fops, int dev); 33 extern int register_sound_dsp(struct file_operations *fops, int dev); 34 extern int register_sound_synth(struct file_operations *fops, int dev);
|
D | devfs_fs_kernel.h | 98 struct file_operations *fops); 245 struct file_operations *fops) in devfs_register_chrdev() argument 247 return register_chrdev (major, name, fops); in devfs_register_chrdev()
|
D | fs.h | 1016 #define fops_get(fops) \ argument 1017 (((fops) && (fops)->owner) \ 1018 ? ( try_inc_mod_count((fops)->owner) ? (fops) : NULL ) \ 1019 : (fops)) 1021 #define fops_put(fops) \ argument 1023 if ((fops) && (fops)->owner) \ 1024 __MOD_DEC_USE_COUNT((fops)->owner); \
|
D | proc_fs.h | 178 mode_t mode, struct file_operations *fops) in proc_net_fops_create() argument 183 res->proc_fops = fops; in proc_net_fops_create()
|
D | miscdevice.h | 46 struct file_operations *fops; member
|
/linux-2.4.37.9/fs/intermezzo/ |
D | file.c | 151 struct file_operations *fops; in presto_file_open() local 200 fops = filter_c2cffops(cache->cache_filter); in presto_file_open() 201 if ( fops->open ) { in presto_file_open() 203 rc = fops->open(inode, file); in presto_file_open() 265 struct file_operations *fops; in presto_file_release() local 278 fops = filter_c2cffops(cache->cache_filter); in presto_file_release() 279 if (fops && fops->release) in presto_file_release() 280 rc = fops->release(inode, file); in presto_file_release() 368 struct file_operations *fops; in presto_file_write() local 445 fops = filter_c2cffops(cache->cache_filter); in presto_file_write() [all …]
|
/linux-2.4.37.9/drivers/ide/raid/ |
D | ataraid.c | 207 int ataraid_get_device(struct raid_device_operations *fops) in ataraid_get_device() argument 217 ataraid_ops[bit] = fops; in ataraid_get_device() 273 ataraid_gendisk.fops = &ataraid_fops; in ataraid_init()
|
D | ataraid.h | 61 extern int ataraid_get_device(struct raid_device_operations *fops);
|
/linux-2.4.37.9/drivers/input/ |
D | input.c | 316 if (handler->fops != NULL) in input_register_handler() 367 if (handler->fops != NULL) in input_unregister_handler() 378 if (!handler || !(new_fops = fops_get(handler->fops))) in input_open_file()
|
/linux-2.4.37.9/drivers/usb/ |
D | drivers.c | 70 int minor = driver->fops ? driver->minor : -1; in usb_driver_read()
|
/linux-2.4.37.9/fs/proc/ |
D | generic.c | 409 struct file_operations *fops; in proc_kill_inodes() local 416 fops = filp->f_op; in proc_kill_inodes() 418 fops_put(fops); in proc_kill_inodes()
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | Makefile | 19 lists.o lock.o ioctl.o fops.o vm.o dma.o ctxbitmap.o
|
/linux-2.4.37.9/fs/partitions/ |
D | check.c | 297 dev->fops, NULL); in devfs_register_partition() 335 S_IFBLK | S_IRUSR | S_IWUSR, dev->fops, NULL); in devfs_register_disc()
|
/linux-2.4.37.9/arch/ia64/sn/io/hwgdfs/ |
D | hcl.c | 427 struct file_operations *fops, in hwgraph_register() argument 437 minor, mode, fops, info); in hwgraph_register()
|