Home
last modified time | relevance | path

Searched refs:watch (Results 1 – 2 of 2) sorted by relevance

/security/keys/
Dinternal.h193 .watch.type = WATCH_TYPE_KEY_NOTIFY, in notify_key()
194 .watch.subtype = subtype, in notify_key()
195 .watch.info = watch_sizeof(n), in notify_key()
200 post_watch_notification(key->watchers, &n.watch, current_cred(), in notify_key()
Dkeyctl.c1777 struct watch *watch = NULL; in keyctl_watch_key() local
1805 watch = kzalloc(sizeof(*watch), GFP_KERNEL); in keyctl_watch_key()
1806 if (!watch) in keyctl_watch_key()
1809 init_watch(watch, wqueue); in keyctl_watch_key()
1810 watch->id = key->serial; in keyctl_watch_key()
1811 watch->info_id = (u32)watch_id << WATCH_INFO_ID__SHIFT; in keyctl_watch_key()
1823 ret = add_watch_to_object(watch, key->watchers); in keyctl_watch_key()
1827 watch = NULL; in keyctl_watch_key()
1840 kfree(watch); in keyctl_watch_key()