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

1 2 3

  /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...]
ebh_misc.h 41 #define CHFS_GET_LID(lid) (le32toh(lid) & CHFS_LID_DIRTY_BIT_MASK)
ebh.c 53 int nor_mark_eb_hdr_dirty_flash(struct chfs_ebh *ebh, int pebnr, int lid);
89 ebhdr->u.nor_hdr.lid = htole32(lnr);
101 ebhdr->u.nand_hdr.lid = htole32(lnr);
226 ebhdr->u.nor_hdr.lid = ebhdr->u.nor_hdr.lid
331 // check invalidated (CRC == LID == 0)
332 if (ebhdr->u.nor_hdr.crc == 0 && ebhdr->u.nor_hdr.lid == 0) {
339 lid_save = ebhdr->u.nor_hdr.lid;
341 // mark lid as not dirty for crc calc
342 ebhdr->u.nor_hdr.lid = ebhdr->u.nor_hdr.lid | htole32
    [all...]
ebh.h 223 int (*mark_eb_hdr_dirty_flash)(struct chfs_ebh *ebh, int pebnr, int lid);
  /src/sys/arch/ia64/include/
smp.h 36 void ipi_send(u_int64_t lid, int ipi);
  /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/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/kern/
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...]
subr_time.c 168 lwpid_t lid = clock_id & CPUCLOCK_ID_MASK; local in function:clock_gettime1
173 l = lid == 0 ? curlwp : lwp_find(p, lid);
sys_process_lwpstatus.c 85 ptrace_update_lwp(struct proc *t, struct lwp **lt, lwpid_t lid)
87 if (lid == 0 || lid == (*lt)->l_lid || t->p_nlwps == 1)
93 *lt = lwp_find(t, lid);
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_lwp.c 579 * Wait for an LWP within the current process to exit. If 'lid' is
585 lwp_wait(struct lwp *l, lwpid_t lid, lwpid_t *departed, bool exiting)
595 l->l_waitingfor = lid;
632 * If given a specific LID, go via pid_table and make sure
635 if (lid != 0) {
636 l2 = proc_find_lwp(p, lid);
641 KASSERT(l2->l_lid == lid);
650 next = (lid != 0 ? NULL : LIST_NEXT(l2, l_sibling));
661 if (l2->l_lid == lid && l2->l_waitingfor == curlid) {
671 if (lid != 0)
    [all...]
  /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/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/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/lib/libpuffs/
callcontext.c 168 puffs_cc_getcaller(struct puffs_cc *pcc, pid_t *pid, lwpid_t *lid)
178 if (lid)
179 *lid = pcc->pcc_lid;
284 puffs__cc_setcaller(struct puffs_cc *pcc, pid_t pid, lwpid_t lid)
288 pcc->pcc_lid = lid;
  /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/lib/libpthread/
pthread_cond.c 161 waiter.lid = self->pt_lid;
175 while (waiter.lid &&
206 while (__predict_false(waiter.lid)) {
212 pthread__assert(!waiter.lid);
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...]
  /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/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
rk3288-veyron-chromebook.dtsi 30 lid_switch: lid-switch {
35 lid {
36 label = "Lid";
140 ap_lid_int_l: ap-lid-int-l {
  /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/usr.sbin/makefs/chfs/
chfs_mkfs.c 143 ebhdr.u.nand_hdr.lid = htole32(lebnumber++);
150 ebhdr.u.nor_hdr.lid = htole32(lebnumber++);

Completed in 127 milliseconds

1 2 3