Lines Matching refs:refscale_typesafe
569 struct refscale_typesafe {
578 static struct refscale_typesafe **rtsarray;
581 static bool (*rts_acquire)(struct refscale_typesafe *rtsp, unsigned int *start);
582 static bool (*rts_release)(struct refscale_typesafe *rtsp, unsigned int start);
585 static bool typesafe_ref_acquire(struct refscale_typesafe *rtsp, unsigned int *start)
591 static bool typesafe_ref_release(struct refscale_typesafe *rtsp, unsigned int start)
601 static bool typesafe_lock_acquire(struct refscale_typesafe *rtsp, unsigned int *start)
608 static bool typesafe_lock_release(struct refscale_typesafe *rtsp, unsigned int start)
615 static bool typesafe_seqlock_acquire(struct refscale_typesafe *rtsp, unsigned int *start)
623 static bool typesafe_seqlock_release(struct refscale_typesafe *rtsp, unsigned int start)
637 struct refscale_typesafe *rtsp;
680 // Allocate and initialize one refscale_typesafe structure.
681 static struct refscale_typesafe *typesafe_alloc_one(void)
683 struct refscale_typesafe *rtsp;
694 // Slab-allocator constructor for refscale_typesafe structures created
698 struct refscale_typesafe *rtsp = rtsp_in;
717 typesafe_kmem_cachep = kmem_cache_create("refscale_typesafe",
718 sizeof(struct refscale_typesafe), sizeof(void *),