Home
last modified time | relevance | path

Searched full:daemon (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux/tools/perf/
H A Dbuiltin-daemon.c85 struct daemon { struct
99 static struct daemon __daemon = { argument
104 "perf daemon {start|signal|stop|ping} [<options>]",
105 "perf daemon [<options>]",
116 static struct daemon_session *daemon__add_session(struct daemon *config, char *name) in daemon__add_session()
134 static struct daemon_session *daemon__find_session(struct daemon *daemon, char *name) in daemon__find_session() argument
138 list_for_each_entry(session, &daemon->sessions, list) { in daemon__find_session()
157 static int session_config(struct daemon *daemon, const char *var, const char *value) in session_config() argument
171 session = daemon__find_session(daemon, name); in session_config()
175 session = daemon__add_session(daemon, name); in session_config()
[all …]
/linux/fs/ecryptfs/
H A Dmiscdev.c31 struct ecryptfs_daemon *daemon = file->private_data; in ecryptfs_miscdev_poll() local
34 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll()
35 if (daemon->flags & ECRYPTFS_DAEMON_ZOMBIE) { in ecryptfs_miscdev_poll()
37 "daemon\n", __func__); in ecryptfs_miscdev_poll()
40 if (daemon->flags & ECRYPTFS_DAEMON_IN_READ) in ecryptfs_miscdev_poll()
42 if (daemon->flags & ECRYPTFS_DAEMON_IN_POLL) in ecryptfs_miscdev_poll()
44 daemon->flags |= ECRYPTFS_DAEMON_IN_POLL; in ecryptfs_miscdev_poll()
45 mutex_unlock(&daemon->mux); in ecryptfs_miscdev_poll()
46 poll_wait(file, &daemon->wait, pt); in ecryptfs_miscdev_poll()
47 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll()
[all …]
H A Dmessaging.c94 * @daemon: If return value is zero, points to the desired daemon pointer
102 int ecryptfs_find_daemon_by_euid(struct ecryptfs_daemon **daemon) in ecryptfs_find_daemon_by_euid() argument
106 hlist_for_each_entry(*daemon, in ecryptfs_find_daemon_by_euid()
109 if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) { in ecryptfs_find_daemon_by_euid()
120 * ecryptfs_spawn_daemon - Create and initialize a new daemon struct
121 * @daemon: Pointer to set to newly allocated daemon struct
130 ecryptfs_spawn_daemon(struct ecryptfs_daemon **daemon, struct file *file) in ecryptfs_spawn_daemon() argument
134 (*daemon) = kzalloc(sizeof(**daemon), GFP_KERNEL); in ecryptfs_spawn_daemon()
135 if (!(*daemon)) { in ecryptfs_spawn_daemon()
139 (*daemon)->file = file; in ecryptfs_spawn_daemon()
[all …]
/linux/tools/perf/Documentation/
H A Dperf-daemon.txt1 perf-daemon(1)
7 perf-daemon - Run record sessions on background
13 'perf daemon'
14 'perf daemon' [<options>]
15 'perf daemon start' [<options>]
16 'perf daemon stop' [<options>]
17 'perf daemon signal' [<options>]
18 'perf daemon ping' [<options>]
23 This command allows to run simple daemon process that starts and
26 You can imagine 'perf daemon' of background process with several
[all …]
/linux/tools/perf/tests/shell/
H A Ddaemon.sh2 # daemon operations
118 line=`perf daemon --config ${config} -x: | head -1`
125 # stop daemon
126 perf daemon stop --config ${config}
137 perf daemon start --config ${config}
139 # Clean up daemon if interrupted.
146 state=`perf daemon ping --config ${config} --session ${session} | awk '{ print $1 }'`
150 echo "FAILED: Timeout waiting for daemon to ping"
159 echo "test daemon list"
162 config=$(mktemp /tmp/perf.daemon.config.XXX)
[all …]
/linux/Documentation/filesystems/caching/
H A Dcachefiles.rst40 CacheFiles uses a userspace daemon to do some of the cache management - such as
50 to communication with the daemon. Only one thing may have this open at once,
51 and while it is open, a cache is at least partially in existence. The daemon
68 The use of CacheFiles and its daemon requires the following features to be
124 The cache is started by running the daemon. The daemon opens the cache device,
128 The daemon is run as follows::
153 mountpoints, but the daemon can't avoid them.
205 The userspace daemon scans the cache to build up a table of cullable objects.
222 to the graveyard from which the daemon will actually delete them.
224 The daemon uses dnotify to monitor the graveyard directory, and will delete
[all …]
/linux/include/uapi/linux/
H A Dhyperv.h50 Daemon code with full handshake support.
203 * implementing the host/guest protocol. 2) A user level daemon that is
227 * Guest Kernel/KVP Daemon Protocol: As noted earlier, we implement all of the
228 * data gathering functionality in a user mode daemon. The user level daemon
230 * kernel and user-level daemon communicate using a connector channel.
240 * Windows host and the user-level daemon. The kernel component passes up the
241 * index received from the Host to the user-level daemon. If the index is
265 * (between the user level daemon and the kernel KVP driver) that we
268 * An older daemon will always be supported on a newer driver.
269 * A given user level daemon will require a minimal version of the
[all …]
H A Dip_vs.h38 * IPVS sync daemon states
40 #define IP_VS_STATE_NONE 0x0000 /* daemon is stopped */
281 /* sync daemon state (master/backup) */
321 IPVS_CMD_NEW_DAEMON, /* start sync daemon */
322 IPVS_CMD_DEL_DAEMON, /* stop sync daemon */
323 IPVS_CMD_GET_DAEMON, /* get sync daemon status */
344 IPVS_CMD_ATTR_DAEMON, /* nested sync daemon attribute */
420 * Attributes describing a sync daemon
426 IPVS_DAEMON_ATTR_STATE, /* sync daemon state (master/backup) */
H A Datmmpc.h98 /* Message types - to MPOA daemon */
106 #define DIE 207 /* tell the daemon to exit() */
110 /* Message types - from MPOA daemon */
125 #define RELOAD 301 /* kill -HUP the daemon for reload */
/linux/drivers/hv/
H A Dhv_snapshot.c68 * This state maintains the version number registered by the daemon.
98 pr_warn("VSS: timeout waiting for daemon to reply\n"); in vss_timeout_func()
107 pr_debug("VSS: userspace daemon registered\n"); in vss_register_done()
116 /* Daemon doesn't expect us to reply */ in vss_handle_handshake()
120 /* Daemon expects us to reply with our own version */ in vss_handle_handshake()
129 pr_info("VSS: userspace daemon ver. %d connected\n", dm_reg_value); in vss_handle_handshake()
183 pr_debug("VSS: Unexpected attempt to send to daemon\n"); in vss_send_op()
201 pr_warn("VSS: failed to communicate to the daemon: %d\n", rc); in vss_send_op()
218 * We send the message to the user space daemon and the operation is in vss_handle_request()
219 * performed in the daemon. in vss_handle_request()
[all …]
H A Dhv_kvp.c86 * This state maintains the version number registered by the daemon.
106 * Register the kernel component with the user-level daemon.
125 pr_debug("KVP: userspace daemon registered\n"); in kvp_register_done()
172 pr_info("KVP: Upgrade the KVP daemon\n"); in kvp_handle_handshake()
178 pr_info("KVP: incompatible daemon\n"); in kvp_handle_handshake()
179 pr_info("KVP: KVP version: %d, Daemon version: %d\n", in kvp_handle_handshake()
185 * We have a compatible daemon; complete the handshake. in kvp_handle_handshake()
187 pr_debug("KVP: userspace daemon ver. %d connected\n", in kvp_handle_handshake()
210 * with the daemon; handle that first. in kvp_on_msg()
224 * Based on the version of the daemon, we propagate errors from the in kvp_on_msg()
[all …]
/linux/tools/usb/usbip/doc/
H A Dusbipd.83 usbipd \- USB/IP server daemon
16 The daemon accepts connections from USB/IP clients
39 \fB\-D\fR, \fB\-\-daemon\fR
41 Run as a daemon process.
85 - Start usbip daemon.
102 - Start usbip daemon in device mode.
/linux/fs/smb/server/
H A Dksmbd_netlink.h15 * daemon using netlink. This is added to track and cache user account DB
19 * This event is to check whether user IPC daemon is alive. If user IPC
20 * daemon is dead, ksmbd keep existing connection till disconnecting and
25 * server from the user IPC daemon and to start the server. The global
33 * This event is to get user account info to user IPC daemon.
42 * This event is to send tree disconnect info to user IPC daemon.
45 * This event is to send logout request to user IPC daemon.
56 * This event is to get user account extension info to user IPC daemon.
67 * IPC heartbeat frame to check whether user IPC daemon is alive.
249 * IPC user daemon.
[all …]
/linux/Documentation/filesystems/
H A Dnilfs2.rst109 nilfs_cleanerd daemon.
113 nilfs_cleanerd daemon.
118 daemon.
122 nilfs_cleanerd daemon to skip unnecessary
129 by nilfs_cleanerd daemon.
132 This ioctl is used by nilfs_cleanerd daemon.
136 nilfs_cleanerd daemon.
141 nilfs_cleanerd daemon.
185 Then, the cleaner daemon is automatically shut down by the umount
H A Dfuse.rst15 Filesystem daemon:
20 The filesystem daemon is running with the privileges of the mounting
25 A connection between the filesystem daemon and the kernel. The
26 connection exists until either the daemon dies, or the filesystem is
123 userspace or being processed by the filesystem daemon. If there is
193 - Kill the filesystem daemon. Works in case of a) and b)
195 - Kill the filesystem daemon and all users of the filesystem. Works
238 filesystem, the filesystem daemon serving requests can record the
322 | "rm /mnt/fuse/file" | FUSE filesystem daemon
370 | "rm /mnt/fuse/file" | FUSE filesystem daemon
/linux/tools/hv/
H A Dhv_fcopy_daemon.c
H A Dhv_get_dns_info.sh4 # In the interest of keeping the KVP daemon code free of distro specific
5 # information; the kvp daemon code invokes this external script to gather
/linux/Documentation/filesystems/smb/
H A Dksmbd.rst22 ksmbd (kernel daemon)
25 When the server daemon is started, It starts up a forker thread
49 ksmbd.mountd (user space daemon)
55 kernel. For the execution part it has a daemon which is continuously running
157 5. Start ksmbd user space daemon
166 1. kill user and kernel space daemon
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-kim12 daemon and opens the device when install is requested.
24 daemon when the ldisc install is requested.
46 daemon managing the UART, and is notified about the change
H A Dsysfs-devices-system-ibm-rtl12 Users: The ibm-prtm userspace daemon uses this interface.
22 Users: The ibm-prtm userspace daemon uses this interface.
/linux/arch/um/drivers/
H A Ddaemon_kern.c12 #include "daemon.h"
37 printk("daemon backend (uml_switch version %d) - %s:%s", in daemon_init()
81 .name = "daemon",
/linux/include/xen/interface/io/
H A Dxs_wire.h3 * Details of the "wire" protocol between Xen Store Daemon and client
75 uint32_t req_id;/* Request identifier, echoed in daemon's response. */
93 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
/linux/Documentation/admin-guide/mm/
H A Dksm.rst17 The KSM daemon ksmd periodically scans those areas of user memory
21 content). The amount of pages that KSM daemon scans in a single pass
53 KSM daemon is not currently running, MADV_MERGEABLE still registers
54 the range for whenever the KSM daemon is started; even if the range
73 KSM daemon sysfs interface
76 The KSM daemon is controlled by sysfs files in ``/sys/kernel/mm/ksm/``,
/linux/Documentation/watchdog/
H A Dwatchdog-api.rst23 Usually a userspace daemon will notify the kernel watchdog driver via the
44 some data to the device. So a very simple watchdog daemon would look
52 good idea, since if there is a bug in the watchdog daemon and it
57 started. So, if the watchdog daemon crashes, the system will reboot
67 /dev/watchdog just before closing the file. If the userspace daemon
69 will assume that the daemon (and userspace in general) died, and will
/linux/fs/autofs/
H A Droot.c91 * mount point. The daemon must have failed to mount this in autofs_dir_open()
301 * map entry. In this case the daemon will remove the browse in autofs_mountpoint_changed()
312 * (by the daemon) will be stale and the a new mount point in autofs_mountpoint_changed()
340 /* The daemon never triggers a mount. */ in autofs_d_automount()
356 /* Callback to the daemon to perform the mount or wait */ in autofs_d_automount()
369 * back to the daemon. in autofs_d_automount()
428 /* The daemon never waits. */ in autofs_d_manage()
520 * can return fail immediately. The daemon however does need in autofs_lookup()
823 * Tells the daemon whether it can umount the autofs mount.
851 * ioctl()'s on the root directory is the chief method for the daemon to
[all …]

1234567891011