Home
last modified time | relevance | path

Searched refs:pcfi (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm.c308 pcieadm_cfgspace_file_t *pcfi = arg; in pcieadm_read_cfgspace_file() local
311 ssize_t ret = pread(pcfi->pcfi_fd, buf + bufoff, len, off); in pcieadm_read_cfgspace_file()
337 pcieadm_cfgspace_file_t *pcfi; in pcieadm_init_cfgspace_file() local
380 pcfi = calloc(1, sizeof (*pcfi)); in pcieadm_init_cfgspace_file()
381 if (pcfi == NULL) { in pcieadm_init_cfgspace_file()
386 pcfi->pcfi_fd = fd; in pcieadm_init_cfgspace_file()
387 *arg = pcfi; in pcieadm_init_cfgspace_file()
394 pcieadm_cfgspace_file_t *pcfi = arg; in pcieadm_fini_cfgspace_file() local
395 VERIFY0(close(pcfi->pcfi_fd)); in pcieadm_fini_cfgspace_file()
396 free(pcfi); in pcieadm_fini_cfgspace_file()