uipc_mqueue.c (f28526e9466cd60ed33053e922238ba1c9040341) uipc_mqueue.c (b307cfe419ff886ad1bbe15419c5f5604657df7b)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2005 David Xu <davidxu@freebsd.org>
5 * Copyright (c) 2016-2017 Robert N. M. Watson
6 * All rights reserved.
7 *
8 * Portions of this software were developed by BAE Systems, the University of

--- 590 unchanged lines hidden (view full) ---

599 MNT_IUNLOCK(mp);
600 vfs_getnewfsid(mp);
601
602 sbp = &mp->mnt_stat;
603 vfs_mountedfrom(mp, "mqueue");
604 sbp->f_bsize = PAGE_SIZE;
605 sbp->f_iosize = PAGE_SIZE;
606 sbp->f_blocks = 1;
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2005 David Xu <davidxu@freebsd.org>
5 * Copyright (c) 2016-2017 Robert N. M. Watson
6 * All rights reserved.
7 *
8 * Portions of this software were developed by BAE Systems, the University of

--- 590 unchanged lines hidden (view full) ---

599 MNT_IUNLOCK(mp);
600 vfs_getnewfsid(mp);
601
602 sbp = &mp->mnt_stat;
603 vfs_mountedfrom(mp, "mqueue");
604 sbp->f_bsize = PAGE_SIZE;
605 sbp->f_iosize = PAGE_SIZE;
606 sbp->f_blocks = 1;
607 sbp->f_bfree = 0;
607 sbp->f_bfree = 1;
608 sbp->f_bavail = 0;
608 sbp->f_bavail = 0;
609 sbp->f_files = 1;
609 sbp->f_files = 0;
610 sbp->f_ffree = 0;
611 return (0);
612}
613
614/*
615 * Unmount a mqfs instance
616 */
617static int

--- 2321 unchanged lines hidden ---
610 sbp->f_ffree = 0;
611 return (0);
612}
613
614/*
615 * Unmount a mqfs instance
616 */
617static int

--- 2321 unchanged lines hidden ---