Searched refs:ref (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | percpu-refcount.c | 40 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr() argument 43 (ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC_DEAD); in percpu_count_ptr() 60 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() argument 67 ref->percpu_count_ptr = (unsigned long) in percpu_ref_init() 69 if (!ref->percpu_count_ptr) in percpu_ref_init() 72 ref->force_atomic = flags & PERCPU_REF_INIT_ATOMIC; in percpu_ref_init() 73 ref->allow_reinit = flags & PERCPU_REF_ALLOW_REINIT; in percpu_ref_init() 76 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in percpu_ref_init() 77 ref->allow_reinit = true; in percpu_ref_init() 83 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_init() [all …]
|
D | cpu_rmap.c | 66 static void cpu_rmap_release(struct kref *ref) in cpu_rmap_release() argument 68 struct cpu_rmap *rmap = container_of(ref, struct cpu_rmap, refcount); in cpu_rmap_release() 265 static void irq_cpu_rmap_release(struct kref *ref) in irq_cpu_rmap_release() argument 268 container_of(ref, struct irq_glue, notify.kref); in irq_cpu_rmap_release()
|
/lib/lz4/ |
D | lz4hc_compress.c | 359 const BYTE *ref = NULL; in LZ4HC_compress_generic() local 380 matchlimit, (&ref), maxNbAttempts); in LZ4HC_compress_generic() 388 ref0 = ref; in LZ4HC_compress_generic() 403 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic() 412 ref = ref0; in LZ4HC_compress_generic() 422 ref = ref2; in LZ4HC_compress_generic() 469 ml, ref, limit, oend)) in LZ4HC_compress_generic() 499 ml, ref, limit, oend)) in LZ4HC_compress_generic() 502 ref = ref3; in LZ4HC_compress_generic() 540 ref, limit, oend)) in LZ4HC_compress_generic() [all …]
|