namelist          585 drivers/staging/greybus/tools/loopback_test.c 	struct dirent **namelist;
namelist          590 drivers/staging/greybus/tools/loopback_test.c 	n = scandir(t->sysfs_prefix, &namelist, NULL, alphasort);
namelist          604 drivers/staging/greybus/tools/loopback_test.c 		ret = sscanf(namelist[i]->d_name, "gb_loopback%u", &dev_id);
namelist          608 drivers/staging/greybus/tools/loopback_test.c 		if (!is_loopback_device(t->sysfs_prefix, namelist[i]->d_name))
namelist          632 drivers/staging/greybus/tools/loopback_test.c 		free(namelist[i]);
namelist          633 drivers/staging/greybus/tools/loopback_test.c 	free(namelist);
namelist         2614 sound/usb/mixer.c 	char **namelist;
namelist         2655 sound/usb/mixer.c 	namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL);
namelist         2656 sound/usb/mixer.c 	if (!namelist) {
namelist         2664 sound/usb/mixer.c 		namelist[i] = kmalloc(MAX_ITEM_NAME_LEN, GFP_KERNEL);
namelist         2665 sound/usb/mixer.c 		if (!namelist[i]) {
namelist         2669 sound/usb/mixer.c 		len = check_mapped_selector_name(state, unitid, i, namelist[i],
namelist         2672 sound/usb/mixer.c 			len = get_term_name(state->chip, &iterm, namelist[i],
namelist         2675 sound/usb/mixer.c 			sprintf(namelist[i], "Input %u", i);
namelist         2684 sound/usb/mixer.c 	kctl->private_value = (unsigned long)namelist;
namelist         2731 sound/usb/mixer.c 		kfree(namelist[i]);
namelist         2732 sound/usb/mixer.c 	kfree(namelist);
namelist         1130 tools/perf/util/machine.c 	struct dirent **namelist = NULL;
namelist         1143 tools/perf/util/machine.c 		items = scandir(symbol_conf.guestmount, &namelist, NULL, NULL);
namelist         1147 tools/perf/util/machine.c 			if (!isdigit(namelist[i]->d_name[0])) {
namelist         1151 tools/perf/util/machine.c 			pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10);
namelist         1153 tools/perf/util/machine.c 			    (endp == namelist[i]->d_name) ||
namelist         1156 tools/perf/util/machine.c 					 namelist[i]->d_name);
namelist         1161 tools/perf/util/machine.c 				namelist[i]->d_name);
namelist         1170 tools/perf/util/machine.c 		free(namelist);
namelist         2596 tools/perf/util/probe-event.c 			      struct strlist *namelist, bool ret_event,
namelist         2619 tools/perf/util/probe-event.c 	if (!strlist__has_entry(namelist, buf))
namelist         2639 tools/perf/util/probe-event.c 		if (!strlist__has_entry(namelist, buf))
namelist         2691 tools/perf/util/probe-event.c 				       struct strlist *namelist,
namelist         2720 tools/perf/util/probe-event.c 	ret = get_new_event_name(buf, 64, event, namelist,
namelist         2733 tools/perf/util/probe-event.c 	strlist__add(namelist, event);
namelist         2738 tools/perf/util/probe-event.c 					  struct strlist **namelist)
namelist         2747 tools/perf/util/probe-event.c 	*namelist = probe_file__get_namelist(fd);
namelist         2748 tools/perf/util/probe-event.c 	if (!(*namelist)) {
namelist         2763 tools/perf/util/probe-event.c 	struct strlist *namelist[2] = {NULL, NULL};
namelist         2767 tools/perf/util/probe-event.c 	fd[up] = __open_probe_file_and_namelist(up, &namelist[up]);
namelist         2777 tools/perf/util/probe-event.c 								&namelist[up]);
namelist         2786 tools/perf/util/probe-event.c 		ret = probe_trace_event__set_name(tev, pev, namelist[up],
namelist         2818 tools/perf/util/probe-event.c 		strlist__delete(namelist[up]);
namelist         3387 tools/perf/util/probe-event.c 	struct strlist *namelist = strlist__new(NULL, NULL);
namelist         3392 tools/perf/util/probe-event.c 	if (!namelist)
namelist         3405 tools/perf/util/probe-event.c 							  namelist, true);
namelist         3410 tools/perf/util/probe-event.c 	strlist__delete(namelist);
namelist          291 tools/perf/util/probe-file.c 	struct strlist *namelist;
namelist          299 tools/perf/util/probe-file.c 	namelist = __probe_file__get_namelist(fd, true);
namelist          300 tools/perf/util/probe-file.c 	if (!namelist)
namelist          303 tools/perf/util/probe-file.c 	strlist__for_each_entry(ent, namelist) {
namelist          311 tools/perf/util/probe-file.c 	strlist__delete(namelist);
namelist          316 tools/perf/util/probe-file.c int probe_file__del_strlist(int fd, struct strlist *namelist)
namelist          321 tools/perf/util/probe-file.c 	strlist__for_each_entry(ent, namelist) {
namelist          331 tools/perf/util/probe-file.c 	struct strlist *namelist;
namelist          334 tools/perf/util/probe-file.c 	namelist = strlist__new(NULL, NULL);
namelist          335 tools/perf/util/probe-file.c 	if (!namelist)
namelist          338 tools/perf/util/probe-file.c 	ret = probe_file__get_events(fd, filter, namelist);
namelist          342 tools/perf/util/probe-file.c 	ret = probe_file__del_strlist(fd, namelist);
namelist          343 tools/perf/util/probe-file.c 	strlist__delete(namelist);
namelist           50 tools/perf/util/probe-file.h int probe_file__del_strlist(int fd, struct strlist *namelist);
namelist           38 tools/perf/util/thread_map.c 	struct dirent **namelist = NULL;
namelist           42 tools/perf/util/thread_map.c 	items = scandir(name, &namelist, filter, NULL);
namelist           49 tools/perf/util/thread_map.c 			perf_thread_map__set_pid(threads, i, atoi(namelist[i]->d_name));
namelist           55 tools/perf/util/thread_map.c 		zfree(&namelist[i]);
namelist           56 tools/perf/util/thread_map.c 	free(namelist);
namelist           79 tools/perf/util/thread_map.c 	struct dirent *dirent, **namelist = NULL;
namelist          110 tools/perf/util/thread_map.c 		items = scandir(path, &namelist, filter, NULL);
namelist          131 tools/perf/util/thread_map.c 						    atoi(namelist[i]->d_name));
namelist          135 tools/perf/util/thread_map.c 			zfree(&namelist[i]);
namelist          136 tools/perf/util/thread_map.c 		free(namelist);
namelist          152 tools/perf/util/thread_map.c 		zfree(&namelist[i]);
namelist          153 tools/perf/util/thread_map.c 	free(namelist);
namelist          186 tools/perf/util/thread_map.c 	struct dirent **namelist = NULL;
namelist          208 tools/perf/util/thread_map.c 		items = scandir(name, &namelist, filter, NULL);
namelist          220 tools/perf/util/thread_map.c 			perf_thread_map__set_pid(threads, j++, atoi(namelist[i]->d_name));
namelist          221 tools/perf/util/thread_map.c 			zfree(&namelist[i]);
namelist          224 tools/perf/util/thread_map.c 		free(namelist);
namelist          235 tools/perf/util/thread_map.c 		zfree(&namelist[i]);
namelist          236 tools/perf/util/thread_map.c 	free(namelist);
namelist           64 tools/testing/selftests/ia64/aliasing-test.c 	struct dirent **namelist;
namelist           69 tools/testing/selftests/ia64/aliasing-test.c 	n = scandir(path, &namelist, 0, alphasort);
namelist           76 tools/testing/selftests/ia64/aliasing-test.c 		name = namelist[i]->d_name;
namelist          111 tools/testing/selftests/ia64/aliasing-test.c 		free(namelist[i]);
namelist          113 tools/testing/selftests/ia64/aliasing-test.c 	free(namelist);
namelist          149 tools/testing/selftests/ia64/aliasing-test.c 	struct dirent **namelist;
namelist          154 tools/testing/selftests/ia64/aliasing-test.c 	n = scandir(path, &namelist, 0, alphasort);
namelist          161 tools/testing/selftests/ia64/aliasing-test.c 		name = namelist[i]->d_name;
namelist          200 tools/testing/selftests/ia64/aliasing-test.c 		free(namelist[i]);
namelist          202 tools/testing/selftests/ia64/aliasing-test.c 	free(namelist);
namelist          281 tools/thermal/tmon/sysfs.c 	struct dirent **namelist;
namelist          298 tools/thermal/tmon/sysfs.c 		n = scandir(tz_name, &namelist, 0, alphasort);
namelist          311 tools/thermal/tmon/sysfs.c 				if (find_tzone_tp(tz_name, namelist[n]->d_name,
namelist          314 tools/thermal/tmon/sysfs.c 				temp_str = strstr(namelist[n]->d_name, "cdev");
namelist          316 tools/thermal/tmon/sysfs.c 					free(namelist[n]);
namelist          319 tools/thermal/tmon/sysfs.c 				if (!find_tzone_cdev(namelist[n], tz_name,
namelist          322 tools/thermal/tmon/sysfs.c 				free(namelist[n]);
namelist          324 tools/thermal/tmon/sysfs.c 			free(namelist);
namelist          339 tools/thermal/tmon/sysfs.c 	struct dirent **namelist;
namelist          360 tools/thermal/tmon/sysfs.c 		n = scandir(cdev_name, &namelist, 0, alphasort);
namelist          371 tools/thermal/tmon/sysfs.c 				free(namelist[n]);
namelist          372 tools/thermal/tmon/sysfs.c 			free(namelist);
namelist          384 tools/thermal/tmon/sysfs.c 	struct dirent **namelist;
namelist          392 tools/thermal/tmon/sysfs.c 	n = scandir(THERMAL_SYSFS, &namelist, 0, alphasort);
namelist          400 tools/thermal/tmon/sysfs.c 			if (strstr(namelist[n]->d_name, CDEV)) {
namelist          401 tools/thermal/tmon/sysfs.c 				inst = get_instance_id(namelist[n]->d_name, 1,
namelist          410 tools/thermal/tmon/sysfs.c 					namelist[n]->d_name,
namelist          414 tools/thermal/tmon/sysfs.c 			} else if (strstr(namelist[n]->d_name, TZONE)) {
namelist          415 tools/thermal/tmon/sysfs.c 				inst = get_instance_id(namelist[n]->d_name, 1,
namelist          421 tools/thermal/tmon/sysfs.c 					namelist[n]->d_name,
namelist          426 tools/thermal/tmon/sysfs.c 			free(namelist[n]);
namelist          428 tools/thermal/tmon/sysfs.c 		free(namelist);
namelist          158 tools/usb/usbip/libsrc/vhci_driver.c 	struct dirent **namelist;
namelist          166 tools/usb/usbip/libsrc/vhci_driver.c 	n = scandir(udev_device_get_syspath(platform), &namelist, vhci_hcd_filter, NULL);
namelist          171 tools/usb/usbip/libsrc/vhci_driver.c 			free(namelist[i]);
namelist          172 tools/usb/usbip/libsrc/vhci_driver.c 		free(namelist);