Lines Matching defs:objp
178 encioc_element_t *objp;
251 objp = calloc(nobj, sizeof(encioc_element_t));
252 if (objp == NULL) {
257 if (ioctl(fd, ENCIOC_GETELMMAP, (caddr_t) objp) < 0) {
258 free(objp);
265 free(objp);
270 do_led(fd, sesid, objp[sesid].elm_type, onoff, setfault);
272 free(objp);
283 es.elm_idx = objp[j].elm_idx;
291 do_led(fd, objp[j].elm_idx, objp[j].elm_type,
297 objdn.elm_idx = objp[j].elm_idx;
306 do_led(fd, objdn.elm_idx, objp[j].elm_type,
313 free(objp);