Searched refs:watches (Results 1 - 8 of 8) sorted by relevance

/linux-master/arch/mips/kernel/
H A Dwatch.c20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; local
28 write_c0_watchlo3(watches->watchlo[3]);
29 write_c0_watchhi3(watchhi | watches->watchhi[3]);
32 write_c0_watchlo2(watches->watchlo[2]);
33 write_c0_watchhi2(watchhi | watches->watchhi[2]);
36 write_c0_watchlo1(watches->watchlo[1]);
37 write_c0_watchhi1(watchhi | watches->watchhi[1]);
40 write_c0_watchlo0(watches->watchlo[0]);
41 write_c0_watchhi0(watchhi | watches->watchhi[0]);
52 struct mips3264_watch_reg_state *watches local
[all...]
/linux-master/tools/counter/
H A Dcounter_watch_events.c199 struct counter_watch *watches; local
237 watches = calloc(nwatch, sizeof(*watches));
238 if (!watches) {
239 perror("Error allocating watches\n");
244 watches = simple_watch;
262 watches[i].component.scope = ret;
272 watches[i].component.type = ret;
283 watches[i].event = ret;
291 watches[
[all...]
H A Dcounter_example.c19 static struct counter_watch watches[2] = { variable in typeref:struct:counter_watch
56 ret = ioctl(fd, COUNTER_ADD_WATCH_IOCTL, watches + i);
58 fprintf(stderr, "Error adding watches[%d]: %s\n", i,
/linux-master/kernel/
H A Daudit_watch.c42 struct list_head wlist; /* entry in parent->watches list */
47 struct list_head watches; /* anchor for audit_watch->wlist */ member in struct:audit_parent
60 WARN_ON(!list_empty(&parent->watches));
146 INIT_LIST_HEAD(&parent->watches);
254 /* Run all of the watches on this parent looking for the one that
256 list_for_each_entry_safe(owatch, nextw, &parent->watches, wlist) {
316 list_add(&nwatch->wlist, &parent->watches);
321 /* Remove all watches & rules associated with a parent that is going away. */
329 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) {
347 /* Get path information necessary for adding watches
[all...]
H A Dwatch_queue.c476 hlist_add_head(&watch->queue_node, &wqueue->watches);
514 * remove_watch_from_object - Remove a watch or all watches from an object.
520 * Remove a specific watch or all watches from an object. A notification is
590 * Remove all the watches that are contributory to a queue. This has the
591 * potential to race with removal of the watches by the destruction of the
609 while (!hlist_empty(&wqueue->watches)) {
610 watch = hlist_entry(wqueue->watches.first, struct watch, queue_node);
696 INIT_HLIST_HEAD(&wqueue->watches);
/linux-master/include/linux/
H A Dwatch_queue.h42 struct hlist_head watches; /* Contributory watches */ member in struct:watch_queue
60 struct hlist_node queue_node; /* Link in queue->watches */
70 * List of watches on an object.
/linux-master/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c92 * the "transactions" and "watches" lists, and the partial
104 /* Active watches. */
105 struct list_head watches; member in struct:xenbus_file_priv
326 list_for_each_entry_safe(watch, tmp_watch, &u->watches, list) {
530 list_add(&watch->list, &u->watches);
532 list_for_each_entry(watch, &u->watches, list) {
665 INIT_LIST_HEAD(&u->watches);
H A Dxenbus_xs.c59 * New watch events happening in this time can be ignored by firing all watches
77 /* List of registered watches, and a lock to protect it. */
78 static LIST_HEAD(watches);
690 list_for_each_entry(i, &watches, list)
778 list_add(&watch->list, &watches);
859 list_for_each_entry(watch, &watches, list) {
952 /* shutdown watches for kexec boot */

Completed in 138 milliseconds