HomeSort by: relevance | last modified time | path
    Searched defs:lid (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/tests/lib/libc/sys/
t_lwp_create.c 82 lwpid_t lid; \
89 error = _lwp_create(&uc, 0, &lid); \
106 lwpid_t lid; local in function:ATF_TC_BODY
114 error = _lwp_create(&uc, 0, &lid);
117 error = _lwp_wait(lid, NULL);
119 ATF_REQUIRE(lid == the_lwp_id);
126 "Verify _lwp_create() fails as expected with bad lid pointer");
t_ptrace_threads_wait.h 67 lwpid_t lid; local in function:trace_threads
167 lid = state.pe_lwp;
168 DPRINTF("Reported PTRACE_LWP_CREATE event with lid %d\n", lid);
170 *FIND_EVENT_COUNT(traced_lwps, lid) += 1;
205 lid = state.pe_lwp;
206 DPRINTF("Reported PTRACE_LWP_EXIT event with lid %d\n", lid);
209 int *count = FIND_EVENT_COUNT(traced_lwps, lid);
283 lwpid_t lid; local in function:threads_and_exec
551 lwpid_t lid; local in function:ATF_TC_BODY
    [all...]
  /src/regress/sys/kern/latency2/
latency2.c 53 lwpid_t lid; variable in typeref:typename:lwpid_t
70 lid = _lwp_self();
74 while (_lwp_park(NULL, 0, &lid, NULL) != 0) {
144 if (_lwp_unpark(lid, &lid) != 0) {
  /src/sys/arch/evbarm/netwalker/
netwalker_lid.c 125 aprint_normal(": NETWALKER lid switch\n");
126 aprint_naive(": NETWALKER lid switch\n");
130 "couldn't establish lid handler\n");
167 int lid; local in function:netwalker_lid_refresh
170 lid = gpio_pin_read(sc->sc_gpio, &sc->sc_map, LID_PIN_INPUT);
171 event = (lid == GPIO_PIN_HIGH) ?
  /src/sys/ufs/chfs/
ebh_media.h 55 /* sizeof(crc) + sizeof(lid) */
84 * @lid: logical identifier
86 * @lid contains the logical block reference but only the first 31 bit (0-30) is
87 * used. The 32th bit is for marking a lid dirty (marked for recovery purposes).
88 * If a new eraseblock is successfully assigned with the same lid then the lid
90 * then the recovery detects that there are two eraseblocks with the same lid,
93 * Invalidated eraseblock header means that the @crc and @lid is set to 0.
97 le32 lid; member in struct:chfs_nor_eb_hdr
103 * @lid: logical identifie
112 le32 lid; member in struct:chfs_nand_eb_hdr
    [all...]
  /src/usr.sbin/schedctl/
schedctl.c 78 lwpid_t lid; local in function:main
83 pid = lid = 0;
102 lid = atoi(optarg);
147 if (argv[optind] == NULL || lid != 0)
156 sched_set(pid, lid, policy, set ? sp : NULL, cpuset);
167 if (lid && lid != lwp->l_lid)
184 sched_set(pid_t pid, lwpid_t lid, int policy,
191 error = _sched_setparam(pid, lid, policy, sp);
197 error = _sched_setaffinity(pid, lid,
    [all...]
  /src/sys/kern/
subr_time.c 184 lwpid_t lid = clock_id & CPUCLOCK_ID_MASK; local in function:clock_gettime1
189 l = lid == 0 ? curlwp : lwp_find(p, lid);
sys_sched.c 108 do_sched_setparam(pid_t pid, lwpid_t lid, int policy,
160 if (lid && lid != t->l_lid)
204 syscallarg(lwpid_t) lid;
216 error = do_sched_setparam(SCARG(uap, pid), SCARG(uap, lid),
225 * if lid=0, returns the parameter of the first LWP in the process.
228 do_sched_getparam(pid_t pid, lwpid_t lid, int *policy,
235 if (pid < 0 || lid < 0)
238 t = lwp_find2(pid, lid); /* acquire p_lock */
292 syscallarg(lwpid_t) lid;
349 lwpid_t lid; local in function:sys__sched_setaffinity
    [all...]
sys_pset.c 427 lwpid_t lid = 0; local in function:sys__pset_bind
449 * Get PID and LID from the ID.
464 lid = 0;
469 * First ID - LID;
474 lid = l->l_lid;
477 lid = id1;
502 if (lid && lid != t->l_lid)
kern_time.c 487 lwpid_t lid; local in function:sys_clock_getcpuclockid2
497 lid = id == 0 ? l->l_lid : id;
498 clock_id = CLOCK_THREAD_CPUTIME_ID | lid;
kern_ktrace.c 1298 lwpid_t lid; local in function:ktrwrite
1314 lid = kth->ktr_lid;
1318 kth->ktr_olid = lid;
kern_sig.c 1283 lwpid_t lid; local in function:kpsignal2
1314 lid = toall ? 0 : ksi->ksi_lid;
1324 if (lid == 0) {
1399 if (lid != 0) {
1400 l = lwp_find(p, lid);
  /src/sys/arch/ia64/ia64/
cpu.c 80 uint64_t lid; local in function:cpu_attach
89 lid = ia64_get_lid();
90 id = (lid & 0x00000000ff000000) >> 24;
91 eid = (lid & 0x0000000000ff0000) >> 16;
sapic.c 180 uint64_t lid = ia64_get_lid(); local in function:sapic_enable
184 rte.rte_destination_id = (lid >> 24) & 255;
185 rte.rte_destination_eid = (lid >> 16) & 255;
  /src/lib/libpthread/
pthread_mutex.c 100 lwpid_t volatile lid; member in struct:waiter
336 waiter.lid = self->pt_lid;
362 * waiting (via waiter.lid being set to zero). Otherwise
365 while (waiter.lid != 0) {
377 * waiter.lid to clear.
379 while (waiter.lid != 0) {
527 * before the awoken thread sees waiter->lid being cleared.
536 pthread__assert(cur->lid != 0);
537 lids[nlid++] = cur->lid;
539 cur->lid = 0
    [all...]
pthread_int.h 185 lwpid_t volatile lid; member in struct:pthread__waiter
  /src/sys/fs/unionfs/
unionfs_subr.c 186 lwpid_t lid; local in function:unionfs_get_node_status
192 lid = curlwp->l_lid;
195 if (unsp->uns_pid == pid && unsp->uns_lid == lid) {
204 unsp->uns_lid = lid;
  /src/sys/compat/netbsd32/
netbsd32_time.c 613 lwpid_t lid; local in function:netbsd32_clock_getcpuclockid2
623 lid = id == 0 ? l->l_lid : (lwpid_t)id;
624 clock_id = CLOCK_THREAD_CPUTIME_ID | lid;
  /src/sys/compat/linux/common/
linux_sched.c 264 lwpid_t lid; local in function:linux_clone_nptl
286 lid = l2->l_lid;
296 if ((error = copyout(&lid, parent_tidptr, sizeof(lid))) != 0)
299 __func__, parent_tidptr, lid, error);
304 if ((error = copyout(&lid, child_tidptr, sizeof(lid))) != 0)
307 __func__, child_tidptr, lid, error);
323 retval[0] = lid;
756 lwpid_t lid; local in function:linux_sys_sched_setaffinity
    [all...]
  /src/usr.bin/ktruss/
dump.c 206 #define KTE_MATCH(kte, type, pid, lid) \
208 KTE_LID(kte) == (lid))
221 int pid = KTE_PID(us), lid = KTE_LID(us); local in function:flushpendq
225 if (KTE_PID(kte) == pid || KTE_LID(kte) == lid) {
236 int pid = us->ktr_pid, lid = us->ktr_lid; local in function:getpendq
242 if (KTE_MATCH(kte, type, pid, lid)) {
  /src/sys/opencrypto/
cryptosoft.c 1145 u_int32_t lid; local in function:swcr_process
1157 lid = crp->crp_sid & 0xffffffff;
1158 if (lid >= swcr_sesnum || lid == 0 || swcr_sessions[lid] == NULL) {
1183 for (sw = swcr_sessions[lid];
crypto.c 817 u_int32_t hid, lid; local in function:crypto_newsession
829 lid = hid; /* Pass the driver ID. */
831 err = cap->cc_newsession(cap->cc_arg, &lid, cri);
836 (*sid) |= (lid & 0xffffffff);
1576 DPRINTF("lid[%u]: crp %p\n", CRYPTO_SESID2LID(crp->crp_sid), crp);
1709 DPRINTF("lid[%u]: crp %p\n", CRYPTO_SESID2LID(crp->crp_sid), crp);
1714 DPRINTF("lid[%u]: queueing %p\n", CRYPTO_SESID2LID(crp->crp_sid), crp);
1719 DPRINTF("lid[%u]: waking cryptoret, crp %p hit empty queue\n.",
  /src/usr.bin/make/filemon/
filemon_ktrace.c 122 lwpid_t lid; member in struct:filemon_state::filemon_key
144 if (Sa->key.lid < Sb->key.lid)
146 if (Sa->key.lid > Sb->key.lid)
162 if (S->key.lid < key->lid)
164 if (S->key.lid > key->lid)
412 .lid = F->hdr.ktr_lid
    [all...]
  /src/lib/libp2k/
p2k.c 150 lwpid_t lid; local in function:makelwp
152 puffs_cc_getcaller(puffs_cc_getcc(pu), &pid, &lid);
153 rump_pub_allbetsareoff_setid(pid, lid);
  /src/sys/ddb/
db_command.c 1386 "PID", "LID", "COMMAND", "WAITING-FOR", "TYPE", "WAIT-CHANNEL");
1399 lwpid_t lid = -1; local in function:db_show_all_tstiles
1411 db_read_bytes((db_addr_t)&l->l_lid, sizeof(lid),
1412 (char *)&lid);
1418 (long)lid,
1432 (long)lid,

Completed in 33 milliseconds

1 2