Lines Matching refs:e_devname
413 encioc_elm_devnames_t e_devname; in objmap() local
433 e_devname.elm_devnames = calloc(128, sizeof(char)); in objmap()
434 if (e_devname.elm_devnames == NULL) in objmap()
436 e_devname.elm_names_size = 128; in objmap()
511 e_devname.elm_idx = e_ptr[j].elm_idx; in objmap()
513 (caddr_t) &e_devname) <0) { in objmap()
515 e_devname.elm_devnames[0] = '\0'; in objmap()
528 if (e_devname.elm_names_len > 0) { in objmap()
530 e_devname.elm_devnames); in objmap()
540 free(e_devname.elm_devnames); in objmap()
627 encioc_elm_devnames_t e_devname; in show_device() local
632 memset(&e_devname, 0, sizeof(e_devname)); in show_device()
633 e_devname.elm_idx = elm_idx; in show_device()
634 e_devname.elm_names_size = 128; in show_device()
635 e_devname.elm_devnames = calloc(128, sizeof(char)); in show_device()
636 if (e_devname.elm_devnames == NULL) { in show_device()
642 (caddr_t) &e_devname) < 0) { in show_device()
644 e_devname.elm_devnames[0] = '\0'; in show_device()
647 skip_pass_devices(e_devname.elm_devnames, 128); in show_device()
648 fetch_device_details(e_devname.elm_devnames, &model, &serial, &size); in show_device()
654 xo_emit("{d:device_names/%-7s} ", e_devname.elm_names_len > 0 ? e_devname.elm_devnames : "-"); in show_device()
655 xo_emit("{e:device_names/%s}", e_devname.elm_names_len > 0 ? e_devname.elm_devnames : ""); in show_device()
671 free(e_devname.elm_devnames); in show_device()