Searched refs:namelist (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-9.3-release/share/examples/sunrpc/dir/
H A Ddir.x9 typedef struct namenode *namelist; /* a link in the listing */
16 namelist next; /* next entry */
24 namelist list; /* no error: return directory listing */
H A Ddir_proc.c19 namelist nl;
20 namelist *nlp;
H A Drls.c19 namelist nl;
/freebsd-9.3-release/usr.bin/gprof/
H A Dkernel.c21 char *namelist; local
28 namelist = malloc(len);
29 if (namelist == NULL)
31 if (sysctlbyname("kern.function_list", namelist, &len, NULL,
35 free(namelist);
40 for (name = namelist; *name != '\0'; name += strlen(name) + 1)
46 for (name = namelist; *name != '\0'; name += strlen(name) + 1) {
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dwps_ufd.c60 struct dirent **namelist; local
63 file_num = scandir(path, &namelist, &dev_pwd_e_file_filter,
72 os_free(namelist);
75 os_strlcpy(file_name, namelist[0]->d_name, 13);
77 os_free(namelist[i]);
78 os_free(namelist);
/freebsd-9.3-release/usr.sbin/ngctl/
H A Dlist.c68 struct namelist *nlist;
113 nlist = (struct namelist *) resp->data;
H A Ddot.c66 struct namelist *nlist;
111 nlist = (struct namelist *)nlresp->data;
/freebsd-9.3-release/contrib/ofed/management/libibumad/src/
H A Dumad.c129 struct dirent **namelist = NULL; local
166 ret = sys_scandir(port_dir, &namelist, check_for_digit_name, NULL);
179 idx = strtoul(namelist[i]->d_name, NULL, 0);
180 sys_read_uint(port_dir, namelist[i]->d_name, &val);
182 free(namelist[i]);
185 free(namelist);
186 namelist = NULL;
194 if (namelist) {
196 free(namelist[i]);
197 free(namelist);
353 struct dirent **namelist; local
526 struct dirent **namelist; local
[all...]
/freebsd-9.3-release/usr.bin/systat/
H A Dsystat.h40 int (*c_init)(void); /* initialize namelist, etc. */
65 #define NVAL(indx) namelist[(indx)].n_value
H A Dmain.c113 if (kvm_nlist(kd, namelist) != 0 || namelist[0].n_value == 0 ||
114 kvm_read(kd, namelist[0].n_value, &dummy, sizeof(dummy)) !=
/freebsd-9.3-release/lib/libc/gen/
H A Dscandir.c40 * struct dirent (through namelist). Returns -1 if there were any errors.
63 scandir(const char *dirname, struct dirent ***namelist, argument
116 *namelist = names;
/freebsd-9.3-release/usr.bin/mail/
H A Dlist.c117 char *namelist[NMLSIZE], *bufp; local
126 np = &namelist[0];
254 if ((np > namelist || colmod != 0) && mc == 0)
264 if (np > namelist) {
266 for (mc = 0, np = &namelist[0]; *np != NULL; np++)
295 namelist[0]);
296 for (np = &namelist[1]; *np != NULL; np++)
H A Dsend.c294 char **namelist; local
361 namelist = unpack(cat(hp->h_smopts, to));
366 for (t = namelist; *t != NULL; t++)
409 execv(cp, namelist);
/freebsd-9.3-release/sbin/ddb/
H A Dddb_capture.c56 static struct nlist namelist[] = { variable in typeref:struct:nlist
89 ret = kvm_read(kvm, namelist[index].n_value + offset, address, size);
232 if (kvm_nlist(kvm, namelist) != 0)
/freebsd-9.3-release/contrib/bind9/lib/export/samples/
H A Dsample.c246 dns_namelist_t namelist; local
358 ISC_LIST_INIT(namelist);
360 resopt, &namelist);
365 for (name = ISC_LIST_HEAD(namelist); name != NULL;
375 dns_client_freeresanswer(client, &namelist);
/freebsd-9.3-release/lib/libmemstat/
H A Dmemstat_malloc.c45 static struct nlist namelist[] = { variable in typeref:struct:nlist
272 ret = kvm_read(kvm, namelist[index].n_value + offset, address, size);
296 if (kvm_nlist(kvm, namelist) != 0) {
301 if (namelist[X_KMEMSTATISTICS].n_type == 0 ||
302 namelist[X_KMEMSTATISTICS].n_value == 0) {
H A Dmemstat_uma.c52 static struct nlist namelist[] = { variable in typeref:struct:nlist
283 ret = kvm_read(kvm, namelist[index].n_value + offset, address, size);
312 if (kvm_nlist(kvm, namelist) != 0) {
316 if (namelist[X_UMA_KEGS].n_type == 0 ||
317 namelist[X_UMA_KEGS].n_value == 0) {
/freebsd-9.3-release/tools/tools/umastat/
H A Dumastat.c46 static struct nlist namelist[] = { variable in typeref:struct:nlist
108 ret = kvm_read(kvm, namelist[index].n_value + offset, address, size);
317 if (kvm_nlist(kvm, namelist) != 0)
320 if (namelist[X_UMA_KEGS].n_type == 0 ||
321 namelist[X_UMA_KEGS].n_value == 0)
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dtkey.c140 isc_uint32_t ttl, dns_namelist_t *namelist)
178 ISC_LIST_APPEND(*namelist, newname, link);
202 free_namelist(dns_message_t *msg, dns_namelist_t *namelist) { argument
206 while (!ISC_LIST_EMPTY(*namelist)) {
207 name = ISC_LIST_HEAD(*namelist);
208 ISC_LIST_UNLINK(*namelist, name, link);
273 dns_tsig_keyring_t *ring, dns_namelist_t *namelist)
352 RETERR(add_rdata_to_list(msg, keyname, &keyrdata, ttl, namelist));
366 RETERR(add_rdata_to_list(msg, &ourname, &ourkeyrdata, 0, namelist));
416 if (!ISC_LIST_EMPTY(*namelist))
139 add_rdata_to_list(dns_message_t *msg, dns_name_t *name, dns_rdata_t *rdata, isc_uint32_t ttl, dns_namelist_t *namelist) argument
270 process_dhtkey(dns_message_t *msg, dns_name_t *signer, dns_name_t *name, dns_rdata_tkey_t *tkeyin, dns_tkeyctx_t *tctx, dns_rdata_tkey_t *tkeyout, dns_tsig_keyring_t *ring, dns_namelist_t *namelist) argument
621 dns_namelist_t namelist; local
944 dns_namelist_t namelist; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dclient.h267 unsigned int options, dns_namelist_t *namelist);
286 * 'namelist' will contain a list of answer names, each of which has
315 *\li 'namelist' != NULL and is not empty.
362 dns_client_freeresanswer(dns_client_t *client, dns_namelist_t *namelist);
364 * Free resources allocated for the content of 'namelist'.
370 *\li 'namelist' != NULL.
/freebsd-9.3-release/contrib/ofed/management/libibcommon/src/
H A Dsysfs.c174 sys_scandir(const char *dirname, struct dirent ***namelist, argument
193 *namelist = NULL;
284 *namelist = names;
/freebsd-9.3-release/usr.sbin/pstat/
H A Dpstat.c86 } namelist[] = { variable in typeref:struct:__anon11059
93 #define NNAMES (sizeof(namelist) / sizeof(*namelist))
184 nl[namelist[i].order].n_name = strdup(namelist[i].name);
/freebsd-9.3-release/usr.bin/vmstat/
H A Dvmstat.c81 static struct nlist namelist[] = { variable in typeref:struct:nlist
262 if (kd != NULL && (c = kvm_nlist(kd, namelist)) != 0) {
266 c < (int)(sizeof(namelist)/sizeof(namelist[0]));
268 if (namelist[c].n_type == 0)
270 namelist[c].n_name);
673 if (namelist[X_STATHZ].n_type != 0 &&
674 namelist[X_STATHZ].n_value != 0)
1306 if (namelist[nlx].n_type == 0 || namelist[nl
[all...]
/freebsd-9.3-release/contrib/ofed/management/libibcommon/include/infiniband/
H A Dcommon.h133 int sys_scandir(const char *dirname, struct dirent ***namelist,
/freebsd-9.3-release/usr.bin/ipcs/
H A Dipcs.c112 char *core = NULL, *user = NULL, *namelist = NULL; local
138 namelist = optarg;
180 if (namelist != NULL || core != NULL)
184 kd = kvm_openfiles(namelist, core, NULL, O_RDONLY, kvmoferr);
567 "ipcs [-abcmopqstyMQST] [-C corefile] [-N namelist] [-u user]\n");

Completed in 193 milliseconds

12