Lines Matching refs:tf
311 struct watch_notification_type_filter *tf; in watch_queue_set_filter() local
335 tf = memdup_array_user(_filter->filters, filter.nr_filters, sizeof(*tf)); in watch_queue_set_filter()
336 if (IS_ERR(tf)) in watch_queue_set_filter()
337 return PTR_ERR(tf); in watch_queue_set_filter()
341 if ((tf[i].info_filter & ~tf[i].info_mask) || in watch_queue_set_filter()
342 tf[i].info_mask & WATCH_INFO_LENGTH) in watch_queue_set_filter()
345 if (tf[i].type >= WATCH_TYPE__NR) in watch_queue_set_filter()
361 if (tf[i].type >= WATCH_TYPE__NR) in watch_queue_set_filter()
364 q->type = tf[i].type; in watch_queue_set_filter()
365 q->info_filter = tf[i].info_filter; in watch_queue_set_filter()
366 q->info_mask = tf[i].info_mask; in watch_queue_set_filter()
367 q->subtype_filter[0] = tf[i].subtype_filter[0]; in watch_queue_set_filter()
372 kfree(tf); in watch_queue_set_filter()
383 kfree(tf); in watch_queue_set_filter()