Searched refs:fcode_fd (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 143 int fd, fcode_fd = -1, errnum = 0, devcnt = 0, retval = 0, isSbus = 0; in q_qlgc_update() local 169 if ((fcode_fd = open(file, O_RDONLY)) < 0) { in q_qlgc_update() 174 if (read(fcode_fd, fcode_buf, FCODE_HDR) != FCODE_HDR) { in q_qlgc_update() 176 (void) close(fcode_fd); in q_qlgc_update() 185 isSbus = q_findSbusfile(fcode_fd, &sbus_off); in q_qlgc_update() 187 (void) close(fcode_fd); in q_qlgc_update() 223 (void) close(fcode_fd); in q_qlgc_update() 234 (void) close(fcode_fd); in q_qlgc_update() 341 (void) close(fcode_fd); in q_qlgc_update() 369 if (q_load_file(fcode_fd, in q_qlgc_update() [all …]
|
H A D | x86_adm.c | 518 int emulex_fcode_reader(int fcode_fd, char *pattern, char *pattern_value, in emulex_fcode_reader() argument
|
/titanic_41/usr/src/lib/efcode/fcdriver/ |
H A D | get_req.c | 69 if (cdp->fcode_fd < 0) { in fc_get_request() 74 if ((nbytes = read(cdp->fcode_fd, &c, sizeof (c))) < 0) { in fc_get_request() 79 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { in fc_get_request() 102 if (ioctl(cdp->fcode_fd, FC_GET_MY_ARGS, buffer) < 0) { in get_my_args() 149 if (ioctl(cdp->fcode_fd, FC_GET_FCODE_DATA, &fcode_info) < 0) { in get_fcode_from_device() 308 if (ioctl(cdp->fcode_fd, FC_SET_FCODE_ERROR, &error) < 0) { in find_fcode() 319 if ((cdp->fcode_fd = open(fcode_dev, O_RDONLY)) < 0) in open_fcode_dev() 321 return (cdp->fcode_fd >= 0); in open_fcode_dev() 329 if (cdp->fcode_fd >= 0) in get_request() 330 close(cdp->fcode_fd); in get_request() [all …]
|
H A D | fcdebug.c | 65 log_message(MSG_DEBUG, "fcode_fd: %8p\n", cdp->fcode_fd); in dump_private() 85 cdp->fcode_fd = open("/dev/fcode", O_RDONLY); in trigger() 86 if (cdp->fcode_fd >= 0) { in trigger()
|
H A D | ioctl.c | 72 error = ioctl(cdp->fcode_fd, FC_RUN_PRIV, cip); in fc_run_priv()
|
H A D | upload.c | 163 error = ioctl(cdp->fcode_fd, FC_VALIDATE); in validate_nodes()
|
/titanic_41/usr/src/lib/efcode/include/fcdriver/ |
H A D | fcdriver.h | 44 int fcode_fd; member
|
/titanic_41/usr/src/lib/efcode/interpreter/ |
H A D | interpreter.c | 108 common.fcode_fd = -1; in main()
|