| /linux/tools/perf/ |
| H A D | builtin-daemon.c | 85 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, cons argument 218 struct daemon *daemon = cb; server_config() local 237 struct daemon *daemon = cb; client_config() local 248 check_base(struct daemon * daemon) check_base() argument 282 setup_client_config(struct daemon * daemon) setup_client_config() argument 295 setup_server_config(struct daemon * daemon) setup_server_config() argument 321 daemon_session__run(struct daemon_session * session,struct daemon * daemon) daemon_session__run() argument 394 handle_signalfd(struct daemon * daemon) handle_signalfd() argument 443 daemon_session__wait(struct daemon_session * session,struct daemon * daemon,int secs) daemon_session__wait() argument 471 daemon__has_alive_session(struct daemon * daemon) daemon__has_alive_session() argument 483 daemon__wait(struct daemon * daemon,int secs) daemon__wait() argument 580 setup_server_socket(struct daemon * daemon) setup_server_socket() argument 671 cmd_session_list(struct daemon * daemon,union cmd * cmd,FILE * out) cmd_session_list() argument 762 cmd_session_kill(struct daemon * daemon,union cmd * cmd,FILE * out) cmd_session_kill() argument 785 cmd_session_ping(struct daemon * daemon,union cmd * cmd,FILE * out) cmd_session_ping() argument 808 handle_server_socket(struct daemon * daemon,int sock_fd) handle_server_socket() argument 858 setup_client_socket(struct daemon * daemon) setup_client_socket() argument 891 daemon_session__kill(struct daemon_session * session,struct daemon * daemon) daemon_session__kill() argument 916 daemon__signal(struct daemon * daemon,int sig) daemon__signal() argument 938 daemon__stop(struct daemon * daemon) daemon__stop() argument 946 daemon__kill(struct daemon * daemon) daemon__kill() argument 970 daemon__exit(struct daemon * daemon) daemon__exit() argument 982 daemon__reconfig(struct daemon * daemon) daemon__reconfig() argument 1015 setup_config_changes(struct daemon * daemon) setup_config_changes() argument 1052 process_inotify_event(struct daemon * daemon,char * buf,ssize_t len) process_inotify_event() argument 1073 handle_config_changes(struct daemon * daemon,int conf_fd,bool * config_changed) handle_config_changes() argument 1093 setup_config(struct daemon * daemon) setup_config() argument 1140 check_lock(struct daemon * daemon) check_lock() argument 1179 go_background(struct daemon * daemon) go_background() argument 1231 setup_signalfd(struct daemon * daemon) setup_signalfd() argument 1245 __cmd_start(struct daemon * daemon,struct option parent_options[],int argc,const char ** argv) __cmd_start() argument 1358 send_cmd(struct daemon * daemon,union cmd * cmd) send_cmd() argument 1401 send_cmd_list(struct daemon * daemon) send_cmd_list() argument 1413 __cmd_signal(struct daemon * daemon,struct option parent_options[],int argc,const char ** argv) __cmd_signal() argument 1442 __cmd_stop(struct daemon * daemon,struct option parent_options[],int argc,const char ** argv) __cmd_stop() argument 1465 __cmd_ping(struct daemon * daemon,struct option parent_options[],int argc,const char ** argv) __cmd_ping() argument [all...] |
| /linux/fs/ecryptfs/ |
| H A D | miscdev.c | 32 struct ecryptfs_daemon *daemon = file->private_data; in ecryptfs_miscdev_poll() 35 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll() 36 if (daemon->flags & ECRYPTFS_DAEMON_ZOMBIE) { in ecryptfs_miscdev_poll() 38 "daemon\n", __func__); in ecryptfs_miscdev_poll() 41 if (daemon->flags & ECRYPTFS_DAEMON_IN_READ) in ecryptfs_miscdev_poll() 43 if (daemon->flags & ECRYPTFS_DAEMON_IN_POLL) in ecryptfs_miscdev_poll() 45 daemon->flags |= ECRYPTFS_DAEMON_IN_POLL; in ecryptfs_miscdev_poll() 46 mutex_unlock(&daemon->mux); in ecryptfs_miscdev_poll() 47 poll_wait(file, &daemon->wait, pt); in ecryptfs_miscdev_poll() 48 mutex_lock(&daemon in ecryptfs_miscdev_poll() 31 struct ecryptfs_daemon *daemon = file->private_data; ecryptfs_miscdev_poll() local 66 struct ecryptfs_daemon *daemon = NULL; ecryptfs_miscdev_open() local 109 struct ecryptfs_daemon *daemon = file->private_data; ecryptfs_miscdev_release() local 148 ecryptfs_send_miscdev(char * data,size_t data_size,struct ecryptfs_msg_ctx * msg_ctx,u8 msg_type,u16 msg_flags,struct ecryptfs_daemon * daemon) ecryptfs_send_miscdev() argument 213 struct ecryptfs_daemon *daemon = file->private_data; ecryptfs_miscdev_read() local 322 ecryptfs_miscdev_response(struct ecryptfs_daemon * daemon,char * data,size_t data_size,u32 seq) ecryptfs_miscdev_response() argument [all...] |
| H A D | messaging.c | 95 * @daemon: If return value is zero, points to the desired daemon pointer 103 int ecryptfs_find_daemon_by_euid(struct ecryptfs_daemon **daemon) in ecryptfs_find_daemon_by_euid() 107 hlist_for_each_entry(*daemon, in ecryptfs_find_daemon_by_euid() 110 if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) { in ecryptfs_find_daemon_by_euid() 121 * ecryptfs_spawn_daemon - Create and initialize a new daemon struct 122 * @daemon: Pointer to set to newly allocated daemon struct 131 ecryptfs_spawn_daemon(struct ecryptfs_daemon **daemon, struct file *file) in ecryptfs_spawn_daemon() 135 (*daemon) in ecryptfs_spawn_daemon() 102 ecryptfs_find_daemon_by_euid(struct ecryptfs_daemon ** daemon) ecryptfs_find_daemon_by_euid() argument 130 ecryptfs_spawn_daemon(struct ecryptfs_daemon ** daemon,struct file * file) ecryptfs_spawn_daemon() argument 156 ecryptfs_exorcise_daemon(struct ecryptfs_daemon * daemon) ecryptfs_exorcise_daemon() argument 206 ecryptfs_process_response(struct ecryptfs_daemon * daemon,struct ecryptfs_message * msg,u32 seq) ecryptfs_process_response() argument 265 struct ecryptfs_daemon *daemon; ecryptfs_send_message_locked() local 426 struct ecryptfs_daemon *daemon; ecryptfs_release_messaging() local [all...] |
| H A D | ecryptfs_kernel.h | 593 int ecryptfs_process_response(struct ecryptfs_daemon *daemon, 664 u16 msg_flags, struct ecryptfs_daemon *daemon); 667 ecryptfs_spawn_daemon(struct ecryptfs_daemon **daemon, struct file *file); 668 int ecryptfs_exorcise_daemon(struct ecryptfs_daemon *daemon); 669 int ecryptfs_find_daemon_by_euid(struct ecryptfs_daemon **daemon);
|
| /linux/tools/perf/tests/shell/ |
| H A D | daemon.sh | 118 line=`perf daemon --config ${config} -x: | head -1` 126 perf daemon stop --config ${config} 137 perf daemon start --config ${config} 146 state=`perf daemon ping --config ${config} --session ${session} | awk '{ print $1 }'` 162 config=$(mktemp /tmp/perf.daemon.config.XXX) 164 base=$(mktemp -d /tmp/perf.daemon.base.XXX) 167 [daemon] 185 line=`perf daemon --config ${config} -x: | head -1` 186 check_line_first ${line} daemon ${base} ${base}/output ${base}/lock "0" 191 line=`perf daemon --config ${config} -x: | head -2 | tail -1` [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-daemon.txt | 1 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/Documentation/filesystems/fuse/ |
| H A D | fuse-passthrough.rst | 12 involve communication between the kernel and a userspace FUSE daemon, which can 14 the userspace daemon and be executed directly by the kernel on an underlying 17 This is achieved by the FUSE daemon registering a file descriptor (pointing to 20 When a FUSE file is subsequently opened, the FUSE daemon can, in its response to 35 2. The FUSE daemon, during the ``FUSE_INIT`` handshake, must negotiate the 38 3. The (privileged) FUSE daemon uses the ``FUSE_DEV_IOC_BACKING_OPEN`` ioctl 41 4. When handling an ``OPEN`` or ``CREATE`` request for a FUSE file, the daemon 45 5. The FUSE daemon should eventually call ``FUSE_DEV_IOC_BACKING_CLOSE`` with 52 Setting up passthrough functionality currently requires the FUSE daemon to 61 The core mechanism for passthrough involves the FUSE daemon opening a file [all …]
|
| H A D | fuse-io-uring.rst | 18 is complete. Specifically notifications (initiated from the daemon side) 40 to the daemon again. 45 | | FUSE filesystem daemon 61 | | FUSE filesystem daemon
|
| H A D | fuse.rst | 15 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 207 - Kill the filesystem daemon. Works in case of a) and b) 209 - Kill the filesystem daemon and all users of the filesystem. Works 252 filesystem, the filesystem daemon serving requests can record the 336 | "rm /mnt/fuse/file" | FUSE filesystem daemon 384 | "rm /mnt/fuse/file" | FUSE filesystem daemon
|
| /linux/Documentation/filesystems/caching/ |
| H A D | cachefiles.rst | 40 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/Documentation/ABI/testing/ |
| H A D | sysfs-platform-kim | 12 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 D | sysfs-devices-system-ibm-rtl | 12 Users: The ibm-prtm userspace daemon uses this interface. 22 Users: The ibm-prtm userspace daemon uses this interface.
|
| H A D | sysfs-class-rtc-rtc0-device-rtc_calibration | 14 daemon uses this interface.
|
| /linux/Documentation/filesystems/ |
| H A D | nilfs2.rst | 109 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
|
| /linux/Documentation/filesystems/smb/ |
| H A D | ksmbd.rst | 22 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/watchdog/ |
| H A D | watchdog-api.rst | 23 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/tools/thermal/tmon/ |
| H A D | README | 42 -d, --daemon run as daemon, no TUI
|
| /linux/tools/power/x86/intel-speed-select/ |
| H A D | Build | 1 intel-speed-select-y += isst-config.o isst-core.o isst-display.o isst-daemon.o hfi-events.o isst-c…
|
| /linux/fs/cachefiles/ |
| H A D | Makefile | 8 daemon.o \
|
| /linux/kernel/ |
| H A D | cred.c | 544 * @daemon: A userspace daemon to be used as a reference 550 * @daemon is used to provide a base cred, with the security data derived from 558 struct cred *prepare_kernel_cred(struct task_struct *daemon) in prepare_kernel_cred() argument 563 if (WARN_ON_ONCE(!daemon)) in prepare_kernel_cred() 572 old = get_task_cred(daemon); in prepare_kernel_cred()
|
| /linux/Documentation/security/ |
| H A D | sak.rst | 71 daemon gpm 75 daemon gpm < /dev/null
|
| /linux/Documentation/admin-guide/RAS/ |
| H A D | error-decoding.rst | 12 While the daemon is running, it would automatically log and decode
|
| /linux/Documentation/translations/zh_TW/process/ |
| H A D | 7.AdvancedTopics.rst | 54 如果您有一個可以訪問因特網的系統,那麼使用git-daemon設置這樣的服務器相對
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | ksm.rst | 17 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/admin-guide/nfs/ |
| H A D | nfs-idmapper.rst | 9 or by placing a call to the rpc.idmap daemon. 19 legacy rpc.idmap daemon for the id mapping. This result will be stored
|