Searched refs:cinfo (Results 1 - 25 of 73) sorted by relevance

123

/illumos-gate/usr/src/lib/libpkg/common/
H A Dckvolseq.c48 static struct cinfo cinfo; local
58 cinfo.cksum = cinfo.size = cinfo.modtime = (-1L);
60 if (cverify(0, &ftype, path, &cinfo, 1)) {
72 cinfo.modtime = (-1);
76 if (cverify(0, &ftype, path, &cinfo, 1)) {
H A Dppkgmap.c99 if (fprintf(fp, ((ept->cinfo.size == BADCONT) ? " ?" : " %llu"),
100 ept->cinfo.size) < 0)
102 if (fprintf(fp, ((ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"),
103 ept->cinfo.cksum) < 0)
106 ((ept->cinfo.modtime == BADCONT) ? " ?" : " %ld"),
107 ept->cinfo.modtime) < 0)
H A Dputcfile.c153 ((a_ept->cinfo.size == BADCONT) ? " ?" : " %llu"),
154 a_ept->cinfo.size) < 0)
158 ((a_ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"),
159 a_ept->cinfo.cksum) < 0)
163 ((a_ept->cinfo.modtime == BADCONT) ? " ?" : " %ld"),
164 a_ept->cinfo.modtime) < 0)
338 ((a_ept->cinfo.size == BADCONT) ? " ?" : " %llu"),
339 a_ept->cinfo.size);
343 ((a_ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"),
344 a_ept->cinfo
[all...]
H A Dverify.c121 * cinfo - content info structure representing the contents
144 cverify(int fix, char *ftype, char *path, struct cinfo *cinfo, argument
168 if (setval || (cinfo->modtime == BADCONT)) {
169 cinfo->modtime = status.st_mtime;
170 } else if (status.st_mtime != cinfo->modtime) {
173 times.actime = cinfo->modtime;
174 times.modtime = cinfo->modtime;
182 localtime(&cinfo->modtime)) == 0) {
194 if (setval || (cinfo
840 fverify(int fix, char *ftype, char *path, struct ainfo *ainfo, struct cinfo *cinfo) argument
[all...]
H A Dtputcfent.c145 ept->cinfo.size);
148 ept->cinfo.cksum);
149 if (ept->cinfo.modtime > 0) {
150 timep = localtime(&(ept->cinfo.modtime));
H A Dsrchcfile.c157 ept->cinfo.cksum = BADCONT;
158 ept->cinfo.modtime = BADCONT;
159 ept->cinfo.size = (fsblkcnt_t)BADCONT;
358 if (getlnumvfp(&p, 10, (fsblkcnt_t *)&ept->cinfo.size,
360 getnumvfp(&p, 10, (long *)&ept->cinfo.cksum, BADCONT) ||
361 getnumvfp(&p, 10, (long *)&ept->cinfo.modtime, BADCONT)) {
H A Dgpkgmap.c152 ept->cinfo.cksum = ept->cinfo.modtime = ept->cinfo.size = (-1L);
235 if (!getlnum(fp, 10, (fsblkcnt_t *)&ept->cinfo.size,
237 (getnum(fp, 10, (long *)&ept->cinfo.cksum,
239 getnum(fp, 10, (long *)&ept->cinfo.modtime,
375 if (!getlnum(fp, 10, (fsblkcnt_t *)&ept->cinfo.size, BADCONT) &&
376 (getnum(fp, 10, (long *)&ept->cinfo.cksum, BADCONT) ||
377 getnum(fp, 10, (long *)&ept->cinfo.modtime, BADCONT))) {
653 ept->cinfo
[all...]
H A Dpkglib.h420 extern int cverify(int fix, char *ftype, char *path, struct cinfo *cinfo,
424 struct cinfo *cinfo);
/illumos-gate/usr/src/head/
H A Dpkgstrct.h65 struct cinfo { struct
87 struct cinfo cinfo; member in struct:cfent
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgfrutree.h61 } cinfo; member in struct:__anon9839
64 #define location_slot cinfo.linfo.slot
65 #define location_label cinfo.linfo.label
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfinalck.c130 ept->cinfo.modtime = BADCONT;
131 ept->cinfo.size = BADCONT;
132 ept->cinfo.cksum = BADCONT;
135 n = cverify(1, &ept->ftype, ept->path, &ept->cinfo, 1);
190 ept->cinfo.modtime = BADCONT;
191 ept->cinfo.size = BADCONT;
192 ept->cinfo.cksum = BADCONT;
195 n = cverify(1, &ept->ftype, ept->path, &ept->cinfo, 1);
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c512 ip_xprt_create(fmd_xprt_t *xp, int fd, int flags, ip_cinfo_t *cinfo, char *addr) argument
522 ipx->ipx_cinfo = cinfo;
592 ip_xprt_setup(fmd_hdl_t *hdl, ip_cinfo_t *cinfo) argument
597 struct addrinfo *ail = cinfo->ipc_addr;
600 cinfo->ipc_name == NULL ? "localhost" : cinfo->ipc_name);
608 if (cinfo->ipc_accept)
646 ip_xprt_create(NULL, fd, xflags, cinfo, NULL);
657 if (cinfo->ipc_name != NULL) {
659 s2 = cinfo
724 ip_cinfo_t *cinfo = fmd_hdl_zalloc( local
777 ip_cinfo_t *cinfo = ip_create_cinfo(server, accept); local
857 ip_cinfo_t *cinfo; local
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dpmconfig.h80 struct cinfo { struct
89 typedef struct cinfo cinfo_t;
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dconnection.c538 struct rds_info_connection *cinfo = buffer; local
540 cinfo->next_tx_seq = conn->c_next_tx_seq;
541 cinfo->next_rx_seq = conn->c_next_rx_seq;
542 cinfo->laddr = conn->c_laddr;
543 cinfo->faddr = conn->c_faddr;
544 (void) strncpy((char *)cinfo->transport, conn->c_trans->t_name,
545 sizeof (cinfo->transport));
546 cinfo->flags = 0;
548 rdsv3_conn_info_set(cinfo->flags,
552 rdsv3_conn_info_set(cinfo
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c249 if (ept->cinfo.size != BADCONT)
250 blk = nblk(ept->cinfo.size,
317 else if (ept->cinfo.size != BADCONT)
318 blk = nblk(ept->cinfo.size,
327 else if (ept->cinfo.size != BADCONT) {
329 new_size = nblk(ept->cinfo.size,
/illumos-gate/usr/src/lib/lvm/libpreen/common/
H A Dmdpreen.c245 struct dk_cinfo cinfo; local
294 /* get device name and (real) cinfo */
307 if (ioctl(fd, DKIOCINFO, &cinfo) != 0) {
321 if (preen_subdev(devname, &cinfo, dp) != 0) {
322 preen_addunit(dp, cinfo.dki_dname, NULL, NULL,
323 cinfo.dki_unit);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c564 struct s5_dk_cinfo cinfo; local
572 ret = _ioctl(des, S5DKIOCINFO, &cinfo);
574 if ((cinfo.dki_partition < 0) || (cinfo.dki_partition >= NDKMAP)) {
584 map.dka_map[cinfo.dki_partition].dkl_cylno;
586 map.dka_map[cinfo.dki_partition].dkl_nblk;
588 map.dka_map[cinfo.dki_partition].dkl_cylno =
590 map.dka_map[cinfo.dki_partition].dkl_nblk =
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc.c776 ldc_cnex_t *cinfo = &ldcssp->cinfo; local
779 ASSERT(cinfo->dip != NULL);
799 (void) cinfo->clr_intr(cinfo->dip, ldcp->id, itype);
1988 ldc_cnex_t *cinfo = &ldcssp->cinfo; local
1990 if (cinfo->dip == NULL) {
1996 rv = cinfo->reg_chan(cinfo
2034 ldc_cnex_t *cinfo = &ldcssp->cinfo; local
4665 ldc_register(ldc_cnex_t *cinfo) argument
4704 ldc_unregister(ldc_cnex_t *cinfo) argument
[all...]
H A Dcnex.c1016 ldc_cnex_t cinfo; local
1055 cinfo.dip = devi;
1056 cinfo.reg_chan = cnex_reg_chan;
1057 cinfo.unreg_chan = cnex_unreg_chan;
1058 cinfo.add_intr = cnex_add_intr;
1059 cinfo.rem_intr = cnex_rem_intr;
1060 cinfo.clr_intr = cnex_clr_intr;
1066 rv = ldc_register(&cinfo);
1094 ldc_cnex_t cinfo; local
1117 cinfo
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dppm_xgsubr.c134 struct ppm_cdata *cinfo; local
137 for (; (cinfo = *cdp) != NULL; cdp++) {
140 cinfo->name, &cinfo->strings, &cinfo->cnt);
143 ("ppm_get_confdata: no %s found\n", cinfo->name));
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dcpu_module.h70 int mmu_init_mmu_page_sizes(int cinfo);
H A Dldc.h166 int ldc_register(ldc_cnex_t *cinfo);
167 int ldc_unregister(ldc_cnex_t *cinfo);
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1270 struct dk_cinfo cinfo; local
1271 bzero(&cinfo, sizeof (cinfo));
1272 cinfo.dki_ctype = DKC_BLKDEV;
1273 cinfo.dki_cnum = ddi_get_instance(ddi_get_parent(bd->d_dip));
1274 (void) snprintf(cinfo.dki_cname, sizeof (cinfo.dki_cname),
1276 (void) snprintf(cinfo.dki_dname, sizeof (cinfo.dki_dname),
1278 cinfo
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_nameinfo.c802 struct dk_cinfo cinfo; local
805 if (dnp->cinfo.cname[0] != '\0')
806 return (&dnp->cinfo);
813 if (ioctl(fd, DKIOCINFO, &cinfo) != 0) {
827 if (meta_cinfo_to_md(np, &cinfo, &dnp->cinfo, ep) != 0)
831 return (&dnp->cinfo);
1181 (void) memset(&dnp->cinfo, 0, sizeof (dnp->cinfo));
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c141 &ept->cinfo, 1);
172 &ept->ftype, ept->path, &ept->cinfo, 1)) {

Completed in 117 milliseconds

123