Searched refs:netfs_group (Results 1 – 6 of 6) sorted by relevance
242 static inline struct netfs_group *netfs_get_group(struct netfs_group *netfs_group) in netfs_get_group() argument244 if (netfs_group && netfs_group != NETFS_FOLIO_COPY_TO_CACHE) in netfs_get_group()245 refcount_inc(&netfs_group->ref); in netfs_get_group()246 return netfs_group; in netfs_get_group()252 static inline void netfs_put_group(struct netfs_group *netfs_group) in netfs_put_group() argument254 if (netfs_group && in netfs_put_group()255 netfs_group != NETFS_FOLIO_COPY_TO_CACHE && in netfs_put_group()256 refcount_dec_and_test(&netfs_group->ref)) in netfs_put_group()257 netfs_group->free(netfs_group); in netfs_put_group()263 static inline void netfs_put_group_many(struct netfs_group *netfs_group, int nr) in netfs_put_group_many() argument[all …]
220 struct netfs_group *netfs_group) in netfs_unbuffered_write_iter_locked() argument
62 struct netfs_group *group = NULL; in netfs_folio_written_back()76 group = finfo->netfs_group; in netfs_folio_written_back()
51 struct netfs_group *group = NULL; in netfs_kill_dirty_pages()60 group = finfo->netfs_group; in netfs_kill_dirty_pages()326 struct netfs_group *fgroup; /* TODO: Use this with ceph */ in netfs_write_folio()
61 if (finfo->netfs_group) in netfs_unlock_read_folio()62 folio_change_private(folio, finfo->netfs_group); in netfs_unlock_read_folio()
81 struct netfs_group { struct83 void (*free)(struct netfs_group *netfs_group); argument91 struct netfs_group *netfs_group; /* Filesystem's grouping marker (or NULL). */ member96 #define NETFS_FOLIO_COPY_TO_CACHE ((struct netfs_group *)0x356UL) /* Write to the cache only */115 static inline struct netfs_group *netfs_folio_group(struct folio *folio) in netfs_folio_group()122 return finfo->netfs_group; in netfs_folio_group()237 struct netfs_group *group; /* Writeback group being written back */398 struct netfs_group *netfs_group);400 struct netfs_group *netfs_group);403 struct netfs_group *netfs_group);[all …]