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

1 2 3

  /src/tests/compat/linux/
h_inotify_single_file.c 49 int fd, wd, targetfd, buf; local
55 RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
72 REQUIRE(events[i].wd == wd && events[i].cookie == 0
h_inotify_watch_change.c 44 int fd, wd, targetfd; local
51 RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
63 RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
75 RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
h_inotify_directory.c 65 int fd, wd, targetfd; local
72 RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
90 REQUIRE(cur_ie->wd == wd);
  /src/external/bsd/tmux/dist/
osdep-darwin.c 75 static char wd[PATH_MAX]; local
86 strlcpy(wd, pathinfo.pvi_cdir.vip_path, sizeof wd);
87 return (wd);
osdep-freebsd.c 139 static char wd[PATH_MAX]; local
152 strlcpy(wd, info[i].kf_path, sizeof wd);
154 return (wd);
  /src/external/lgpl3/mpfr/dist/src/
dump.c 70 mp_limb_t wd, t; local
72 wd = mx[n];
75 if (! MPFR_LIMB_MSB (wd))
81 putc ((wd & t) == 0 ? '0' : '1', stream);
85 if (t != 0 && (wd & (t - 1)) != 0)
  /src/sys/arch/mmeye/stand/boot/
wd.c 1 /* $NetBSD: wd.c,v 1.5 2019/01/08 19:36:57 jdolecek Exp $ */
42 static int wd_get_params(struct wd_softc *wd);
43 static int wdgetdisklabel(struct wd_softc *wd);
44 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
50 wd_get_params(struct wd_softc *wd)
55 if ((error = wdc_exec_identify(wd, buf)) != 0)
58 memcpy(&wd->sc_params, buf, sizeof wd->sc_params);
61 if ((wd->sc_params.atap_cmd2_en & ATA_CMD2_LBA48) != 0)
62 wd->sc_flags |= WDF_LBA48
200 struct wd_softc *wd; local
249 struct wd_softc *wd; local
    [all...]
  /src/sys/arch/bebox/stand/boot/
wd.c 1 /* $NetBSD: wd.c,v 1.4 2019/01/08 19:41:09 jdolecek Exp $ */
50 static int wd_get_params(struct wd_softc *wd);
51 static int wdgetdisklabel(struct wd_softc *wd);
52 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
62 wd_get_params(struct wd_softc *wd)
67 if ((error = wdc_exec_identify(wd, buf)) != 0)
70 wd->sc_params = *(struct ataparams *)buf;
73 if ((wd->sc_params.atap_cmd2_en & ATA_CMD2_LBA48) != 0)
74 wd->sc_flags |= WDF_LBA48;
77 if ((wd->sc_params.atap_capabilities1 & WDC_CAP_LBA) != 0
236 struct wd_softc *wd; local
288 struct wd_softc *wd; local
    [all...]
  /src/sys/arch/cobalt/stand/boot/
wd.c 1 /* $NetBSD: wd.c,v 1.18 2019/01/08 19:41:09 jdolecek Exp $ */
44 static int wd_get_params(struct wd_softc *wd);
45 static int wdgetdisklabel(struct wd_softc *wd);
46 static void wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp);
52 wd_get_params(struct wd_softc *wd)
58 if ((error = wdc_exec_identify(wd, buf)) != 0)
61 wd->sc_params = *params;
64 if ((wd->sc_params.atap_cmd2_en & ATA_CMD2_LBA48) != 0)
65 wd->sc_flags |= WDF_LBA48;
68 if ((wd->sc_params.atap_capabilities1 & WDC_CAP_LBA) != 0
224 struct wd_softc *wd; local
273 struct wd_softc *wd; local
    [all...]
  /src/usr.bin/btkey/
btkey.c 57 bool cf, cd, lf, ld, rf, rd, wf, wd, nk; local
62 cf = cd = lf = ld = rf = rd = wf = wd = nk = false;
125 wd = true;
139 if ((lf || ld) && (rf || rd || wf || wd || cf || cd || nk))
142 if (((rf && rd) || (rf && nk) || (rd && nk)) && (wf || wd))
182 if (wf || wd || cf || cd)
192 if (wd) {
  /src/external/bsd/am-utils/dist/amq/
pawd.c 226 char *wd = getcwd(path, MAXPATHLEN); local
228 char *wd = getwd(path);
231 if (wd == NULL) {
234 xstrlcpy(path, transform_dir(wd), l);
242 char tmp_buf[MAXPATHLEN], *wd; local
245 wd = getawd(tmp_buf, sizeof(tmp_buf));
246 if (wd == NULL) {
250 fprintf(stdout, "%s\n", wd);
254 wd = transform_dir(*++argv);
255 fprintf(stdout, "%s\n", wd);
    [all...]
  /src/external/gpl2/xcvs/dist/lib/
canonicalize.c 98 char *wd; local
100 if (!(wd = xgetcwd ()))
103 extra_buf = file_name_concat (wd, name, NULL);
105 free (wd);
  /src/sys/compat/linux/common/
linux_inotify.h 80 int32_t wd; member in struct:linux_inotify_event
  /src/sys/dev/mca/
ed_mca.c 294 struct ed_softc *wd; local
298 wd = device_lookup_private(&ed_cd, DISKUNIT(dev));
299 if (wd == NULL || (wd->sc_flags & EDF_INIT) == 0)
304 mutex_enter(&wd->sc_dk.dk_openlock);
310 if (wd->sc_dk.dk_nwedges != 0 && part != RAW_PART) {
315 if (wd->sc_dk.dk_openmask != 0) {
320 if ((wd->sc_flags & WDF_LOADED) == 0) {
325 if ((wd->sc_flags & WDF_LOADED) == 0) {
328 wd->sc_flags |= WDF_LOADED
369 struct ed_softc *wd = device_lookup_private(&ed_cd, DISKUNIT(dev)); local
579 struct ed_softc *wd; local
    [all...]
  /src/usr.bin/ruptime/
ruptime.c 83 struct whod *wd; local
147 for (wd = (struct whod *)buf, i = 0; i < 2; ++i)
148 if (wd->wd_loadav[i] > maxloadav)
149 maxloadav = wd->wd_loadav[i];
152 we = (struct whoent *)(buf + cc); --we >= wd->wd_we;)
  /src/usr.bin/rwho/
rwho.c 82 struct whod wd; local
137 cc = read(f, &wd, sizeof (wd));
143 if (DOWN(wd, now)) {
148 we = wd.wd_we;
166 (void)strcpy(mp->myhost, wd.wd_hostname);
  /src/crypto/external/apache2/openssl/dist/ssl/rio/
poll_immediate.c 58 BIO_POLL_DESCRIPTOR rd, wd; local
83 if (!SSL_get_wpoll_descriptor(ssl, &wd)) {
90 if (wd.type != BIO_POLL_DESCRIPTOR_TYPE_SOCK_FD) {
98 fd2 = wd.value.fd;
  /src/crypto/external/bsd/openssl.old/dist/test/
x509_time_test.c 352 int yd, wd; member in struct:__anon2294
423 && TEST_int_eq(t.tm_wday, day_of_week_tests[n].wd);
  /src/external/mit/libuv/dist/src/unix/
linux-inotify.c 41 int wd; member in struct:watcher_list
52 if (a->wd < b->wd) return -1;
53 if (a->wd > b->wd) return 1;
151 static struct watcher_list* find_watcher(uv_loop_t* loop, int wd) {
153 w.wd = wd;
162 inotify_rm_watch(loop->inotify_fd, w->wd);
203 w = find_watcher(loop, e->wd);
257 int wd; local
    [all...]
  /src/sys/ufs/ffs/
ffs_wapbl.c 178 struct wapbl_dealloc *wd; local
182 for (wd = fdealloc; wd != NULL; wd = TAILQ_NEXT(wd, wd_entries)) {
188 FFS_DBTOFSB(fs, wd->wd_blkno), wd->wd_len, -1);
208 struct wapbl_dealloc *wd; local
210 for (wd = fdealloc; wd != NULL; wd = TAILQ_NEXT(wd, wd_entries))
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/
x509_time_test.c 553 int yd, wd; member in struct:__anon780
624 && TEST_int_eq(t.tm_wday, day_of_week_tests[n].wd);
  /src/crypto/external/bsd/openssl/dist/test/
x509_time_test.c 404 int yd, wd; member in struct:__anon1788
475 && TEST_int_eq(t.tm_wday, day_of_week_tests[n].wd);
  /src/external/bsd/unbound/dist/testcode/
unitdname.c 1098 uint8_t** wd = wire_doms; local
1102 while (*wd) {
1108 dname_str(*wd, string_domain);
1119 sldns_wire2str_dname_buf(*wd,
1120 strlen((char*)*wd)+1 /* strlen works with these test strings */,
1132 ++wd;
  /src/external/gpl3/gcc/dist/libgcc/config/arm/
unwind-arm.c 59 _uw64 wd[16]; member in struct:wmmxd_regs
425 dest = (_uw *) &tmp.wd[start];
  /src/external/gpl3/gcc.old/dist/libgcc/config/arm/
unwind-arm.c 59 _uw64 wd[16]; member in struct:wmmxd_regs
397 dest = (_uw *) &tmp.wd[start];

Completed in 43 milliseconds

1 2 3