Lines Matching defs:block_device_operations
1365 struct block_device_operations { struct
1366 int (*open) (struct block_device *, fmode_t);
1367 int (*release) (struct gendisk *, fmode_t);
1368 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1369 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1370 int (*direct_access) (struct block_device *, sector_t,
1372 unsigned int (*check_events) (struct gendisk *disk,
1375 int (*media_changed) (struct gendisk *);
1376 void (*unlock_native_capacity) (struct gendisk *);
1377 int (*revalidate_disk) (struct gendisk *);
1378 int (*getgeo)(struct block_device *, struct hd_geometry *);
1380 void (*swap_slot_free_notify) (struct block_device *, unsigned long);
1381 struct module *owner;