fuse_device.c (fdafd315ad0d0f28a11b9fb4476a9ab059c62b92) | fuse_device.c (ef9ffb8594eee294334ced627755bf5b46b48f9f) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 2007-2009 Google Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 106 unchanged lines hidden (view full) --- 115 .d_write = fuse_device_write, 116 .d_version = D_VERSION, 117}; 118 119static int fuse_device_filt_read(struct knote *kn, long hint); 120static int fuse_device_filt_write(struct knote *kn, long hint); 121static void fuse_device_filt_detach(struct knote *kn); 122 | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 2007-2009 Google Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 106 unchanged lines hidden (view full) --- 115 .d_write = fuse_device_write, 116 .d_version = D_VERSION, 117}; 118 119static int fuse_device_filt_read(struct knote *kn, long hint); 120static int fuse_device_filt_write(struct knote *kn, long hint); 121static void fuse_device_filt_detach(struct knote *kn); 122 |
123struct filterops fuse_device_rfiltops = { | 123static const struct filterops fuse_device_rfiltops = { |
124 .f_isfd = 1, 125 .f_detach = fuse_device_filt_detach, 126 .f_event = fuse_device_filt_read, 127}; 128 | 124 .f_isfd = 1, 125 .f_detach = fuse_device_filt_detach, 126 .f_event = fuse_device_filt_read, 127}; 128 |
129struct filterops fuse_device_wfiltops = { | 129static const struct filterops fuse_device_wfiltops = { |
130 .f_isfd = 1, 131 .f_event = fuse_device_filt_write, 132}; 133 134/**************************** 135 * 136 * >>> Fuse device op defs 137 * --- 472 unchanged lines hidden --- | 130 .f_isfd = 1, 131 .f_event = fuse_device_filt_write, 132}; 133 134/**************************** 135 * 136 * >>> Fuse device op defs 137 * --- 472 unchanged lines hidden --- |