kern_descrip.c (175140) | kern_descrip.c (175164) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)kern_descrip.c 8.6 (Berkeley) 4/19/94 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)kern_descrip.c 8.6 (Berkeley) 4/19/94 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/kern_descrip.c 175140 2008-01-07 20:05:19Z jhb $"); | 38__FBSDID("$FreeBSD: head/sys/kern/kern_descrip.c 175164 2008-01-08 21:58:16Z jhb $"); |
39 40#include "opt_compat.h" 41#include "opt_ddb.h" 42 43#include <sys/param.h> 44#include <sys/systm.h> 45 46#include <sys/conf.h> --- 2594 unchanged lines hidden (view full) --- 2641 case DTYPE_FIFO: 2642 return ("fifo"); 2643 case DTYPE_KQUEUE: 2644 return ("kque"); 2645 case DTYPE_CRYPTO: 2646 return ("crpt"); 2647 case DTYPE_MQUEUE: 2648 return ("mque"); | 39 40#include "opt_compat.h" 41#include "opt_ddb.h" 42 43#include <sys/param.h> 44#include <sys/systm.h> 45 46#include <sys/conf.h> --- 2594 unchanged lines hidden (view full) --- 2641 case DTYPE_FIFO: 2642 return ("fifo"); 2643 case DTYPE_KQUEUE: 2644 return ("kque"); 2645 case DTYPE_CRYPTO: 2646 return ("crpt"); 2647 case DTYPE_MQUEUE: 2648 return ("mque"); |
2649 case DTYPE_SHM: 2650 return ("shm"); |
|
2649 default: 2650 return ("unkn"); 2651 } 2652} 2653 2654/* 2655 * For the purposes of debugging, identify a process (if any, perhaps one of 2656 * many) that references the passed file in its file descriptor array. Return --- 210 unchanged lines hidden --- | 2651 default: 2652 return ("unkn"); 2653 } 2654} 2655 2656/* 2657 * For the purposes of debugging, identify a process (if any, perhaps one of 2658 * many) that references the passed file in its file descriptor array. Return --- 210 unchanged lines hidden --- |