Searched refs:holding_pid (Results 1 – 6 of 6) sorted by relevance
/dports/www/trafficserver/trafficserver-9.1.1/src/tscore/ |
H A D | lockfile.cc | 35 *holding_pid = 0; in Open() 95 *holding_pid = 0; in Open() 97 *holding_pid = val; in Open() 133 *holding_pid = 0; in Get() 139 err = Open(holding_pid); in Get() 226 pid_t holding_pid; in Kill() local 228 err = Open(&holding_pid); in Kill() 234 pid = holding_pid; in Kill() 246 pid_t holding_pid; in KillGroup() local 249 err = Open(&holding_pid); in KillGroup() [all …]
|
/dports/www/trafficserver/trafficserver-9.1.1/proxy/logging/ |
H A D | LogStandalone.cc | 147 pid_t holding_pid; in check_lockfile() local 158 err = server_lockfile.Get(&holding_pid); in check_lockfile() 164 if ((err == 0) && (holding_pid != -1)) { in check_lockfile() 166 fprintf(stderr, " (Lock file held by process ID %d)\n", (int)holding_pid); in check_lockfile() 168 fprintf(stderr, " (Lock file held by process ID %d)\n", holding_pid); in check_lockfile() 170 } else if ((err == 0) && (holding_pid == -1)) { in check_lockfile()
|
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_wccp/ |
H A D | wccp_client.cc | 87 pid_t holding_pid; in check_lockfile() local 94 err = server_lockfile.Get(&holding_pid); in check_lockfile() 100 if ((err == 0) && (holding_pid != -1)) { in check_lockfile() 101 … fprintf(stderr, " (Lock file held by process ID %l" PRIu32 ")\n", static_cast<long>(holding_pid)); in check_lockfile() 102 } else if ((err == 0) && (holding_pid == -1)) { in check_lockfile()
|
/dports/www/trafficserver/trafficserver-9.1.1/include/tscore/ |
H A D | ink_lockfile.h | 58 int Open(pid_t *holding_pid); 67 int Get(pid_t *holding_pid);
|
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_manager/ |
H A D | traffic_manager.cc | 210 pid_t holding_pid; in check_lockfile() local 217 err = server_lockfile.Open(&holding_pid); in check_lockfile() 223 …Lockfile '%s' says server already running as PID %ld\n", lockfile, static_cast<long>(holding_pid)); in check_lockfile() 224 … mgmt_log("FATAL: Lockfile '%s' says server already running as PID %d\n", lockfile, holding_pid); in check_lockfile() 237 err = manager_lockfile.Get(&holding_pid); in check_lockfile() 243 fprintf(stderr, " (Lock file held by process ID %ld)\n", static_cast<long>(holding_pid)); in check_lockfile() 244 mgmt_log(" (Lock file held by process ID %d)\n", holding_pid); in check_lockfile()
|
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_server/ |
H A D | traffic_server.cc | 601 pid_t holding_pid; in check_lockfile() local 607 err = server_lockfile.Get(&holding_pid); in check_lockfile() 613 if ((err == 0) && (holding_pid != -1)) { in check_lockfile() 614 fprintf(stderr, " (Lock file held by process ID %ld)\n", static_cast<long>(holding_pid)); in check_lockfile() 615 } else if ((err == 0) && (holding_pid == -1)) { in check_lockfile()
|