Home
last modified time | relevance | path

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

/linux/fs/netfs/
H A Dbuffered_write.c85 struct netfs_group *netfs_group) in netfs_perform_write() argument
103 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 …]
H A Dinternal.h287 static inline struct netfs_group *netfs_get_group(struct netfs_group *netfs_group) in netfs_get_group() argument
289 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() argument
299 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 …]
H A Dread_collect.c64 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()
H A Ddirect_write.c225 struct netfs_group *netfs_group) in netfs_unbuffered_write_iter_locked() argument
H A Dwrite_issue.c51 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()
H A Dwrite_collect.c63 struct netfs_group *group = NULL; in netfs_folio_written_back()
79 group = finfo->netfs_group; in netfs_folio_written_back()
H A Dbuffered_read.c529 struct netfs_group *group = netfs_folio_group(folio); in netfs_read_gaps()
/linux/include/linux/
H A Dnetfs.h84 struct netfs_group { struct
86 void (*free)(struct netfs_group *netfs_group); argument
94 struct netfs_group *netfs_group; /* Filesystem's grouping marker (or NULL). */ member
99 #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 …]
/linux/Documentation/filesystems/
H A Dnetfs_library.rst403 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;