| /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 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 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 551 lwpid_t lid; local [all...] |
| /src/regress/sys/kern/latency2/ |
| latency2.c | 53 lwpid_t lid; variable 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 170 lid = gpio_pin_read(sc->sc_gpio, &sc->sc_map, LID_PIN_INPUT); 171 event = (lid == GPIO_PIN_HIGH) ?
|
| /src/sys/arch/ia64/ia64/ |
| cpu.c | 80 uint64_t lid; local 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 184 rte.rte_destination_id = (lid >> 24) & 255; 185 rte.rte_destination_eid = (lid >> 16) & 255;
|
| /src/sys/kern/ |
| subr_time.c | 169 lwpid_t lid = clock_id & CPUCLOCK_ID_MASK; local 174 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 [all...] |
| sys_pset.c | 427 lwpid_t lid = 0; local 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 | 488 lwpid_t lid; local 498 lid = id == 0 ? l->l_lid : id; 499 clock_id = CLOCK_THREAD_CPUTIME_ID | lid;
|
| kern_ktrace.c | 1320 lwpid_t lid; local 1336 lid = kth->ktr_lid; 1340 kth->ktr_olid = lid;
|
| kern_sig.c | 1286 lwpid_t lid; local 1317 lid = toall ? 0 : ksi->ksi_lid; 1327 if (lid == 0) { 1402 if (lid != 0) { 1403 l = lwp_find(p, lid);
|
| /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 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/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/compat/linux/common/ |
| linux_sched.c | 266 lwpid_t lid; local 288 lid = l2->l_lid; 298 if ((error = copyout(&lid, parent_tidptr, sizeof(lid))) != 0) 301 __func__, parent_tidptr, lid, error); 306 if ((error = copyout(&lid, child_tidptr, sizeof(lid))) != 0) 309 __func__, child_tidptr, lid, error); 325 retval[0] = lid; 758 lwpid_t lid; local [all...] |
| /src/sys/compat/netbsd32/ |
| netbsd32_time.c | 613 lwpid_t lid; local 623 lid = id == 0 ? l->l_lid : (lwpid_t)id; 624 clock_id = CLOCK_THREAD_CPUTIME_ID | lid;
|
| /src/sys/fs/unionfs/ |
| unionfs_subr.c | 186 lwpid_t lid; local 192 lid = curlwp->l_lid; 195 if (unsp->uns_pid == pid && unsp->uns_lid == lid) { 204 unsp->uns_lid = lid;
|
| /src/sys/opencrypto/ |
| cryptosoft.c | 1145 u_int32_t lid; local 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 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/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 225 if (KTE_PID(kte) == pid || KTE_LID(kte) == lid) { 236 int pid = us->ktr_pid, lid = us->ktr_lid; local 242 if (KTE_MATCH(kte, type, pid, lid)) {
|
| /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 152 puffs_cc_getcaller(puffs_cc_getcc(pu), &pid, &lid); local 153 rump_pub_allbetsareoff_setid(pid, lid);
|
| /src/sys/ddb/ |
| db_command.c | 1388 "PID", "LID", "COMMAND", "WAITING-FOR", "TYPE", "WAIT-CHANNEL"); 1401 lwpid_t lid = -1; local 1413 db_read_bytes((db_addr_t)&l->l_lid, sizeof(lid), 1414 (char *)&lid); 1420 (long)lid, 1434 (long)lid,
|