Searched refs:tid (Results 1 - 16 of 16) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dbus-creds.h47 pid_t tid; member in struct:sd_bus_creds
88 int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid);
H A Dbus-creds.c320 _public_ int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid) { argument
322 assert_return(tid, -EINVAL);
327 assert(c->tid > 0);
328 *tid = c->tid;
769 int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) { argument
790 if (tid <= 0 && (c->mask & SD_BUS_CREDS_TID))
791 tid = c->tid;
798 if (tid >
[all...]
H A Dbus-internal.h307 pid_t tid; member in struct:sd_bus
H A Dkdbus.h86 * @tid: Thread ID
96 __u64 tid; member in struct:kdbus_pids
H A Dbus-control.c422 if (mask & SD_BUS_CREDS_TID && item->pids.tid > 0) {
423 c->tid = (pid_t) item->pids.tid;
H A Dsd-bus.c3352 b->tid = gettid();
3404 _public_ int sd_bus_get_tid(sd_bus *b, pid_t *tid) { argument
3406 assert_return(tid, -EINVAL);
3409 if (b->tid != 0) {
3410 *tid = b->tid;
3415 return sd_event_get_tid(b->event, tid);
H A Dbus-kernel.c618 if (d->pids.tid > 0) {
619 m->creds.tid = (pid_t) d->pids.tid;
H A Dbus-dump.c363 fprintf(f, "%sTID=%s"PID_FMT"%s", prefix, color, c->tid, suffix);
/systemd/src/coredump/
H A Dstacktrace.c101 pid_t tid; local
114 tid = dwfl_thread_tid(thread);
115 fprintf(c->f, "Stack trace of thread " PID_FMT ":\n", tid);
/systemd/src/systemd/
H A Dsd-resolve.h80 int sd_resolve_get_tid(sd_resolve *resolve, pid_t *tid);
H A Dsd-event.h99 int sd_event_get_tid(sd_event *e, pid_t *tid);
H A Dsd-bus.h166 int sd_bus_get_tid(sd_bus *bus, pid_t *tid);
342 int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid);
/systemd/src/bootchart/
H A Dstore.c404 * by parsing "/proc/[pid]/task/[tid]/schedstat" for all [tid] != [pid]
420 int tid = -1; local
429 r = safe_atoi(ent->d_name, &tid);
430 if (r < 0 || tid == pid)
433 /* Parse "/proc/[pid]/task/[tid]/schedstat" */
434 snprintf(filename, sizeof(filename), PID_FMT "/schedstat", tid);
/systemd/src/bus-proxyd/
H A Dbus-proxyd.c136 pthread_t tid; local
159 r = pthread_create(&tid, &attr, run_client, c);
/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c85 pid_t tid; member in struct:sd_resolve
528 e->tid = gettid();
535 _public_ int sd_resolve_get_tid(sd_resolve *resolve, pid_t *tid) { argument
537 assert_return(tid, -EINVAL);
540 if (resolve->tid != 0) {
541 *tid = resolve->tid;
546 return sd_event_get_tid(resolve->event, tid);
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c230 pid_t tid; member in struct:sd_event
2810 e->tid = gettid();
2817 _public_ int sd_event_get_tid(sd_event *e, pid_t *tid) { argument
2819 assert_return(tid, -EINVAL);
2822 if (e->tid != 0) {
2823 *tid = e->tid;

Completed in 3225 milliseconds