Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-creds.c301 _public_ int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid) { in sd_bus_creds_get_tid() argument
303 assert_return(tid, -EINVAL); in sd_bus_creds_get_tid()
308 assert(c->tid > 0); in sd_bus_creds_get_tid()
309 *tid = c->tid; in sd_bus_creds_get_tid()
754 int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) { in bus_creds_add_more() argument
775 if (tid <= 0 && (c->mask & SD_BUS_CREDS_TID)) in bus_creds_add_more()
776 tid = c->tid; in bus_creds_add_more()
783 if (tid > 0) { in bus_creds_add_more()
784 c->tid = tid; in bus_creds_add_more()
1017 if (tid > 0 && (missing & SD_BUS_CREDS_TID_COMM)) { in bus_creds_add_more()
[all …]
Dbus-creds.h29 pid_t tid; member
70 int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid);
Dbus-internal.h301 pid_t tid; member
Dsd-bus.c3903 b->tid = gettid(); in bus_default()
3926 _public_ int sd_bus_get_tid(sd_bus *b, pid_t *tid) { in sd_bus_get_tid() argument
3928 assert_return(tid, -EINVAL); in sd_bus_get_tid()
3931 if (b->tid != 0) { in sd_bus_get_tid()
3932 *tid = b->tid; in sd_bus_get_tid()
3937 return sd_event_get_tid(b->event, tid); in sd_bus_get_tid()
Dbus-dump.c359 fprintf(f, "%sTID=%s"PID_FMT"%s", prefix, color, c->tid, suffix); in bus_creds_dump()
/systemd-251/test/units/
Dtestsuite-64.sh406 tgtadm --lld iscsi --op new --mode target --tid=1 --targetname "$target_name"
410 tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun "$lun_id" -b "${devices[$i]}"
411 tgtadm --lld iscsi --op update --mode logicalunit --tid 1 --lun "$lun_id"
416 tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
424 tgtadm --lld iscsi --op delete --mode target --tid=1
442 tgtadm --lld iscsi --op new --mode target --tid=2 --targetname "$target_name"
445 tgtadm --lld iscsi --op new --mode logicalunit --tid 2 --lun "$i" -b "$mpoint/lun$i.img"
446 tgtadm --lld iscsi --op update --mode logicalunit --tid 2 --lun "$i"
451 tgtadm --lld iscsi --op bind --mode target --tid 2 -I ALL
486 tgtadm --lld iscsi --op delete --mode target --tid=2
/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c72 pid_t tid; member
537 e->tid = gettid(); in sd_resolve_default()
544 _public_ int sd_resolve_get_tid(sd_resolve *resolve, pid_t *tid) { in sd_resolve_get_tid() argument
546 assert_return(tid, -EINVAL); in sd_resolve_get_tid()
549 if (resolve->tid != 0) { in sd_resolve_get_tid()
550 *tid = resolve->tid; in sd_resolve_get_tid()
555 return sd_event_get_tid(resolve->event, tid); in sd_resolve_get_tid()
/systemd-251/src/systemd/
Dsd-resolve.h83 int sd_resolve_get_tid(sd_resolve *resolve, pid_t *tid);
Dsd-event.h112 int sd_event_get_tid(sd_event *e, pid_t *tid);
Dsd-bus.h197 int sd_bus_get_tid(sd_bus *bus, pid_t *tid);
407 int sd_bus_creds_get_tid(sd_bus_creds *c, pid_t *tid);
/systemd-251/src/shared/
Delf-util.c245 pid_t tid; in thread_callback() local
259 tid = sym_dwfl_thread_tid(thread); in thread_callback()
260 fprintf(c->f, "Stack trace of thread " PID_FMT ":\n", tid); in thread_callback()
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c144 pid_t tid; member
3839 assert_return(!e->default_event_ptr || e->tid == gettid(), -EREMOTEIO); in sd_event_prepare()
4342 e->tid = gettid(); in sd_event_default()
4349 _public_ int sd_event_get_tid(sd_event *e, pid_t *tid) { in sd_event_get_tid() argument
4352 assert_return(tid, -EINVAL); in sd_event_get_tid()
4355 if (e->tid != 0) { in sd_event_get_tid()
4356 *tid = e->tid; in sd_event_get_tid()
/systemd-251/po/
Dda.po887 "tid eller UTC-tid."
Dsv.po870 "tid (UTC)"
/systemd-251/test/test-network/
Dsystemd-networkd-tests.py455 for tid in tunnel_ids:
456 words='Tunnel ' + tid + ', encap'
458 call('ip l2tp del tunnel tid', tid)