Print this page
pbchk
cleanup port_free_event_local() semantics

*** 22,36 **** /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_PORT_KERNEL_H #define _SYS_PORT_KERNEL_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/vnode.h> #include <sys/list.h> #ifdef __cplusplus extern "C" { --- 22,38 ---- /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2020 Joyent, Inc. + */ + #ifndef _SYS_PORT_KERNEL_H #define _SYS_PORT_KERNEL_H #include <sys/vnode.h> #include <sys/list.h> #ifdef __cplusplus extern "C" {
*** 166,176 **** int port_dissociate_fd(struct port *, uintptr_t); int port_associate_fop(struct port *, int, uintptr_t, int, void *); int port_dissociate_fop(struct port *, uintptr_t); /* misc functions */ ! void port_free_event_local(port_kevent_t *, int counter); int port_alloc_event_local(struct port *, int, int, port_kevent_t **); void port_close_pfd(struct portfd *); #endif /* _KERNEL */ --- 168,178 ---- int port_dissociate_fd(struct port *, uintptr_t); int port_associate_fop(struct port *, int, uintptr_t, int, void *); int port_dissociate_fop(struct port *, uintptr_t); /* misc functions */ ! void port_free_event_local(port_kevent_t *, boolean_t); int port_alloc_event_local(struct port *, int, int, port_kevent_t **); void port_close_pfd(struct portfd *); #endif /* _KERNEL */