Lines Matching refs:device_path

361 	const char	*device_path,	/* Device pathname */
373 if (stat(device_path, &stat_buf) != 0) {
390 device_fd = open(device_path, O_RDONLY);
444 char **device_path) /* Returned default device pathname */
451 *device_path = NULL;
463 *device_path = default_dev->pathname;
468 if (*device_path == NULL) {
469 *device_path = default_dev->pathname;
694 const char *device_path, /* Device pathname */
706 device_path, NULL, &vis_ident, NULL);
708 PrintError("%s, %s", strerror(error_code), device_path);
777 char *device_path) /* Device pathname */
825 if (device_path != NULL) {
829 x_server, device_path, &config_prog_path);
832 argv[2] = device_path;
940 get_device_mask(char * device_path)
942 if (strstr(device_path, "ast")) {
944 } else if (strstr(device_path, "efb")) {
946 } else if (strstr(device_path, "nfb")) {
948 } else if (strstr(device_path, "pfb")) {
950 } else if (strstr(device_path, "kfb")) {
952 } else if (strstr(device_path, "ifb")) {
954 } else if (strstr(device_path, "jfb")) {
956 } else if (strstr(device_path, "ffb")) {
958 } else if (strstr(device_path, "m64")) {
973 char device_path[MAX_DEV_PATH_LEN + MAX_SUFFIX_LIST_LEN];
1056 strncpy(device_path, DEVICE_DIR "/", MAX_DEV_PATH_LEN);
1075 strcpy(&device_path[dir_len], dev_entry->name);
1088 device_path,
1092 *device_mask |= get_device_mask(device_path);
1161 suffix_ptr = &device_path[dir_len + file_len]; /* The Nul */
1169 &device_path[dir_len],
1201 device_path[dir_len + file_len] = ' '; /* Was Nul */
1220 device_path, device_model, program_field);
1260 char device_path[MAX_DEV_PATH_LEN];
1324 strcpy(&device_path[dir_len], dir_entry->d_name);
1330 device_path, NULL, &vis_ident, NULL);
1576 char *device_path; /* Device pathname */
1668 device_path = GetDevicePathname(
1677 cfg_argv[n+1] = device_path;
1708 (void) GetDefaultDevicePathname(&device_path);
1721 PrintHelp(x_server, device_path);
1769 if ((device_path != NULL) &&
1770 (FindConfigProgram(x_server, device_path, &config_prog_path) == 0)
1776 cfg_argv[2] = device_path;