Lines Matching full:shm
2 * util/shm_side/shm_main.c - SHM for statistics transport
39 * This file contains functions for the SHM implementation.
49 #include <sys/shm.h>
95 log_warn("shm-enable is yes but statistics-interval is 0");
105 log_err("shm fail: malloc failure");
111 /* Check for previous create SHM */
115 /* Destroy previous SHM */
119 /* Destroy previous SHM */
123 /* SHM: Create the segment */
128 log_err("SHM failed(id_ctl) cannot shmget(key %d) %s",
142 log_err("SHM failed(id_arr) cannot shmget(key %d + 1) %s",
152 /* SHM: attach the segment */
156 log_err("SHM failed(ctl) cannot shmat(%d) %s",
171 log_err("SHM failed(arr) cannot shmat(%d) %s",
181 /* Zero fill SHM to stand clean while is not filled by other events */
201 verbose(VERB_DETAIL, "SHM shutdown - KEY [%d] - ID CTL [%d] ARR [%d] - PTR CTL [%p] ARR [%p]",
204 /* Destroy previous SHM */
233 verbose(VERB_DETAIL, "SHM run - worker [%d] - daemon [%p] - timenow(%u) - timeboot(%u)",
250 /* Point to data into SHM */
278 /* subnet mem value is available in shm, also when not enabled,
286 /* ipsecmod mem value is available in shm, also when not enabled,