diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/clocksource/arm_arch_timer.h | 6 | ||||
-rw-r--r-- | include/clocksource/samsung_pwm.h | 36 | ||||
-rw-r--r-- | include/linux/blkdev.h | 2 | ||||
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/kref.h | 9 | ||||
-rw-r--r-- | include/linux/mbus.h | 27 | ||||
-rw-r--r-- | include/linux/mtd/blktrans.h | 2 | ||||
-rw-r--r-- | include/linux/mxsfb.h | 52 | ||||
-rw-r--r-- | include/linux/of.h | 5 | ||||
-rw-r--r-- | include/linux/pata_arasan_cf_data.h | 2 | ||||
-rw-r--r-- | include/linux/platform_data/gpio-rcar.h | 26 | ||||
-rw-r--r-- | include/linux/remoteproc.h | 13 | ||||
-rw-r--r-- | include/linux/spi/mxs-spi.h | 4 | ||||
-rw-r--r-- | include/uapi/linux/fuse.h | 7 |
14 files changed, 118 insertions, 75 deletions
diff --git a/include/clocksource/arm_arch_timer.h b/include/clocksource/arm_arch_timer.h index 2603267b1a29..e6c9c4cc9b23 100644 --- a/include/clocksource/arm_arch_timer.h +++ b/include/clocksource/arm_arch_timer.h | |||
@@ -31,18 +31,12 @@ | |||
31 | 31 | ||
32 | #ifdef CONFIG_ARM_ARCH_TIMER | 32 | #ifdef CONFIG_ARM_ARCH_TIMER |
33 | 33 | ||
34 | extern int arch_timer_init(void); | ||
35 | extern u32 arch_timer_get_rate(void); | 34 | extern u32 arch_timer_get_rate(void); |
36 | extern u64 (*arch_timer_read_counter)(void); | 35 | extern u64 (*arch_timer_read_counter)(void); |
37 | extern struct timecounter *arch_timer_get_timecounter(void); | 36 | extern struct timecounter *arch_timer_get_timecounter(void); |
38 | 37 | ||
39 | #else | 38 | #else |
40 | 39 | ||
41 | static inline int arch_timer_init(void) | ||
42 | { | ||
43 | return -ENXIO; | ||
44 | } | ||
45 | |||
46 | static inline u32 arch_timer_get_rate(void) | 40 | static inline u32 arch_timer_get_rate(void) |
47 | { | 41 | { |
48 | return 0; | 42 | return 0; |
diff --git a/include/clocksource/samsung_pwm.h b/include/clocksource/samsung_pwm.h new file mode 100644 index 000000000000..5c449c8199e9 --- /dev/null +++ b/include/clocksource/samsung_pwm.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Samsung Electronics Co., Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __CLOCKSOURCE_SAMSUNG_PWM_H | ||
17 | #define __CLOCKSOURCE_SAMSUNG_PWM_H | ||
18 | |||
19 | #include <linux/spinlock.h> | ||
20 | |||
21 | #define SAMSUNG_PWM_NUM 5 | ||
22 | |||
23 | extern spinlock_t samsung_pwm_lock; | ||
24 | |||
25 | struct samsung_pwm_variant { | ||
26 | u8 bits; | ||
27 | u8 div_base; | ||
28 | u8 tclk_mask; | ||
29 | u8 output_mask; | ||
30 | bool has_tint_cstat; | ||
31 | }; | ||
32 | |||
33 | void samsung_pwm_clocksource_init(void __iomem *base, | ||
34 | unsigned int *irqs, struct samsung_pwm_variant *variant); | ||
35 | |||
36 | #endif /* __CLOCKSOURCE_SAMSUNG_PWM_H */ | ||
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 78feda9bbae2..e38cfe77f7f0 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -1484,7 +1484,7 @@ static inline bool blk_integrity_is_initialized(struct gendisk *g) | |||
1484 | 1484 | ||
1485 | struct block_device_operations { | 1485 | struct block_device_operations { |
1486 | int (*open) (struct block_device *, fmode_t); | 1486 | int (*open) (struct block_device *, fmode_t); |
1487 | int (*release) (struct gendisk *, fmode_t); | 1487 | void (*release) (struct gendisk *, fmode_t); |
1488 | int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); | 1488 | int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); |
1489 | int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); | 1489 | int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); |
1490 | int (*direct_access) (struct block_device *, sector_t, | 1490 | int (*direct_access) (struct block_device *, sector_t, |
diff --git a/include/linux/fs.h b/include/linux/fs.h index b5a24ba83b6f..43db02e9c9fa 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2091,7 +2091,7 @@ extern struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, | |||
2091 | void *holder); | 2091 | void *holder); |
2092 | extern struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, | 2092 | extern struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, |
2093 | void *holder); | 2093 | void *holder); |
2094 | extern int blkdev_put(struct block_device *bdev, fmode_t mode); | 2094 | extern void blkdev_put(struct block_device *bdev, fmode_t mode); |
2095 | #ifdef CONFIG_SYSFS | 2095 | #ifdef CONFIG_SYSFS |
2096 | extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk); | 2096 | extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk); |
2097 | extern void bd_unlink_disk_holder(struct block_device *bdev, | 2097 | extern void bd_unlink_disk_holder(struct block_device *bdev, |
diff --git a/include/linux/kref.h b/include/linux/kref.h index 4972e6e9ca93..e15828fd71f1 100644 --- a/include/linux/kref.h +++ b/include/linux/kref.h | |||
@@ -39,8 +39,11 @@ static inline void kref_init(struct kref *kref) | |||
39 | */ | 39 | */ |
40 | static inline void kref_get(struct kref *kref) | 40 | static inline void kref_get(struct kref *kref) |
41 | { | 41 | { |
42 | WARN_ON(!atomic_read(&kref->refcount)); | 42 | /* If refcount was 0 before incrementing then we have a race |
43 | atomic_inc(&kref->refcount); | 43 | * condition when this kref is freeing by some other thread right now. |
44 | * In this case one should use kref_get_unless_zero() | ||
45 | */ | ||
46 | WARN_ON_ONCE(atomic_inc_return(&kref->refcount) < 2); | ||
44 | } | 47 | } |
45 | 48 | ||
46 | /** | 49 | /** |
@@ -100,7 +103,7 @@ static inline int kref_put_mutex(struct kref *kref, | |||
100 | struct mutex *lock) | 103 | struct mutex *lock) |
101 | { | 104 | { |
102 | WARN_ON(release == NULL); | 105 | WARN_ON(release == NULL); |
103 | if (unlikely(!atomic_add_unless(&kref->refcount, -1, 1))) { | 106 | if (unlikely(!atomic_add_unless(&kref->refcount, -1, 1))) { |
104 | mutex_lock(lock); | 107 | mutex_lock(lock); |
105 | if (unlikely(!atomic_dec_and_test(&kref->refcount))) { | 108 | if (unlikely(!atomic_dec_and_test(&kref->refcount))) { |
106 | mutex_unlock(lock); | 109 | mutex_unlock(lock); |
diff --git a/include/linux/mbus.h b/include/linux/mbus.h index efa1a6d7aca8..dba482e31a13 100644 --- a/include/linux/mbus.h +++ b/include/linux/mbus.h | |||
@@ -32,6 +32,20 @@ struct mbus_dram_target_info | |||
32 | } cs[4]; | 32 | } cs[4]; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | /* Flags for PCI/PCIe address decoding regions */ | ||
36 | #define MVEBU_MBUS_PCI_IO 0x1 | ||
37 | #define MVEBU_MBUS_PCI_MEM 0x2 | ||
38 | #define MVEBU_MBUS_PCI_WA 0x3 | ||
39 | |||
40 | /* | ||
41 | * Magic value that explicits that we don't need a remapping-capable | ||
42 | * address decoding window. | ||
43 | */ | ||
44 | #define MVEBU_MBUS_NO_REMAP (0xffffffff) | ||
45 | |||
46 | /* Maximum size of a mbus window name */ | ||
47 | #define MVEBU_MBUS_MAX_WINNAME_SZ 32 | ||
48 | |||
35 | /* | 49 | /* |
36 | * The Marvell mbus is to be found only on SOCs from the Orion family | 50 | * The Marvell mbus is to be found only on SOCs from the Orion family |
37 | * at the moment. Provide a dummy stub for other architectures. | 51 | * at the moment. Provide a dummy stub for other architectures. |
@@ -44,4 +58,15 @@ static inline const struct mbus_dram_target_info *mv_mbus_dram_info(void) | |||
44 | return NULL; | 58 | return NULL; |
45 | } | 59 | } |
46 | #endif | 60 | #endif |
47 | #endif | 61 | |
62 | int mvebu_mbus_add_window_remap_flags(const char *devname, phys_addr_t base, | ||
63 | size_t size, phys_addr_t remap, | ||
64 | unsigned int flags); | ||
65 | int mvebu_mbus_add_window(const char *devname, phys_addr_t base, | ||
66 | size_t size); | ||
67 | int mvebu_mbus_del_window(phys_addr_t base, size_t size); | ||
68 | int mvebu_mbus_init(const char *soc, phys_addr_t mbus_phys_base, | ||
69 | size_t mbus_size, phys_addr_t sdram_phys_base, | ||
70 | size_t sdram_size); | ||
71 | |||
72 | #endif /* __LINUX_MBUS_H */ | ||
diff --git a/include/linux/mtd/blktrans.h b/include/linux/mtd/blktrans.h index 4eb0a50d0c55..e93837f647de 100644 --- a/include/linux/mtd/blktrans.h +++ b/include/linux/mtd/blktrans.h | |||
@@ -74,7 +74,7 @@ struct mtd_blktrans_ops { | |||
74 | 74 | ||
75 | /* Called with mtd_table_mutex held; no race with add/remove */ | 75 | /* Called with mtd_table_mutex held; no race with add/remove */ |
76 | int (*open)(struct mtd_blktrans_dev *dev); | 76 | int (*open)(struct mtd_blktrans_dev *dev); |
77 | int (*release)(struct mtd_blktrans_dev *dev); | 77 | void (*release)(struct mtd_blktrans_dev *dev); |
78 | 78 | ||
79 | /* Called on {de,}registration and on subsequent addition/removal | 79 | /* Called on {de,}registration and on subsequent addition/removal |
80 | of devices, with mtd_table_mutex held. */ | 80 | of devices, with mtd_table_mutex held. */ |
diff --git a/include/linux/mxsfb.h b/include/linux/mxsfb.h deleted file mode 100644 index f80af8674342..000000000000 --- a/include/linux/mxsfb.h +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | /* | ||
2 | * This program is free software; you can redistribute it and/or | ||
3 | * modify it under the terms of the GNU General Public License | ||
4 | * as published by the Free Software Foundation; either version 2 | ||
5 | * of the License, or (at your option) any later version. | ||
6 | * This program is distributed in the hope that it will be useful, | ||
7 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
8 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
9 | * GNU General Public License for more details. | ||
10 | * | ||
11 | * You should have received a copy of the GNU General Public License | ||
12 | * along with this program; if not, write to the Free Software | ||
13 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
14 | * MA 02110-1301, USA. | ||
15 | */ | ||
16 | |||
17 | #ifndef __LINUX_MXSFB_H | ||
18 | #define __LINUX_MXSFB_H | ||
19 | |||
20 | #include <linux/fb.h> | ||
21 | |||
22 | #define STMLCDIF_8BIT 1 /** pixel data bus to the display is of 8 bit width */ | ||
23 | #define STMLCDIF_16BIT 0 /** pixel data bus to the display is of 16 bit width */ | ||
24 | #define STMLCDIF_18BIT 2 /** pixel data bus to the display is of 18 bit width */ | ||
25 | #define STMLCDIF_24BIT 3 /** pixel data bus to the display is of 24 bit width */ | ||
26 | |||
27 | #define MXSFB_SYNC_DATA_ENABLE_HIGH_ACT (1 << 6) | ||
28 | #define MXSFB_SYNC_DOTCLK_FAILING_ACT (1 << 7) /* failing/negtive edge sampling */ | ||
29 | |||
30 | struct mxsfb_platform_data { | ||
31 | struct fb_videomode *mode_list; | ||
32 | unsigned mode_count; | ||
33 | |||
34 | unsigned default_bpp; | ||
35 | |||
36 | unsigned dotclk_delay; /* refer manual HW_LCDIF_VDCTRL4 register */ | ||
37 | unsigned ld_intf_width; /* refer STMLCDIF_* macros */ | ||
38 | |||
39 | unsigned fb_size; /* Size of the video memory. If zero a | ||
40 | * default will be used | ||
41 | */ | ||
42 | unsigned long fb_phys; /* physical address for the video memory. If | ||
43 | * zero the framebuffer memory will be dynamically | ||
44 | * allocated. If specified,fb_size must also be specified. | ||
45 | * fb_phys must be unused by Linux. | ||
46 | */ | ||
47 | u32 sync; /* sync mask, contains MXSFB specifics not | ||
48 | * carried in fb_info->var.sync | ||
49 | */ | ||
50 | }; | ||
51 | |||
52 | #endif /* __LINUX_MXSFB_H */ | ||
diff --git a/include/linux/of.h b/include/linux/of.h index 1b671c3809b8..1fd08ca23106 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -387,6 +387,11 @@ static inline int of_device_is_compatible(const struct device_node *device, | |||
387 | return 0; | 387 | return 0; |
388 | } | 388 | } |
389 | 389 | ||
390 | static inline int of_device_is_available(const struct device_node *device) | ||
391 | { | ||
392 | return 0; | ||
393 | } | ||
394 | |||
390 | static inline struct property *of_find_property(const struct device_node *np, | 395 | static inline struct property *of_find_property(const struct device_node *np, |
391 | const char *name, | 396 | const char *name, |
392 | int *lenp) | 397 | int *lenp) |
diff --git a/include/linux/pata_arasan_cf_data.h b/include/linux/pata_arasan_cf_data.h index a7b4fc386e63..3cc21c9cc1e8 100644 --- a/include/linux/pata_arasan_cf_data.h +++ b/include/linux/pata_arasan_cf_data.h | |||
@@ -37,8 +37,6 @@ struct arasan_cf_pdata { | |||
37 | #define CF_BROKEN_PIO (1) | 37 | #define CF_BROKEN_PIO (1) |
38 | #define CF_BROKEN_MWDMA (1 << 1) | 38 | #define CF_BROKEN_MWDMA (1 << 1) |
39 | #define CF_BROKEN_UDMA (1 << 2) | 39 | #define CF_BROKEN_UDMA (1 << 2) |
40 | /* This is platform specific data for the DMA controller */ | ||
41 | void *dma_priv; | ||
42 | }; | 40 | }; |
43 | 41 | ||
44 | static inline void | 42 | static inline void |
diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h new file mode 100644 index 000000000000..b253f77a7ddf --- /dev/null +++ b/include/linux/platform_data/gpio-rcar.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Renesas R-Car GPIO Support | ||
3 | * | ||
4 | * Copyright (C) 2013 Magnus Damm | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | #ifndef __GPIO_RCAR_H__ | ||
17 | #define __GPIO_RCAR_H__ | ||
18 | |||
19 | struct gpio_rcar_config { | ||
20 | unsigned int gpio_base; | ||
21 | unsigned int irq_base; | ||
22 | unsigned int number_of_pins; | ||
23 | const char *pctl_name; | ||
24 | }; | ||
25 | |||
26 | #endif /* __GPIO_RCAR_H__ */ | ||
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index faf33324c78f..9e7e745dac55 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h | |||
@@ -401,6 +401,9 @@ enum rproc_crash_type { | |||
401 | * @crash_comp: completion used to sync crash handler and the rproc reload | 401 | * @crash_comp: completion used to sync crash handler and the rproc reload |
402 | * @recovery_disabled: flag that state if recovery was disabled | 402 | * @recovery_disabled: flag that state if recovery was disabled |
403 | * @max_notifyid: largest allocated notify id. | 403 | * @max_notifyid: largest allocated notify id. |
404 | * @table_ptr: pointer to the resource table in effect | ||
405 | * @cached_table: copy of the resource table | ||
406 | * @table_csum: checksum of the resource table | ||
404 | */ | 407 | */ |
405 | struct rproc { | 408 | struct rproc { |
406 | struct klist_node node; | 409 | struct klist_node node; |
@@ -429,9 +432,13 @@ struct rproc { | |||
429 | struct completion crash_comp; | 432 | struct completion crash_comp; |
430 | bool recovery_disabled; | 433 | bool recovery_disabled; |
431 | int max_notifyid; | 434 | int max_notifyid; |
435 | struct resource_table *table_ptr; | ||
436 | struct resource_table *cached_table; | ||
437 | u32 table_csum; | ||
432 | }; | 438 | }; |
433 | 439 | ||
434 | /* we currently support only two vrings per rvdev */ | 440 | /* we currently support only two vrings per rvdev */ |
441 | |||
435 | #define RVDEV_NUM_VRINGS 2 | 442 | #define RVDEV_NUM_VRINGS 2 |
436 | 443 | ||
437 | /** | 444 | /** |
@@ -462,16 +469,14 @@ struct rproc_vring { | |||
462 | * @rproc: the rproc handle | 469 | * @rproc: the rproc handle |
463 | * @vdev: the virio device | 470 | * @vdev: the virio device |
464 | * @vring: the vrings for this vdev | 471 | * @vring: the vrings for this vdev |
465 | * @dfeatures: virtio device features | 472 | * @rsc_offset: offset of the vdev's resource entry |
466 | * @gfeatures: virtio guest features | ||
467 | */ | 473 | */ |
468 | struct rproc_vdev { | 474 | struct rproc_vdev { |
469 | struct list_head node; | 475 | struct list_head node; |
470 | struct rproc *rproc; | 476 | struct rproc *rproc; |
471 | struct virtio_device vdev; | 477 | struct virtio_device vdev; |
472 | struct rproc_vring vring[RVDEV_NUM_VRINGS]; | 478 | struct rproc_vring vring[RVDEV_NUM_VRINGS]; |
473 | unsigned long dfeatures; | 479 | u32 rsc_offset; |
474 | unsigned long gfeatures; | ||
475 | }; | 480 | }; |
476 | 481 | ||
477 | struct rproc *rproc_alloc(struct device *dev, const char *name, | 482 | struct rproc *rproc_alloc(struct device *dev, const char *name, |
diff --git a/include/linux/spi/mxs-spi.h b/include/linux/spi/mxs-spi.h index 61ae1306db23..4835486f58e5 100644 --- a/include/linux/spi/mxs-spi.h +++ b/include/linux/spi/mxs-spi.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #ifndef __LINUX_SPI_MXS_SPI_H__ | 24 | #ifndef __LINUX_SPI_MXS_SPI_H__ |
25 | #define __LINUX_SPI_MXS_SPI_H__ | 25 | #define __LINUX_SPI_MXS_SPI_H__ |
26 | 26 | ||
27 | #include <linux/fsl/mxs-dma.h> | 27 | #include <linux/dmaengine.h> |
28 | 28 | ||
29 | #define ssp_is_old(host) ((host)->devid == IMX23_SSP) | 29 | #define ssp_is_old(host) ((host)->devid == IMX23_SSP) |
30 | 30 | ||
@@ -137,9 +137,7 @@ struct mxs_ssp { | |||
137 | unsigned int clk_rate; | 137 | unsigned int clk_rate; |
138 | enum mxs_ssp_id devid; | 138 | enum mxs_ssp_id devid; |
139 | 139 | ||
140 | int dma_channel; | ||
141 | struct dma_chan *dmach; | 140 | struct dma_chan *dmach; |
142 | struct mxs_dma_data dma_data; | ||
143 | unsigned int dma_dir; | 141 | unsigned int dma_dir; |
144 | enum dma_transfer_direction slave_dirn; | 142 | enum dma_transfer_direction slave_dirn; |
145 | u32 ssp_pio_words[SSP_PIO_NUM]; | 143 | u32 ssp_pio_words[SSP_PIO_NUM]; |
diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h index 706d035fa748..60bb2f9f7b74 100644 --- a/include/uapi/linux/fuse.h +++ b/include/uapi/linux/fuse.h | |||
@@ -90,6 +90,9 @@ | |||
90 | * 7.21 | 90 | * 7.21 |
91 | * - add FUSE_READDIRPLUS | 91 | * - add FUSE_READDIRPLUS |
92 | * - send the requested events in POLL request | 92 | * - send the requested events in POLL request |
93 | * | ||
94 | * 7.22 | ||
95 | * - add FUSE_ASYNC_DIO | ||
93 | */ | 96 | */ |
94 | 97 | ||
95 | #ifndef _LINUX_FUSE_H | 98 | #ifndef _LINUX_FUSE_H |
@@ -125,7 +128,7 @@ | |||
125 | #define FUSE_KERNEL_VERSION 7 | 128 | #define FUSE_KERNEL_VERSION 7 |
126 | 129 | ||
127 | /** Minor version number of this interface */ | 130 | /** Minor version number of this interface */ |
128 | #define FUSE_KERNEL_MINOR_VERSION 21 | 131 | #define FUSE_KERNEL_MINOR_VERSION 22 |
129 | 132 | ||
130 | /** The node ID of the root inode */ | 133 | /** The node ID of the root inode */ |
131 | #define FUSE_ROOT_ID 1 | 134 | #define FUSE_ROOT_ID 1 |
@@ -215,6 +218,7 @@ struct fuse_file_lock { | |||
215 | * FUSE_AUTO_INVAL_DATA: automatically invalidate cached pages | 218 | * FUSE_AUTO_INVAL_DATA: automatically invalidate cached pages |
216 | * FUSE_DO_READDIRPLUS: do READDIRPLUS (READDIR+LOOKUP in one) | 219 | * FUSE_DO_READDIRPLUS: do READDIRPLUS (READDIR+LOOKUP in one) |
217 | * FUSE_READDIRPLUS_AUTO: adaptive readdirplus | 220 | * FUSE_READDIRPLUS_AUTO: adaptive readdirplus |
221 | * FUSE_ASYNC_DIO: asynchronous direct I/O submission | ||
218 | */ | 222 | */ |
219 | #define FUSE_ASYNC_READ (1 << 0) | 223 | #define FUSE_ASYNC_READ (1 << 0) |
220 | #define FUSE_POSIX_LOCKS (1 << 1) | 224 | #define FUSE_POSIX_LOCKS (1 << 1) |
@@ -231,6 +235,7 @@ struct fuse_file_lock { | |||
231 | #define FUSE_AUTO_INVAL_DATA (1 << 12) | 235 | #define FUSE_AUTO_INVAL_DATA (1 << 12) |
232 | #define FUSE_DO_READDIRPLUS (1 << 13) | 236 | #define FUSE_DO_READDIRPLUS (1 << 13) |
233 | #define FUSE_READDIRPLUS_AUTO (1 << 14) | 237 | #define FUSE_READDIRPLUS_AUTO (1 << 14) |
238 | #define FUSE_ASYNC_DIO (1 << 15) | ||
234 | 239 | ||
235 | /** | 240 | /** |
236 | * CUSE INIT request/reply flags | 241 | * CUSE INIT request/reply flags |