Lines Matching defs:bufdomain

119 struct bufdomain {
184 static int buf_flush(struct vnode *vp, struct bufdomain *, int);
185 static int flushbufqueues(struct vnode *, struct bufdomain *, int, int);
194 static inline struct bufdomain *bufdomain(struct buf *);
197 static int buf_recycle(struct bufdomain *, bool kva);
200 static void bd_init(struct bufdomain *bd);
201 static int bd_flushall(struct bufdomain *bd);
220 __offsetof(struct bufdomain, bd_maxbufspace), sysctl_bufdomain_long, "L",
231 __offsetof(struct bufdomain, bd_lobufspace), sysctl_bufdomain_long, "L",
236 __offsetof(struct bufdomain, bd_hibufspace), sysctl_bufdomain_long, "L",
241 __offsetof(struct bufdomain, bd_bufspacethresh), sysctl_bufdomain_long, "L",
276 __offsetof(struct bufdomain, bd_lodirtybuffers), sysctl_bufdomain_int, "I",
281 __offsetof(struct bufdomain, bd_hidirtybuffers), sysctl_bufdomain_int, "I",
286 __offsetof(struct bufdomain, bd_dirtybufthresh), sysctl_bufdomain_int, "I",
294 __offsetof(struct bufdomain, bd_lofreebuffers), sysctl_bufdomain_int, "I",
299 __offsetof(struct bufdomain, bd_hifreebuffers), sysctl_bufdomain_int, "I",
400 struct bufdomain __exclusive_cache_line bdomain[BUF_DOMAINS];
543 bd_clear(struct bufdomain *bd)
561 bd_set(struct bufdomain *bd)
581 struct bufdomain *bd;
584 bd = bufdomain(bp);
601 struct bufdomain *bd;
608 bd = bufdomain(bp);
622 bufspace_daemon_wakeup(struct bufdomain *bd)
645 struct bufdomain *bd;
651 bd = bufdomain(bp);
672 bufspace_reserve(struct bufdomain *bd, int size, bool metadata)
701 bufspace_release(struct bufdomain *bd, int size)
715 bufspace_wait(struct bufdomain *bd, struct vnode *vp, int gbflags,
769 struct bufdomain *bd = arg;
795 struct bufdomain *bd = arg;
1319 struct bufdomain *bd;
1532 static inline struct bufdomain *
1533 bufdomain(struct buf *bp)
1551 return (&bufdomain(bp)->bd_dirtyq);
1553 return (&bufdomain(bp)->bd_subq[bp->b_subqueue]);
1595 struct bufdomain *bd;
1616 bd = bufdomain(bp);
1651 atomic_add_int(&bufdomain(bp)->bd_freebuffers, 1);
1715 buf_alloc(struct bufdomain *bd)
1790 buf_recycle(struct bufdomain *bd, bool kva)
1926 bd_init(struct bufdomain *bd)
1972 bd_flush(struct bufdomain *bd, struct bufqueue *bq)
1997 bd_flushall(struct bufdomain *bd)
2022 struct bufdomain *bd;
2027 bd = bufdomain(bp);
2398 struct bufdomain *bd;
3351 struct bufdomain *bd;
3415 buf_flush(struct vnode *vp, struct bufdomain *bd, int target)
3454 struct bufdomain *bd;
3567 flushbufqueues(struct vnode *lvp, struct bufdomain *bd, int target,
3906 bufspace_wait(bufdomain(bp), bp->b_vp, gbflags, 0, 0);
4253 bufspace_release(bufdomain(bp), maxsize);
4279 bufspace_release(bufdomain(bp), maxsize);
4308 bufspace_release(bufdomain(bp), maxsize);
5532 struct bufdomain *bd;