Symbol: netfs_group
fs/netfs/buffered_read.c
400
struct netfs_group *group = netfs_folio_group(folio);
fs/netfs/buffered_write.c
136
struct netfs_group *group;
fs/netfs/buffered_write.c
200
if (unlikely(group != netfs_group) &&
fs/netfs/buffered_write.c
203
WARN_ON_ONCE(!netfs_group);
fs/netfs/buffered_write.c
318
finfo->netfs_group = netfs_get_group(netfs_group);
fs/netfs/buffered_write.c
365
if (likely(priv == netfs_group)) {
fs/netfs/buffered_write.c
368
if (!netfs_group)
fs/netfs/buffered_write.c
371
folio_change_private(folio, netfs_get_group(netfs_group));
fs/netfs/buffered_write.c
373
folio_attach_private(folio, netfs_get_group(netfs_group));
fs/netfs/buffered_write.c
376
if (netfs_group)
fs/netfs/buffered_write.c
378
folio_change_private(folio, netfs_group);
fs/netfs/buffered_write.c
469
struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
484
return netfs_perform_write(iocb, from, netfs_group);
fs/netfs/buffered_write.c
537
vm_fault_t netfs_page_mkwrite(struct vm_fault *vmf, struct netfs_group *netfs_group)
fs/netfs/buffered_write.c
539
struct netfs_group *group;
fs/netfs/buffered_write.c
568
group != netfs_group &&
fs/netfs/buffered_write.c
593
if (priv != netfs_group) {
fs/netfs/buffered_write.c
594
if (!netfs_group && priv == NETFS_FOLIO_COPY_TO_CACHE)
fs/netfs/buffered_write.c
596
else if (netfs_group && priv == NETFS_FOLIO_COPY_TO_CACHE)
fs/netfs/buffered_write.c
597
folio_change_private(folio, netfs_get_group(netfs_group));
fs/netfs/buffered_write.c
598
else if (netfs_group && !priv)
fs/netfs/buffered_write.c
599
folio_attach_private(folio, netfs_get_group(netfs_group));
fs/netfs/buffered_write.c
88
struct netfs_group *netfs_group)
fs/netfs/direct_write.c
216
struct netfs_group *netfs_group)
fs/netfs/internal.h
258
static inline struct netfs_group *netfs_get_group(struct netfs_group *netfs_group)
fs/netfs/internal.h
260
if (netfs_group && netfs_group != NETFS_FOLIO_COPY_TO_CACHE)
fs/netfs/internal.h
261
refcount_inc(&netfs_group->ref);
fs/netfs/internal.h
262
return netfs_group;
fs/netfs/internal.h
268
static inline void netfs_put_group(struct netfs_group *netfs_group)
fs/netfs/internal.h
270
if (netfs_group &&
fs/netfs/internal.h
271
netfs_group != NETFS_FOLIO_COPY_TO_CACHE &&
fs/netfs/internal.h
272
refcount_dec_and_test(&netfs_group->ref))
fs/netfs/internal.h
273
netfs_group->free(netfs_group);
fs/netfs/internal.h
279
static inline void netfs_put_group_many(struct netfs_group *netfs_group, int nr)
fs/netfs/internal.h
281
if (netfs_group &&
fs/netfs/internal.h
282
netfs_group != NETFS_FOLIO_COPY_TO_CACHE &&
fs/netfs/internal.h
283
refcount_sub_and_test(nr, &netfs_group->ref))
fs/netfs/internal.h
284
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
63
struct netfs_group *group = NULL;
fs/netfs/write_collect.c
79
group = finfo->netfs_group;
fs/netfs/write_issue.c
327
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
117
static inline struct netfs_group *netfs_folio_group(struct folio *folio)
include/linux/netfs.h
124
return finfo->netfs_group;
include/linux/netfs.h
239
struct netfs_group *group; /* Writeback group being written back */
include/linux/netfs.h
401
struct netfs_group *netfs_group);
include/linux/netfs.h
403
struct netfs_group *netfs_group);
include/linux/netfs.h
406
struct netfs_group *netfs_group);
include/linux/netfs.h
432
vm_fault_t netfs_page_mkwrite(struct vm_fault *vmf, struct netfs_group *netfs_group);
include/linux/netfs.h
85
void (*free)(struct netfs_group *netfs_group);
include/linux/netfs.h
93
struct netfs_group *netfs_group; /* Filesystem's grouping marker (or NULL). */
include/linux/netfs.h
98
#define NETFS_FOLIO_COPY_TO_CACHE ((struct netfs_group *)0x356UL) /* Write to the cache only */