| /freebsd-12.1/usr.sbin/pnfsdscopymr/ |
| H A D | pnfsdscopymr.c | 76 struct addrinfo hints, *res, *nres; in main() local 190 nres = res; in main() 191 while (nres != NULL) { in main() 193 nres->ai_family) { in main() 201 memcpy(&sin, nres->ai_addr, in main() 216 nres = nres->ai_next; in main() 253 nres = res; in main() 254 while (nres != NULL) { in main() 256 nres->ai_family) { in main() 262 memcpy(&sin, nres->ai_addr, in main() [all …]
|
| /freebsd-12.1/usr.sbin/portsnap/phttpget/ |
| H A D | phttpget.c | 310 int nres = 0; /* Number of next reply to receive */ in main() local 357 while (nres < argc) { in main() 388 firstreq = nres; in main() 439 if (nres == nreq) { in main() 581 nres++; in main() 591 fname = strrchr(argv[nres], '/'); in main() 593 fname = argv[nres]; in main() 598 argv[nres]); in main() 685 nres++; in main() 703 if (nres == firstreq) in main() [all …]
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lcorolib.c | 32 int nres = lua_gettop(co); in auxresume() local 33 if (!lua_checkstack(L, nres + 1)) { in auxresume() 34 lua_pop(co, nres); /* remove results anyway */ in auxresume() 38 lua_xmove(co, L, nres); /* move yielded values */ in auxresume() 39 return nres; in auxresume()
|
| H A D | lapi.h | 17 #define adjustresults(L,nres) \ argument 18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
|
| /freebsd-12.1/sbin/hastd/ |
| H A D | hastd.c | 487 struct hast_resource *nres, *cres, *tres; in hastd_reload() local 616 if (strcmp(cres->hr_name, nres->hr_name) == 0) in hastd_reload() 619 if (nres == NULL) { in hastd_reload() 668 if (resource_needs_restart(cres, nres)) { in hastd_reload() 677 control_set_role(nres, role); in hastd_reload() 685 cres->hr_replication = nres->hr_replication; in hastd_reload() 686 cres->hr_checksum = nres->hr_checksum; in hastd_reload() 687 cres->hr_compression = nres->hr_compression; in hastd_reload() 688 cres->hr_timeout = nres->hr_timeout; in hastd_reload() 689 strlcpy(cres->hr_exec, nres->hr_exec, in hastd_reload() [all …]
|
| /freebsd-12.1/contrib/lua/src/ |
| H A D | lcorolib.c | 41 int nres = lua_gettop(co); in auxresume() local 42 if (!lua_checkstack(L, nres + 1)) { in auxresume() 43 lua_pop(co, nres); /* remove results anyway */ in auxresume() 47 lua_xmove(co, L, nres); /* move yielded values */ in auxresume() 48 return nres; in auxresume()
|
| H A D | lapi.h | 17 #define adjustresults(L,nres) \ argument 18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
|
| H A D | ldo.c | 335 int nres, int wanted) { in moveresults() argument 339 if (nres == 0) /* no results? */ in moveresults() 346 for (i = 0; i < nres; i++) /* move all results to correct place */ in moveresults() 348 L->top = res + nres; in moveresults() 353 if (wanted <= nres) { /* enough results? */ in moveresults() 358 for (i = 0; i < nres; i++) /* move all results to correct place */ in moveresults() 376 int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) { in luaD_poscall() argument 390 return moveresults(L, firstResult, res, nres, wanted); in luaD_poscall()
|
| H A D | ldo.h | 48 int nres);
|
| H A D | lua.c | 198 static int docall (lua_State *L, int narg, int nres) { in docall() argument 205 status = lua_pcall(L, narg, nres, base); in docall()
|
| /freebsd-12.1/lib/libc/net/ |
| H A D | rcmd.c | 95 int refused, nres; in rcmd_af() local 140 nres = 0; in rcmd_af() 142 nres++; in rcmd_af() 184 if (nres > 1) { in rcmd_af() 205 if (nres > 1) { in rcmd_af()
|
| /freebsd-12.1/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_subr.c | 659 size_t nres, ndt; in bhndb_alloc_host_resources() local 673 nres = 0; in bhndb_alloc_host_resources() 675 nres++; in bhndb_alloc_host_resources() 721 hr->resource_specs = malloc(sizeof(hr->resource_specs[0]) * (nres + 1), in bhndb_alloc_host_resources() 725 for (size_t i = 0; i < nres; i++) in bhndb_alloc_host_resources() 728 hr->resource_specs[nres].type = -1; in bhndb_alloc_host_resources() 731 hr->resources = malloc(sizeof(hr->resources[0]) * nres, M_BHND, in bhndb_alloc_host_resources()
|
| /freebsd-12.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_iov_api.h | 165 int nres; /* number of resources */ member
|
| H A D | ecore_sriov.c | 456 iov->nres, iov->cap, iov->ctrl, in ecore_iov_pci_cfg_info()
|
| /freebsd-12.1/contrib/unbound/iterator/ |
| H A D | iterator.c | 2411 size_t naddr, nres, navail; in processQueryTargets() local 2432 delegpt_count_addr(iq->dp, &naddr, &nres, &navail); in processQueryTargets()
|