Home
last modified time | relevance | path

Searched refs:netfs_group (Results 1 – 7 of 7) sorted by relevance

/linux/fs/netfs/
A Dbuffered_write.c16 static void __netfs_set_group(struct folio *folio, struct netfs_group *netfs_group) in __netfs_set_group() argument
18 if (netfs_group) in __netfs_set_group()
22 static void netfs_set_group(struct folio *folio, struct netfs_group *netfs_group) in netfs_set_group() argument
26 if (unlikely(priv != netfs_group)) { in netfs_set_group()
97 struct netfs_group *netfs_group) in netfs_perform_write() argument
145 struct netfs_group *group; in netfs_perform_write()
302 finfo->netfs_group = netfs_get_group(netfs_group); in netfs_perform_write()
321 if (finfo->netfs_group) in netfs_perform_write()
430 struct netfs_group *netfs_group) in netfs_buffered_write_iter_locked() argument
496 vm_fault_t netfs_page_mkwrite(struct vm_fault *vmf, struct netfs_group *netfs_group) in netfs_page_mkwrite() argument
[all …]
A Dinternal.h213 static inline struct netfs_group *netfs_get_group(struct netfs_group *netfs_group) in netfs_get_group() argument
215 if (netfs_group && netfs_group != NETFS_FOLIO_COPY_TO_CACHE) in netfs_get_group()
216 refcount_inc(&netfs_group->ref); in netfs_get_group()
217 return netfs_group; in netfs_get_group()
223 static inline void netfs_put_group(struct netfs_group *netfs_group) in netfs_put_group() argument
225 if (netfs_group && in netfs_put_group()
227 refcount_dec_and_test(&netfs_group->ref)) in netfs_put_group()
228 netfs_group->free(netfs_group); in netfs_put_group()
234 static inline void netfs_put_group_many(struct netfs_group *netfs_group, int nr) in netfs_put_group_many() argument
236 if (netfs_group && in netfs_put_group_many()
[all …]
A Ddirect_write.c31 struct netfs_group *netfs_group) in netfs_unbuffered_write_iter_locked() argument
A Dwrite_issue.c51 struct netfs_group *group = NULL; in netfs_kill_dirty_pages()
60 group = finfo->netfs_group; in netfs_kill_dirty_pages()
318 struct netfs_group *fgroup; /* TODO: Use this with ceph */ in netfs_write_folio()
A Dread_collect.c49 if (finfo->netfs_group) in netfs_unlock_read_folio()
50 folio_change_private(folio, finfo->netfs_group); in netfs_unlock_read_folio()
A Dwrite_collect.c34 struct netfs_group *group = NULL; in netfs_folio_written_back()
48 group = finfo->netfs_group; in netfs_folio_written_back()
/linux/include/linux/
A Dnetfs.h81 struct netfs_group { struct
83 void (*free)(struct netfs_group *netfs_group); argument
91 struct netfs_group *netfs_group; /* Filesystem's grouping marker (or NULL). */ member
96 #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()
239 struct netfs_group *group; /* Writeback group being written back */
405 struct netfs_group *netfs_group);
407 struct netfs_group *netfs_group);
410 struct netfs_group *netfs_group);
[all …]

Completed in 21 milliseconds