Symbol: netfs_group
fs/netfs/buffered_write.c
107
struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
154
struct netfs_group *group;
fs/netfs/buffered_write.c
16
static void __netfs_set_group(struct folio *folio, struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
18
if (netfs_group)
fs/netfs/buffered_write.c
19
folio_attach_private(folio, netfs_get_group(netfs_group));
fs/netfs/buffered_write.c
215
if (unlikely(group != netfs_group) &&
fs/netfs/buffered_write.c
22
static void netfs_set_group(struct folio *folio, struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
225
netfs_set_group(folio, netfs_group);
fs/netfs/buffered_write.c
240
__netfs_set_group(folio, netfs_group);
fs/netfs/buffered_write.c
258
__netfs_set_group(folio, netfs_group);
fs/netfs/buffered_write.c
26
if (unlikely(priv != netfs_group)) {
fs/netfs/buffered_write.c
27
if (netfs_group && (!priv || priv == NETFS_FOLIO_COPY_TO_CACHE))
fs/netfs/buffered_write.c
28
folio_attach_private(folio, netfs_get_group(netfs_group));
fs/netfs/buffered_write.c
286
netfs_set_group(folio, netfs_group);
fs/netfs/buffered_write.c
29
else if (!netfs_group && priv == NETFS_FOLIO_COPY_TO_CACHE)
fs/netfs/buffered_write.c
299
__netfs_set_group(folio, netfs_group);
fs/netfs/buffered_write.c
311
finfo->netfs_group = netfs_get_group(netfs_group);
fs/netfs/buffered_write.c
330
if (finfo->netfs_group)
fs/netfs/buffered_write.c
331
folio_change_private(folio, finfo->netfs_group);
fs/netfs/buffered_write.c
437
struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
452
return netfs_perform_write(iocb, from, netfs_group);
fs/netfs/buffered_write.c
505
vm_fault_t netfs_page_mkwrite(struct vm_fault *vmf, struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
507
struct netfs_group *group;
fs/netfs/buffered_write.c
534
if (group != netfs_group && group != NETFS_FOLIO_COPY_TO_CACHE) {
fs/netfs/buffered_write.c
556
netfs_set_group(folio, netfs_group);
fs/netfs/direct_write.c
220
struct netfs_group *netfs_group)
fs/netfs/internal.h
242
static inline struct netfs_group *netfs_get_group(struct netfs_group *netfs_group)
fs/netfs/internal.h
244
if (netfs_group && netfs_group != NETFS_FOLIO_COPY_TO_CACHE)
fs/netfs/internal.h
245
refcount_inc(&netfs_group->ref);
fs/netfs/internal.h
246
return netfs_group;
fs/netfs/internal.h
252
static inline void netfs_put_group(struct netfs_group *netfs_group)
fs/netfs/internal.h
254
if (netfs_group &&
fs/netfs/internal.h
255
netfs_group != NETFS_FOLIO_COPY_TO_CACHE &&
fs/netfs/internal.h
256
refcount_dec_and_test(&netfs_group->ref))
fs/netfs/internal.h
257
netfs_group->free(netfs_group);
fs/netfs/internal.h
263
static inline void netfs_put_group_many(struct netfs_group *netfs_group, int nr)
fs/netfs/internal.h
265
if (netfs_group &&
fs/netfs/internal.h
266
netfs_group != NETFS_FOLIO_COPY_TO_CACHE &&
fs/netfs/internal.h
267
refcount_sub_and_test(nr, &netfs_group->ref))
fs/netfs/internal.h
268
netfs_group->free(netfs_group);
fs/netfs/read_collect.c
61
if (finfo->netfs_group)
fs/netfs/read_collect.c
62
folio_change_private(folio, finfo->netfs_group);
fs/netfs/write_collect.c
62
struct netfs_group *group = NULL;
fs/netfs/write_collect.c
76
group = finfo->netfs_group;
fs/netfs/write_issue.c
326
struct netfs_group *fgroup; /* TODO: Use this with ceph */
fs/netfs/write_issue.c
51
struct netfs_group *group = NULL;
fs/netfs/write_issue.c
60
group = finfo->netfs_group;
include/linux/netfs.h
115
static inline struct netfs_group *netfs_folio_group(struct folio *folio)
include/linux/netfs.h
122
return finfo->netfs_group;
include/linux/netfs.h
237
struct netfs_group *group; /* Writeback group being written back */
include/linux/netfs.h
398
struct netfs_group *netfs_group);
include/linux/netfs.h
400
struct netfs_group *netfs_group);
include/linux/netfs.h
403
struct netfs_group *netfs_group);
include/linux/netfs.h
429
vm_fault_t netfs_page_mkwrite(struct vm_fault *vmf, struct netfs_group *netfs_group);
include/linux/netfs.h
83
void (*free)(struct netfs_group *netfs_group);
include/linux/netfs.h
91
struct netfs_group *netfs_group; /* Filesystem's grouping marker (or NULL). */
include/linux/netfs.h
96
#define NETFS_FOLIO_COPY_TO_CACHE ((struct netfs_group *)0x356UL) /* Write to the cache only */