/fs/notify/inotify/ |
D | inotify_user.c | 97 struct inotify_event event; /* the user-space event */ member 197 memset(&kevent->event, 0, sizeof(struct inotify_event)); in kernel_event() 199 kevent->event.wd = wd; in kernel_event() 200 kevent->event.mask = mask; in kernel_event() 201 kevent->event.cookie = cookie; in kernel_event() 231 kevent->event.len = len + rem; in kernel_event() 233 kevent->event.len = 0; in kernel_event() 291 if (last && last->event.mask == mask && last->event.wd == wd && in inotify_dev_queue_event() 292 last->event.cookie == cookie) { in inotify_dev_queue_event() 316 dev->queue_size += sizeof(struct inotify_event) + kevent->event.len; in inotify_dev_queue_event() [all …]
|
/fs/ |
D | eventpoll.c | 167 struct epoll_event event; member 653 if (!(epi->event.events & ~EP_PRIVATE_BITS)) in ep_poll_callback() 741 static int ep_insert(struct eventpoll *ep, struct epoll_event *event, in ep_insert() argument 761 epi->event = *event; in ep_insert() 802 if ((revents & event->events) && !ep_is_linked(&epi->rdllink)) { in ep_insert() 848 static int ep_modify(struct eventpoll *ep, struct epitem *epi, struct epoll_event *event) in ep_modify() argument 860 epi->event.events = event->events; in ep_modify() 871 epi->event.data = event->data; in ep_modify() 877 if (revents & event->events) { in ep_modify() 943 revents &= epi->event.events; in ep_send_events() [all …]
|
D | aio.c | 188 #define put_aio_ring_event(event, km) do { \ argument 189 struct io_event *__event = (event); \ 955 struct io_event *event; in aio_complete() local 998 event = aio_ring_event(info, tail, KM_IRQ0); in aio_complete() 1002 event->obj = (u64)(unsigned long)iocb->ki_obj.user; in aio_complete() 1003 event->data = iocb->ki_user_data; in aio_complete() 1004 event->res = res; in aio_complete() 1005 event->res2 = res2; in aio_complete() 1019 put_aio_ring_event(event, KM_IRQ0); in aio_complete() 1131 struct io_event __user *event, in read_events() argument [all …]
|
D | namespace.c | 41 static int event; variable 463 ns->event = ++event; in touch_mnt_namespace() 470 if (ns && ns->event != event) { in __touch_mnt_namespace() 471 ns->event = event; in __touch_mnt_namespace() 1106 event++; in do_umount() 1986 new_ns->event = 0; in dup_mnt_ns() 2293 ns->event = 0; in init_mount_tree()
|
/fs/xfs/ |
D | xfs_dmapi.h | 70 #define DM_EVENT_ENABLED(ip, event) ( \ argument 72 ( ((ip)->i_d.di_dmevmask & (1 << event)) || \ 73 ((ip)->i_mount->m_dmevmask & (1 << event)) ) \ 76 #define DM_EVENT_ENABLED(ip, event) (0) argument
|
/fs/notify/dnotify/ |
D | dnotify.c | 126 void __inode_dir_notify(struct inode *inode, unsigned long event) in __inode_dir_notify() argument 136 if ((dn->dn_mask & event) == 0) { in __inode_dir_notify() 164 void dnotify_parent(struct dentry *dentry, unsigned long event) in dnotify_parent() argument 173 if (parent->d_inode->i_dnotify_mask & event) { in dnotify_parent() 176 __inode_dir_notify(parent->d_inode, event); in dnotify_parent()
|
/fs/ocfs2/cluster/ |
D | heartbeat.c | 459 struct o2hb_node_event *event; in o2hb_run_event_list() local 475 event = list_entry(o2hb_node_events.next, in o2hb_run_event_list() 478 list_del_init(&event->hn_item); in o2hb_run_event_list() 482 event->hn_event_type == O2HB_NODE_UP_CB ? "UP" : "DOWN", in o2hb_run_event_list() 483 event->hn_node_num); in o2hb_run_event_list() 485 hbcall = hbcall_from_type(event->hn_event_type); in o2hb_run_event_list() 492 o2hb_fire_callbacks(hbcall, event->hn_node, event->hn_node_num); in o2hb_run_event_list() 501 static void o2hb_queue_node_event(struct o2hb_node_event *event, in o2hb_queue_node_event() argument 508 event->hn_event_type = type; in o2hb_queue_node_event() 509 event->hn_node = node; in o2hb_queue_node_event() [all …]
|
/fs/sysfs/ |
D | file.c | 47 atomic_t event; member 59 int event; member 91 buffer->event = atomic_read(&attr_sd->s_attr.open->event); in fill_read_buffer() 297 atomic_set(&new_od->event, 1); in sysfs_get_open_dirent() 446 if (buffer->event != atomic_read(&od->event)) in sysfs_poll() 464 atomic_inc(&od->event); in sysfs_notify_dirent()
|
/fs/jfs/ |
D | jfs_txnmgr.c | 131 static inline void TXN_SLEEP_DROP_LOCK(wait_queue_head_t * event) in TXN_SLEEP_DROP_LOCK() argument 135 add_wait_queue(event, &wait); in TXN_SLEEP_DROP_LOCK() 140 remove_wait_queue(event, &wait); in TXN_SLEEP_DROP_LOCK() 143 #define TXN_SLEEP(event)\ argument 145 TXN_SLEEP_DROP_LOCK(event);\ 149 #define TXN_WAKEUP(event) wake_up_all(event) argument
|
D | jfs_logmgr.c | 134 #define LCACHE_WAKEUP(event) wake_up(event) argument
|
/fs/ocfs2/ |
D | localalloc.c | 1001 enum ocfs2_la_event event) in ocfs2_recalc_la_window() argument 1015 if (event == OCFS2_LA_EVENT_ENOSPC || in ocfs2_recalc_la_window() 1016 event == OCFS2_LA_EVENT_FRAGMENTED) { in ocfs2_recalc_la_window()
|
/fs/proc/ |
D | base.c | 649 p->event = ns->event; in mounts_open_common() 680 if (p->event != ns->event) { in mounts_poll() 681 p->event = ns->event; in mounts_poll()
|
/fs/ext4/ |
D | extents.c | 2304 struct completion event; in ext4_ext_zeroout() local 2347 init_completion(&event); in ext4_ext_zeroout() 2348 bio->bi_private = &event; in ext4_ext_zeroout() 2351 wait_for_completion(&event); in ext4_ext_zeroout()
|
/fs/ocfs2/dlm/ |
D | dlmcommon.h | 121 wait_queue_head_t event; member
|
D | dlmrecovery.c | 427 wait_event(dlm->reco.event, !dlm_in_recovery(dlm)); in dlm_wait_for_recovery() 444 wake_up(&dlm->reco.event); in dlm_end_recovery()
|
D | dlmdomain.c | 1579 init_waitqueue_head(&dlm->reco.event); in dlm_alloc_ctxt()
|
/fs/reiserfs/ |
D | inode.c | 1810 inode->i_generation = ++event; in reiserfs_new_inode()
|