Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/
Daudit_watch.c111 void audit_get_watch(struct audit_watch *watch) in audit_get_watch() argument
113 atomic_inc(&watch->count); in audit_get_watch()
116 void audit_put_watch(struct audit_watch *watch) in audit_put_watch() argument
118 if (atomic_dec_and_test(&watch->count)) { in audit_put_watch()
119 WARN_ON(watch->parent); in audit_put_watch()
120 WARN_ON(!list_empty(&watch->rules)); in audit_put_watch()
121 kfree(watch->path); in audit_put_watch()
122 kfree(watch); in audit_put_watch()
126 static void audit_remove_watch(struct audit_watch *watch) in audit_remove_watch() argument
128 list_del(&watch->wlist); in audit_remove_watch()
[all …]
Dauditfilter.c98 if (erule->watch) in audit_free_rule()
99 audit_put_watch(erule->watch); in audit_free_rule()
166 krule->inode_f || krule->watch || krule->tree || in audit_to_inode()
634 audit_watch_path(krule->watch)); in audit_krule_to_data()
698 if (strcmp(audit_watch_path(a->watch), in audit_compare_rule()
699 audit_watch_path(b->watch))) in audit_compare_rule()
852 if (old->watch) { in audit_dupe_rule()
853 audit_get_watch(old->watch); in audit_dupe_rule()
854 new->watch = old->watch; in audit_dupe_rule()
872 } else if (entry->rule.watch) { in audit_find_rule()
[all …]
Daudit.h267 extern void audit_put_watch(struct audit_watch *watch);
268 extern void audit_get_watch(struct audit_watch *watch);
272 extern char *audit_watch_path(struct audit_watch *watch);
273 extern int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev);
Daudit_tree.c639 rule->inode_f || rule->watch || rule->tree) in audit_make_tree()
Dauditsc.c598 result = audit_watch_compare(rule->watch, name->ino, name->dev); in audit_filter_rules()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_dev_frontend.c222 struct xenbus_watch watch; member
227 static void free_watch_adapter(struct watch_adapter *watch) in free_watch_adapter() argument
229 kfree(watch->watch.node); in free_watch_adapter()
230 kfree(watch->token); in free_watch_adapter()
231 kfree(watch); in free_watch_adapter()
237 struct watch_adapter *watch; in alloc_watch_adapter() local
239 watch = kzalloc(sizeof(*watch), GFP_KERNEL); in alloc_watch_adapter()
240 if (watch == NULL) in alloc_watch_adapter()
243 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter()
244 if (watch->watch.node == NULL) in alloc_watch_adapter()
[all …]
Dxenbus_xs.c71 } watch; member
699 int register_xenbus_watch(struct xenbus_watch *watch) in register_xenbus_watch() argument
702 char token[sizeof(watch) * 2 + 1]; in register_xenbus_watch()
705 sprintf(token, "%lX", (long)watch); in register_xenbus_watch()
711 list_add(&watch->list, &watches); in register_xenbus_watch()
714 err = xs_watch(watch->node, token); in register_xenbus_watch()
718 list_del(&watch->list); in register_xenbus_watch()
728 void unregister_xenbus_watch(struct xenbus_watch *watch) in unregister_xenbus_watch() argument
731 char token[sizeof(watch) * 2 + 1]; in unregister_xenbus_watch()
734 sprintf(token, "%lX", (long)watch); in unregister_xenbus_watch()
[all …]
Dxenbus_probe.h45 void (*otherend_changed)(struct xenbus_watch *watch, const char **vec,
79 extern void xenbus_otherend_changed(struct xenbus_watch *watch,
Dxenbus_client.c116 struct xenbus_watch *watch, in xenbus_watch_path() argument
122 watch->node = path; in xenbus_watch_path()
123 watch->callback = callback; in xenbus_watch_path()
125 err = register_xenbus_watch(watch); in xenbus_watch_path()
128 watch->node = NULL; in xenbus_watch_path()
129 watch->callback = NULL; in xenbus_watch_path()
154 struct xenbus_watch *watch, in xenbus_watch_pathfmt() argument
171 err = xenbus_watch_path(dev, path, watch, callback); in xenbus_watch_pathfmt()
Dxenbus_probe_backend.c184 static void frontend_changed(struct xenbus_watch *watch, in frontend_changed() argument
187 xenbus_otherend_changed(watch, vec, len, 0); in frontend_changed()
207 static void backend_changed(struct xenbus_watch *watch, in backend_changed() argument
Dxenbus_probe_frontend.c90 static void backend_changed(struct xenbus_watch *watch, in backend_changed() argument
93 xenbus_otherend_changed(watch, vec, len, 1); in backend_changed()
163 static void frontend_changed(struct xenbus_watch *watch, in frontend_changed() argument
Dxenbus_probe.c172 void xenbus_otherend_changed(struct xenbus_watch *watch, in xenbus_otherend_changed() argument
177 container_of(watch, struct xenbus_device, otherend_watch); in xenbus_otherend_changed()
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
Darbiter.c537 struct crisv32_watch_entry *watch; in crisv32_foo_arbiter_irq() local
543 watch = &watches[arbiter][0]; in crisv32_foo_arbiter_irq()
545 watch = &watches[arbiter][1]; in crisv32_foo_arbiter_irq()
547 watch = &watches[arbiter][2]; in crisv32_foo_arbiter_irq()
549 watch = &watches[arbiter][3]; in crisv32_foo_arbiter_irq()
554 r_clients = REG_RD(marb_foo_bp, watch->instance, r_brk_clients); in crisv32_foo_arbiter_irq()
555 r_addr = REG_RD(marb_foo_bp, watch->instance, r_brk_addr); in crisv32_foo_arbiter_irq()
556 r_op = REG_RD(marb_foo_bp, watch->instance, r_brk_op); in crisv32_foo_arbiter_irq()
557 r_first = REG_RD(marb_foo_bp, watch->instance, r_brk_first_client); in crisv32_foo_arbiter_irq()
558 r_size = REG_RD(marb_foo_bp, watch->instance, r_brk_size); in crisv32_foo_arbiter_irq()
[all …]
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
Darbiter.c362 struct crisv32_watch_entry *watch; in crisv32_arbiter_irq() local
365 watch = &watches[0]; in crisv32_arbiter_irq()
368 watch = &watches[1]; in crisv32_arbiter_irq()
371 watch = &watches[2]; in crisv32_arbiter_irq()
374 watch = &watches[3]; in crisv32_arbiter_irq()
381 r_clients = REG_RD(marb_bp, watch->instance, r_brk_clients); in crisv32_arbiter_irq()
382 r_addr = REG_RD(marb_bp, watch->instance, r_brk_addr); in crisv32_arbiter_irq()
383 r_op = REG_RD(marb_bp, watch->instance, r_brk_op); in crisv32_arbiter_irq()
384 r_first = REG_RD(marb_bp, watch->instance, r_brk_first_client); in crisv32_arbiter_irq()
385 r_size = REG_RD(marb_bp, watch->instance, r_brk_size); in crisv32_arbiter_irq()
[all …]
/linux-4.4.14/include/xen/
Dxenbus.h168 int register_xenbus_watch(struct xenbus_watch *watch);
169 void unregister_xenbus_watch(struct xenbus_watch *watch);
196 struct xenbus_watch *watch,
200 int xenbus_watch_pathfmt(struct xenbus_device *dev, struct xenbus_watch *watch,
/linux-4.4.14/Documentation/filesystems/
Dinotify.txt12 Q: What is the design decision behind not tying the watch to the open fd of
22 an fd-per-watch?
24 A: An fd-per-watch quickly consumes more file descriptors than are allowed,
28 A watch consumes less memory than an open file, separating the number
38 fd returns all watch events and also any potential out-of-band data. If
39 every fd was a separate watch,
Dporting133 watch for ->i_mutex-grabbing code that might be used by your ->setattr().
Dproc.txt1775 where 'wd' is a watch descriptor in decimal form, ie a target file
/linux-4.4.14/arch/mips/kernel/
Dwatch.c20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers()
49 &current->thread.watch.mips3264; in mips_read_watch_registers()
Dgenex.S442 BUILD_HANDLER watch watch cli silent /* #23 */
444 BUILD_HANDLER watch watch sti verbose /* #23 */
Dptrace.c222 __put_user(child->thread.watch.mips3264.watchlo[i], in ptrace_get_watch_regs()
224 __put_user(child->thread.watch.mips3264.watchhi[i] & 0xfff, in ptrace_get_watch_regs()
273 child->thread.watch.mips3264.watchlo[i] = lt[i]; in ptrace_set_watch_regs()
275 child->thread.watch.mips3264.watchhi[i] = ht[i]; in ptrace_set_watch_regs()
DMakefile9 syscall.o time.o topology.o traps.o unaligned.o watch.o \
/linux-4.4.14/arch/mips/include/asm/
Dprocessor.h266 union mips_watch_reg_state watch; member
332 .watch = {{{0,},},}, \
/linux-4.4.14/drivers/xen/
Dmanage.c209 static void shutdown_handler(struct xenbus_watch *watch, in shutdown_handler() argument
267 static void sysrq_handler(struct xenbus_watch *watch, const char **vec, in sysrq_handler() argument
Dcpu_hotplug.c70 static void handle_vcpu_hotplug_event(struct xenbus_watch *watch, in handle_vcpu_hotplug_event() argument
Dxen-balloon.c55 static void watch_target(struct xenbus_watch *watch, in watch_target() argument
/linux-4.4.14/drivers/media/pci/pt1/
DKconfig9 an external software decoder to watch TV on your computer.
/linux-4.4.14/drivers/media/firewire/
DKconfig9 so you need an external software decoder to watch TV.
/linux-4.4.14/drivers/media/pci/pluto2/
DKconfig12 an external software decoder to watch TV on your computer.
/linux-4.4.14/drivers/media/usb/ttusb-budget/
DKconfig16 an external software decoder to watch TV.
/linux-4.4.14/drivers/media/pci/dm1105/
DKconfig19 an external software decoder to watch TV on your computer.
/linux-4.4.14/drivers/media/usb/ttusb-dec/
DKconfig12 an external software decoder to watch TV on your computer.
/linux-4.4.14/drivers/media/usb/tm6000/
DKconfig13 an external software decoder to watch TV on your computer.
/linux-4.4.14/Documentation/ABI/testing/
Ddebugfs-ec8 Knowing the EC GPE one can watch the amount of HW events related to
/linux-4.4.14/drivers/net/xen-netback/
Dxenbus.c664 static void xen_net_rate_changed(struct xenbus_watch *watch, in xen_net_rate_changed() argument
667 struct xenvif *vif = container_of(watch, struct xenvif, credit_watch); in xen_net_rate_changed()
729 static void hotplug_status_changed(struct xenbus_watch *watch, in hotplug_status_changed() argument
733 struct backend_info *be = container_of(watch, in hotplug_status_changed()
/linux-4.4.14/drivers/media/pci/bt8xx/
DKconfig43 an external software decoder to watch TV on your computer.
/linux-4.4.14/fs/isofs/
DKconfig9 just listen to audio CDs and watch its LEDs, say Y (and read
/linux-4.4.14/Documentation/dvb/
DREADME.dvb-usb109 2004-06-27 - able to watch and switching channels (pre-alpha)
178 problem, if you only want to watch TV (this does not apply for HDTV),
186 and watch another one.
Dfaq.txt12 2. How can I watch TV?
27 you can use to watch TV with any v4l application. xawtv is known
/linux-4.4.14/net/ceph/
Dosd_client.c604 op->watch.cookie = cookie; in osd_req_op_watch_init()
605 op->watch.ver = version; in osd_req_op_watch_init()
607 op->watch.flag = (u8)1; in osd_req_op_watch_init()
720 dst->watch.cookie = cpu_to_le64(src->watch.cookie); in osd_req_encode_op()
721 dst->watch.ver = cpu_to_le64(src->watch.ver); in osd_req_encode_op()
722 dst->watch.flag = src->watch.flag; in osd_req_encode_op()
/linux-4.4.14/drivers/xen/xen-pciback/
Dxenbus.c658 static void xen_pcibk_be_watch(struct xenbus_watch *watch, in xen_pcibk_be_watch() argument
662 container_of(watch, struct xen_pcibk_device, be_watch); in xen_pcibk_be_watch()
/linux-4.4.14/Documentation/sysctl/
Dfs.txt316 for event readiness. Each one of these monitored files constitutes a "watch".
319 Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes
322 low memory, divided for the "watch" cost in bytes.
/linux-4.4.14/net/irda/
DKconfig42 (watch, beacon) without the overhead of the IrDA protocol (no handshaking,
/linux-4.4.14/include/linux/ceph/
Dosd_client.h112 } watch; member
Drados.h455 } __attribute__ ((packed)) watch; member
/linux-4.4.14/drivers/block/xen-blkback/
Dxenbus.c587 static void backend_changed(struct xenbus_watch *watch, in backend_changed() argument
594 = container_of(watch, struct backend_info, backend_watch); in backend_changed()
/linux-4.4.14/Documentation/networking/
Dray_cs.txt131 linux. If you want to watch ftp xfers, or do similar things, you
Dbatman-adv.txt41 Note: After the module was loaded it will continuously watch for
Dbonding.txt152 run in a separate window to watch for bonding driver error messages.
/linux-4.4.14/Documentation/
Dgdb-kernel-debugging.txt84 o Load the module on the target and watch the symbols being loaded as well as
/linux-4.4.14/include/linux/
Daudit.h63 struct audit_watch *watch; /* associated watch */ member
/linux-4.4.14/Documentation/cgroups/
Dfreezer-subsystem.txt24 programs designed to watch for SIGSTOP and SIGCONT could be broken by
/linux-4.4.14/Documentation/usb/
Dgadget_multi.txt75 unless you are trying to develop your own gadget in which case watch
Dehci.txt118 usb-storage doing disk I/O; watch the request queues!)
DWUSB-Design-overview.txt63 negotiated w/ regulators, so watch for changes). That band is divided in
/linux-4.4.14/Documentation/input/
Diforce-protocol.txt242 3. Play the effect, and watch what happens on the spy screen.
/linux-4.4.14/arch/arm/kernel/
Dentry-armv.S581 * co-processor instructions. However, we have to watch out
/linux-4.4.14/drivers/block/
Drbd.c3160 bool watch) in rbd_obj_watch_request_helper() argument
3180 rbd_dev->watch_event->cookie, 0, watch); in rbd_obj_watch_request_helper()
3183 if (watch) in rbd_obj_watch_request_helper()
3196 if (watch) in rbd_obj_watch_request_helper()
/linux-4.4.14/Documentation/development-process/
D5.Posting283 subsystem maintainers who watch over specific parts of the kernel. Usually
/linux-4.4.14/Documentation/s390/
DDebugging390.txt1677 watch: This will set a watchpoint ( usually hardware assisted ),
1678 This will watch a variable till it changes
1680 watch cnt, will watch the variable cnt till it changes.
/linux-4.4.14/Documentation/PCI/
Dpci.txt629 Another case to watch out for is when resetting a PCI device. Use PCI
/linux-4.4.14/arch/mips/
DKconfig1986 # Set to y for ptrace access to watch registers.