kvm_file.c (14523) | kvm_file.c (17141) |
---|---|
1/*- 2 * Copyright (c) 1989, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 57 unchanged lines hidden (view full) --- 66#include "kvm_private.h" 67 68#define KREAD(kd, addr, obj) \ 69 (kvm_read(kd, addr, obj, sizeof(*obj)) != sizeof(*obj)) 70 71/* 72 * Get file structures. 73 */ | 1/*- 2 * Copyright (c) 1989, 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 57 unchanged lines hidden (view full) --- 66#include "kvm_private.h" 67 68#define KREAD(kd, addr, obj) \ 69 (kvm_read(kd, addr, obj, sizeof(*obj)) != sizeof(*obj)) 70 71/* 72 * Get file structures. 73 */ |
74static | 74static int |
75kvm_deadfiles(kd, op, arg, filehead_o, nfiles) 76 kvm_t *kd; 77 int op, arg, nfiles; 78 long filehead_o; 79{ 80 int buflen = kd->arglen, n = 0; 81 struct file *fp; 82 register char *where = kd->argspc; --- 105 unchanged lines hidden --- | 75kvm_deadfiles(kd, op, arg, filehead_o, nfiles) 76 kvm_t *kd; 77 int op, arg, nfiles; 78 long filehead_o; 79{ 80 int buflen = kd->arglen, n = 0; 81 struct file *fp; 82 register char *where = kd->argspc; --- 105 unchanged lines hidden --- |