/freebsd-11-stable/sys/arm/altera/socfpga/ |
H A D | socfpga_common.h | 33 #define READ4(_sc, _reg) bus_read_4((_sc)->res[0], _reg) 34 #define READ2(_sc, _reg) bus_read_2((_sc)->res[0], _reg) 35 #define READ1(_sc, _reg) bus_read_1((_sc)->res[0], _reg) 36 #define WRITE4(_sc, _reg, _val) bus_write_4((_sc)->res[0], _reg, _val) 37 #define WRITE2(_sc, _reg, _val) bus_write_2((_sc)->res[0], _reg, _val) 38 #define WRITE1(_sc, _reg, _val) bus_write_1((_sc)->res[0], _reg, _val)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 17 // long res = syscall(__NR_getfoo, ...args...); 18 // __sanitizer_syscall_post_getfoo(res, ...args...); 25 #define __sanitizer_syscall_post_time(res, tloc) \ 26 __sanitizer_syscall_post_impl_time(res, (long)(tloc)) 29 #define __sanitizer_syscall_post_stime(res, tptr) \ 30 __sanitizer_syscall_post_impl_stime(res, (long)(tptr)) 33 #define __sanitizer_syscall_post_gettimeofday(res, tv, tz) \ 34 __sanitizer_syscall_post_impl_gettimeofday(res, (long)(tv), (long)(tz)) 37 #define __sanitizer_syscall_post_settimeofday(res, tv, tz) \ 38 __sanitizer_syscall_post_impl_settimeofday(res, (lon [all...] |
H A D | netbsd_syscall_hooks.h | 17 // long long res = syscall(SYS_getfoo, ...args...); 18 // __sanitizer_syscall_post_getfoo(res, ...args...); 36 #define __sanitizer_syscall_post_syscall(res, code, arg0, arg1, arg2, arg3, \ 39 res, (long long)(code), (long long)(arg0), (long long)(arg1), \ 44 #define __sanitizer_syscall_post_exit(res, rval) \ 45 __sanitizer_syscall_post_impl_exit(res, (long long)(rval)) 47 #define __sanitizer_syscall_post_fork(res) \ 48 __sanitizer_syscall_post_impl_fork(res) 52 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \ 53 __sanitizer_syscall_post_impl_read(res, (lon [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_rmdirrace.c | 68 int res, fd, quit; local 77 res = rump_sys_chdir(path); 78 if (res == -1) 83 res = pthread_create(&th1, NULL, func1, &quit); 84 if (res != 0) 86 res = pthread_create(&th2, NULL, func2, &quit); 87 if (res != 0) 94 res = pthread_join(th2, NULL); 95 if (res != 0) 97 res [all...] |
/freebsd-11-stable/sbin/hastd/ |
H A D | control.c | 59 child_cleanup(struct hast_resource *res) argument 62 proto_close(res->hr_ctrl); 63 res->hr_ctrl = NULL; 64 if (res->hr_event != NULL) { 65 proto_close(res->hr_event); 66 res->hr_event = NULL; 68 if (res->hr_conn != NULL) { 69 proto_close(res->hr_conn); 70 res->hr_conn = NULL; 72 res 76 control_set_role_common(struct hastd_config *cfg, struct nv *nvout, uint8_t role, struct hast_resource *res, const char *name, unsigned int no) argument 145 control_set_role(struct hast_resource *res, uint8_t role) argument 152 control_status_worker(struct hast_resource *res, struct nv *nvout, unsigned int no) argument 240 control_status(struct hastd_config *cfg, struct nv *nvout, struct hast_resource *res, const char *name, unsigned int no) argument 368 struct hast_resource *res; local 436 struct hast_resource *res = arg; local [all...] |
H A D | control.h | 43 void child_cleanup(struct hast_resource *res); 45 void control_set_role(struct hast_resource *res, uint8_t role);
|
H A D | event.h | 45 void event_send(const struct hast_resource *res, int event); 46 int event_recv(const struct hast_resource *res);
|
H A D | metadata.c | 49 metadata_read(struct hast_resource *res, bool openrw) argument 65 if (res->hr_localfd == -1) { 66 if (provinfo(res, openrw) == -1) { 71 pjdlog_debug(1, "Obtained info about %s.", res->hr_localpath); 73 if (flock(res->hr_localfd, LOCK_EX | LOCK_NB) == -1) { 77 res->hr_localpath); 81 res->hr_localpath); 85 pjdlog_debug(1, "Locked %s.", res->hr_localpath); 105 done = pread(res->hr_localfd, buf, METADATA_SIZE, 0); 116 res 171 metadata_write(struct hast_resource *res) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_lfs.c | 66 int res; local 73 res = system(cmd); 74 if (res != 0) 75 return res; 77 res = rump_init(); 78 if (res != 0) 79 return res; 91 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK); 92 if (res != 0) { 94 return res; 106 int res; local 156 int res; local 181 int res; local [all...] |
/freebsd-11-stable/contrib/amd/hlfsd/ |
H A D | stubs.c | 90 static char res; local 92 return (voidp) &res; 107 static nfsattrstat res; local 122 res.ns_status = NFSERR_STALE; 123 return &res; 137 res.ns_status = NFS_OK; 138 res.ns_u.ns_attr_u = rootfattr; 157 res.ns_status = NFS_OK; 158 res.ns_u.ns_attr_u = slinkfattr; 161 res 182 static nfsattrstat res = {NFSERR_ROFS}; local 191 static char res; local 200 static nfsdiropres res; local 301 static nfsreadlinkres res; local 387 static nfsreadres res = {NFSERR_ACCES}; local 396 static char res; local 405 static nfsattrstat res = {NFSERR_ROFS}; local 414 static nfsdiropres res = {NFSERR_ROFS}; local 423 static nfsstat res = {NFSERR_ROFS}; local 432 static nfsstat res = {NFSERR_ROFS}; local 441 static nfsstat res = {NFSERR_ROFS}; local 450 static nfsstat res = {NFSERR_ROFS}; local 459 static nfsdiropres res = {NFSERR_ROFS}; local 468 static nfsstat res = {NFSERR_ROFS}; local 477 static nfsreaddirres res; local 515 static nfsstatfsres res = {NFS_OK}; local [all...] |
/freebsd-11-stable/contrib/gcclibs/libgomp/config/linux/x86/ |
H A D | futex.h | 42 long res; local 45 : "=a" (res) 54 long res; local 57 : "=a" (res) 71 long res; local 76 : "=a" (res) 87 long res; local 90 : "=a" (res)
|
/freebsd-11-stable/usr.sbin/rpc.ypupdated/ |
H A D | ypupdated_server.c | 97 static int res; local 101 res = 0; 107 return(&res); 113 res = localupdate(netname, "/etc/publickey", YPOP_CHANGE, 117 if (res) 118 return (&res); 120 res = ypmap_update(netname, args->mapname, YPOP_CHANGE, 124 return (&res); 131 static int res; local 135 res 165 static int res; local 199 static int res; local [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac_libcdep.cpp | 23 void *res = MmapFixedNoAccess(max_address, size_to_mmap, "high gap"); local 24 CHECK(res != MAP_FAILED);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 22 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); local 23 if (res != (void*)-1) 24 dfsan_set_label(0, res, RoundUpTo(length, GetPageSize())); 25 return res; 30 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset); local 31 if (res != (void*)-1) 32 dfsan_set_label(0, res, RoundUpTo(length, GetPageSize())); 33 return res;
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_restrict.c | 127 restrict_u * res, 135 inet_ntop(AF_INET6, &res->u.v6.addr, as, sizeof as); 136 inet_ntop(AF_INET6, &res->u.v6.mask, ms, sizeof ms); 138 struct in_addr sia = { htonl(res->u.v4.addr) }; 139 struct in_addr sim = { htonl(res->u.v4.mask) }; 145 res, as, ms, res->count, res->rflags, res->mflags, 146 res 126 dump_restrict( restrict_u * res, int is_ipv6 ) argument 157 restrict_u * res; local 240 restrict_u * res; local 266 restrict_u * res; local 287 free_res( restrict_u * res, int v6 ) argument 342 restrict_u * res; local 373 restrict_u * res; local 408 restrict_u *res; local 611 restrict_u * res; local 752 restrict_u * res; local [all...] |
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | kodFile.c | 49 struct kod_entry* res; local 51 TEST_ASSERT_EQUAL(1, search_entry("192.0.2.5", &res)); 52 TEST_ASSERT_EQUAL_STRING("DENY", res->type); 53 TEST_ASSERT_EQUAL_STRING("192.0.2.5", res->hostname); 54 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); 56 TEST_ASSERT_EQUAL(1, search_entry("192.0.2.100", &res)); 57 TEST_ASSERT_EQUAL_STRING("RSTR", res->type); 58 TEST_ASSERT_EQUAL_STRING("192.0.2.100", res->hostname); 59 TEST_ASSERT_EQUAL(0xfff, res->timestamp); 69 struct kod_entry* res; local [all...] |
/freebsd-11-stable/sys/kgssapi/ |
H A D | gss_accept_sec_context.c | 57 struct accept_sec_context_res res; local 82 bzero(&res, sizeof(res)); 83 stat = gssd_accept_sec_context_1(&args, &res, cl); 90 if (res.major_status != GSS_S_COMPLETE 91 && res.major_status != GSS_S_CONTINUE_NEEDED) { 92 *minor_status = res.minor_status; 93 xdr_free((xdrproc_t) xdr_accept_sec_context_res, &res); 94 return (res.major_status); 97 *minor_status = res [all...] |
H A D | gss_init_sec_context.c | 61 struct init_sec_context_res res; local 94 bzero(&res, sizeof(res)); 95 stat = gssd_init_sec_context_1(&args, &res, cl); 102 if (res.major_status != GSS_S_COMPLETE 103 && res.major_status != GSS_S_CONTINUE_NEEDED) { 104 *minor_status = res.minor_status; 105 xdr_free((xdrproc_t) xdr_init_sec_context_res, &res); 106 return (res.major_status); 109 *minor_status = res [all...] |
H A D | gss_pname_to_uid.c | 47 struct pname_to_uid_res res; local 64 bzero(&res, sizeof(res)); 65 stat = gssd_pname_to_uid_1(&args, &res, cl); 72 if (res.major_status != GSS_S_COMPLETE) { 73 *minor_status = res.minor_status; 74 return (res.major_status); 77 *uidp = res.uid; 87 struct pname_to_uid_res res; local 105 bzero(&res, sizeo [all...] |
/freebsd-11-stable/contrib/ncurses/form/ |
H A D | fld_pad.c | 51 int res = E_BAD_ARGUMENT; local 61 res = _nc_Synchronize_Attributes(field); 64 res = E_OK; 66 RETURN(res);
|
/freebsd-11-stable/stand/libsa/ |
H A D | zalloc_malloc.c | 56 Guard *res; local 64 while ((res = znalloc(&MallocPool, bytes)) == NULL) { 78 res->ga_Magic = GAMAGIC; 80 res->ga_Bytes = bytes; 82 *((signed char *)res + bytes - 1) = -2; 85 return((char *)res + MALLOCALIGN); 94 Guard *res = (void *)((char *)ptr - MALLOCALIGN); local 99 if (res->ga_Magic == GAFREE) { 103 if (res->ga_Magic != GAMAGIC) 105 res 130 void *res; local 151 void *res; local 181 void *res; local [all...] |
/freebsd-11-stable/contrib/gcc/config/ |
H A D | udivmodsi4.c | 5 unsigned long res = 0; local 17 res |= bit; 23 return res;
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | h_errno.c | 37 void __h_errno_set(res_state res, int err); 46 __h_errno_set(res_state res, int err) argument 48 h_errno = res->res_h_errno = err;
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | kvatoname.c | 21 ipfunc_resolve_t res; local 24 res.ipfu_addr = func; 25 res.ipfu_name[0] = '\0'; 33 (void) (*iocfunc)(fd, SIOCFUNCL, &res); 36 strncpy(funcname, res.ipfu_name, sizeof(funcname));
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | crc.c | 64 _krb5_crc_update (const char *p, size_t len, uint32_t res) argument 67 res = table[(res ^ *p++) & 0xFF] ^ (res >> 8); 68 return res & 0xFFFFFFFF;
|