Lines Matching refs:wfilter
314 struct watch_filter *wfilter; in watch_queue_set_filter() local
323 wfilter = NULL; in watch_queue_set_filter()
354 wfilter = kzalloc(struct_size(wfilter, filters, nr_filter), GFP_KERNEL); in watch_queue_set_filter()
355 if (!wfilter) in watch_queue_set_filter()
357 wfilter->nr_filters = nr_filter; in watch_queue_set_filter()
359 q = wfilter->filters; in watch_queue_set_filter()
368 __set_bit(q->type, wfilter->type_filter); in watch_queue_set_filter()
375 wfilter = rcu_replace_pointer(wqueue->filter, wfilter, in watch_queue_set_filter()
378 if (wfilter) in watch_queue_set_filter()
379 kfree_rcu(wfilter, rcu); in watch_queue_set_filter()
391 struct watch_filter *wfilter; in __put_watch_queue() local
399 wfilter = rcu_access_pointer(wqueue->filter); in __put_watch_queue()
400 if (wfilter) in __put_watch_queue()
401 kfree_rcu(wfilter, rcu); in __put_watch_queue()