Searched refs:netfs_group (Results 1 – 9 of 9) sorted by relevance
85 struct netfs_group *netfs_group) in netfs_perform_write() argument103 struct netfs_group *group; in netfs_perform_write()167 if (unlikely(group != netfs_group) && in netfs_perform_write()170 WARN_ON_ONCE(!netfs_group); in netfs_perform_write()285 finfo->netfs_group = netfs_get_group(netfs_group); in netfs_perform_write()332 if (likely(priv == netfs_group)) { in netfs_perform_write()335 if (!netfs_group) in netfs_perform_write()338 folio_change_private(folio, netfs_get_group(netfs_group)); in netfs_perform_write()340 folio_attach_private(folio, netfs_get_group(netfs_group)); in netfs_perform_write()343 if (netfs_group) in netfs_perform_write()[all …]
287 static inline struct netfs_group *netfs_get_group(struct netfs_group *netfs_group) in netfs_get_group() argument289 if (netfs_group && netfs_group != NETFS_FOLIO_COPY_TO_CACHE) in netfs_get_group()290 refcount_inc(&netfs_group->ref); in netfs_get_group()291 return netfs_group; in netfs_get_group()297 static inline void netfs_put_group(struct netfs_group *netfs_group) in netfs_put_group() argument299 if (netfs_group && in netfs_put_group()300 netfs_group != NETFS_FOLIO_COPY_TO_CACHE && in netfs_put_group()301 refcount_dec_and_test(&netfs_group->ref)) in netfs_put_group()302 netfs_group->free(netfs_group); in netfs_put_group()308 static inline void netfs_put_group_many(struct netfs_group *netfs_group, int nr) in netfs_put_group_many() argument[all …]
64 finfo->netfs_group = NULL; in netfs_cancel_copy_to_cache()108 if (finfo->netfs_group) in netfs_unlock_read_folio()109 folio_change_private(folio, finfo->netfs_group); in netfs_unlock_read_folio()
225 struct netfs_group *netfs_group) in netfs_unbuffered_write_iter_locked() argument
51 struct netfs_group *group = NULL; in netfs_kill_dirty_pages()60 group = finfo->netfs_group; in netfs_kill_dirty_pages()346 struct netfs_group *fgroup; /* TODO: Use this with ceph */ in netfs_write_folio()
63 struct netfs_group *group = NULL; in netfs_folio_written_back()79 group = finfo->netfs_group; in netfs_folio_written_back()
529 struct netfs_group *group = netfs_folio_group(folio); in netfs_read_gaps()
84 struct netfs_group { struct86 void (*free)(struct netfs_group *netfs_group); argument94 struct netfs_group *netfs_group; /* Filesystem's grouping marker (or NULL). */ member99 #define NETFS_FOLIO_COPY_TO_CACHE ((struct netfs_group *)0x356UL) /* Write to the cache only */118 static inline struct netfs_group *netfs_folio_group(struct folio *folio) in netfs_folio_group()125 return finfo->netfs_group; in netfs_folio_group()249 struct netfs_group *group; /* Writeback group being written back */417 struct netfs_group *netfs_group);419 struct netfs_group *netfs_group);422 struct netfs_group *netfs_group);[all …]
403 struct netfs_group *netfs_group);405 struct netfs_group *netfs_group);407 struct netfs_group *netfs_group);428 vm_fault_t netfs_page_mkwrite(struct vm_fault *vmf, struct netfs_group *netfs_group);531 struct netfs_group *group;