Home
last modified time | relevance | path

Searched refs:enumerated_ref (Results 1 – 6 of 6) sorted by relevance

/fs/bcachefs/
A Denumerated_ref.h14 void enumerated_ref_get(struct enumerated_ref *, unsigned);
15 bool __enumerated_ref_tryget(struct enumerated_ref *, unsigned);
16 bool enumerated_ref_tryget(struct enumerated_ref *, unsigned);
17 void enumerated_ref_put(struct enumerated_ref *, unsigned);
41 static inline bool enumerated_ref_is_zero(struct enumerated_ref *ref) in enumerated_ref_is_zero()
53 void enumerated_ref_stop_async(struct enumerated_ref *);
55 void enumerated_ref_start(struct enumerated_ref *);
57 void enumerated_ref_exit(struct enumerated_ref *);
58 int enumerated_ref_init(struct enumerated_ref *, unsigned,
59 void (*stop_fn)(struct enumerated_ref *));
[all …]
A Denumerated_ref.c10 void enumerated_ref_get(struct enumerated_ref *ref, unsigned idx) in enumerated_ref_get()
22 bool enumerated_ref_tryget(struct enumerated_ref *ref, unsigned idx) in enumerated_ref_tryget()
29 void enumerated_ref_put(struct enumerated_ref *ref, unsigned idx) in enumerated_ref_put()
51 struct enumerated_ref *ref = in enumerated_ref_kill_cb()
52 container_of(percpu_ref, struct enumerated_ref, ref); in enumerated_ref_kill_cb()
60 void enumerated_ref_stop_async(struct enumerated_ref *ref) in enumerated_ref_stop_async()
73 void enumerated_ref_stop(struct enumerated_ref *ref, in enumerated_ref_stop()
88 void enumerated_ref_start(struct enumerated_ref *ref) in enumerated_ref_start()
101 void enumerated_ref_exit(struct enumerated_ref *ref) in enumerated_ref_exit()
113 void (*stop_fn)(struct enumerated_ref *)) in enumerated_ref_init() argument
[all …]
A Denumerated_ref_types.h7 struct enumerated_ref { struct
15 void (*stop_fn)(struct enumerated_ref *); argument
A DMakefile38 enumerated_ref.o \
A Dbcachefs.h604 struct enumerated_ref io_ref[2];
805 struct enumerated_ref writes;
A Dsuper.c321 static void bch2_writes_disabled(struct enumerated_ref *writes) in bch2_writes_disabled()

Completed in 14 milliseconds