Lines Matching defs:inode
372 int (*set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *,
381 int (*posix_mkdir)(const unsigned int xid, struct inode *inode,
385 int (*mkdir)(const unsigned int xid, struct inode *inode, umode_t mode,
389 void (*mkdir_setinfo)(struct inode *, const char *,
477 /* get lease key of the inode */
478 void (*get_lease_key)(struct inode *, struct cifs_fid *);
479 /* set lease key of the inode */
480 void (*set_lease_key)(struct inode *, struct cifs_fid *);
501 /* set oplock level for the inode */
522 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
526 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
529 unsigned int (*wp_retry_size)(struct inode *);
559 struct inode *inode,
1124 * common struct for holding inode info when searching for or updating an
1125 * inode with new info
1393 struct list_head flist; /* next fid (file instance) for this inode */
1522 #define CIFS_CACHE_READ(cinode) ((cinode->oplock & CIFS_CACHE_READ_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE))
1524 #define CIFS_CACHE_WRITE(cinode) ((cinode->oplock & CIFS_CACHE_WRITE_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_RW_CACHE))
1527 * One of these for each file inode
1531 struct netfs_inode netfs; /* Netfslib context and vfs inode */
1533 struct list_head llist; /* locks helb by this inode */
1556 unsigned int writers; /* Number of writers on this inode */
1557 unsigned long time; /* jiffies of last update of inode */
1559 u64 uniqueid; /* server inode number */
1561 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for this inode */
1570 CIFS_I(struct inode *inode)
1572 return container_of(inode, struct cifsInodeInfo, netfs.inode);