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

1 2 3 4

  /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_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_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");
  /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) {
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) {
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) ?
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) ?
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...]
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_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...]
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...]
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);
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);
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_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...]
  /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;
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;
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;
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;

Completed in 80 milliseconds

1 2 3 4