Lines Matching refs:open
101 /* Block event polling when open for exclusive write */
119 /* open for reading */
121 /* open for writing */
123 /* open exclusively (vs other exclusive openers */
127 /* open for "writes" only for ioctls (specialy hack for floppy.c) */
129 /* open is exclusive wrt all other BLK_OPEN_WRITE opens to the device */
167 struct mutex open_mutex; /* open/close mutex */
168 unsigned open_partitions; /* number of open partitions */
227 * Note: Due to a quirk in the block layer open code, each open partition is
1413 int (*open)(struct gendisk *disk, blk_mode_t mode);
1519 * helpers used to open and claim block devices via
1525 * Return the correct open flags for blkdev_get_by_* for super block flags