Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c83 static int ibcfg_tmpfd = 0; /* tmp file "fd" */ variable
702 if (ibcfg_tmpfd && wrote_tmp == B_TRUE) { in ib_cleanup_file()
705 close(ibcfg_tmpfd); in ib_cleanup_file()
1019 if ((ibcfg_tmpfd = creat(tmpnamef, 0666)) == -1) { in ib_delete_service()
1031 close(ibcfg_tmpfd); in ib_delete_service()
1037 if (write(ibcfg_tmpfd, file_buf, ibcfg_brec) == -1) { in ib_delete_service()
1040 close(ibcfg_tmpfd); in ib_delete_service()
1046 if (write(ibcfg_tmpfd, sbuf, sbuf_len) == -1) { in ib_delete_service()
1049 close(ibcfg_tmpfd); in ib_delete_service()
1055 if (write(ibcfg_tmpfd, file_buf + ibcfg_brec + sbuf_len + tot_len, in ib_delete_service()
[all …]