Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 25 of 123) sorted by relevance

12345

/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev_callbacks.c30 rec->name.ino = znode->z_id; \
31 rec->name.gen = znode->z_gen; \
32 rec->name.mtime = mtime_s.tv_sec; \
33 rec->name.ctime = ctime_s.tv_sec; \
34 rec->name.size = znode->z_size; \
35 rec->name.type = znode->z_vnode->v_type; \
36 rec->name.mode = \
38 rec->name.links = znode->z_links; \
39 rec->name.flags = znode->z_pflags & ZFS_XATTR ? \
51 zev_zfs_mount_t *rec; in zev_zfs_mount_cb() local
[all …]
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_log.c772 cachefs_xdr_mount(XDR *xdrs, struct cachefs_log_mount_record *rec) in cachefs_xdr_mount() argument
774 char *path = rec->path; in cachefs_xdr_mount()
779 if ((! xdr_int(xdrs, &rec->type)) || in cachefs_xdr_mount()
780 (! xdr_int(xdrs, &rec->error)) || in cachefs_xdr_mount()
781 (! xdr_cfs_time_t(xdrs, &rec->time)) || in cachefs_xdr_mount()
782 (! xdr_opaque(xdrs, (caddr_t)&rec->vfsp, sizeof (rec->vfsp))) || in cachefs_xdr_mount()
783 (! xdr_u_int(xdrs, &rec->flags)) || in cachefs_xdr_mount()
784 (! xdr_u_int(xdrs, &rec->popsize)) || in cachefs_xdr_mount()
785 (! xdr_u_int(xdrs, &rec->fgsize)) || in cachefs_xdr_mount()
786 (! xdr_u_short(xdrs, &rec->pathlen)) || in cachefs_xdr_mount()
[all …]
/titanic_41/usr/src/cmd/zevadm/
H A Dzevadm.c165 zev_print_mark_payload(zev_mark_t *rec) in zev_print_mark_payload() argument
173 p = (uint8_t *)ZEV_PAYLOAD(rec); in zev_print_mark_payload()
174 for (i=0; i<rec->payload_len; i+=16) { in zev_print_mark_payload()
176 for (j=i; j<rec->payload_len && j<i+16; j++) { in zev_print_mark_payload()
189 for (j=i; j<rec->payload_len && j<i+16; j++) { in zev_print_mark_payload()
204 zev_error_t *rec = (zev_error_t *)buf; in zev_print_error() local
205 time_t op_time = rec->op_time; in zev_print_error()
209 zpf("%s %s", ct, zev_op_name[rec->op - ZEV_OP_MIN]); in zev_print_error()
210 zpf(" guid: %llu", rec->guid); in zev_print_error()
212 zev_op_name[rec->failed_op - ZEV_OP_MIN]); in zev_print_error()
[all …]
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceStoreInMemory.java62 abstract void setReturn(ServiceRecordInMemory rec); in setReturn() argument
83 public void setReturn(ServiceRecordInMemory rec) { in setReturn() argument
87 ServiceURL surl = rec.getServiceURL(); in setReturn()
92 Vector s = (Vector)rec.getScopes().clone(); in setReturn()
100 (rec.getExpirationTime() - in setReturn()
109 Hashtable sig = rec.getURLSignature(); in setReturn()
141 public void setReturn(ServiceRecordInMemory rec) { in setReturn() argument
145 if (alreadySeen.get(rec) == null) { in setReturn()
146 alreadySeen.put(rec, rec); in setReturn()
149 findMatchingAttributes(rec, attrTags, ht, ret); in setReturn()
[all …]
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c135 trap_trace_rec_t rec; in ttrace_walk_step() local
153 if (mdb_vread(&rec, sizeof (rec), ttc->ttc_current) == -1) { in ttrace_walk_step()
158 if (rec.ttr_stamp > latest) { in ttrace_walk_step()
159 latest = rec.ttr_stamp; in ttrace_walk_step()
169 if (mdb_vread(&rec, sizeof (rec), ttc->ttc_current) == -1) { in ttrace_walk_step()
174 rval = wsp->walk_callback(ttc->ttc_current, &rec, wsp->walk_cbdata); in ttrace_walk_step()
191 ttrace_syscall(trap_trace_rec_t *rec) in ttrace_syscall() argument
194 int sysnum = rec->ttr_sysnum; in ttrace_syscall()
200 if (rec->ttr_sysnum > NSYSCALL) { in ttrace_syscall()
201 mdb_printf(" %-*d", TT_HDLR_WIDTH, rec->ttr_sysnum); in ttrace_syscall()
[all …]
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dipft_pc.c160 static int pcap_read_rec(rec) in pcap_read_rec() argument
161 struct pcap_pkthdr *rec; in pcap_read_rec()
165 if (read(pfd, (char *)rec, sizeof(*rec)) != sizeof(*rec))
169 rec->ph_clen = SWAPLONG(rec->ph_clen);
170 rec->ph_len = SWAPLONG(rec->ph_len);
171 rec->ph_ts.tv_sec = SWAPLONG(rec->ph_ts.tv_sec);
172 rec->ph_ts.tv_usec = SWAPLONG(rec->ph_ts.tv_usec);
174 p = rec->ph_clen;
175 n = MIN(p, rec->ph_len);
192 struct pcap_pkthdr rec; local
[all …]
H A Dipft_sn.c98 static int snoop_read_rec(rec) in snoop_read_rec() argument
99 struct snooppkt *rec; in snoop_read_rec()
103 if (read(sfd, (char *)rec, sizeof(*rec)) != sizeof(*rec))
106 ilen = (int)ntohl(rec->sp_ilen);
107 plen = (int)ntohl(rec->sp_plen);
108 if (ilen > plen || plen < sizeof(*rec))
111 plen -= sizeof(*rec);
129 struct snooppkt rec; local
133 if ((i = snoop_read_rec(&rec)) <= 0)
159 struct snooppkt rec; local
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Dovload.c127 osa_princ_ent_t rec; local
143 if((rec = (osa_princ_ent_t) malloc(sizeof(osa_princ_ent_rec))) == NULL)
145 memset(rec, 0, sizeof(osa_princ_ent_rec));
155 if((rec->policy = (char *) malloc(strlen(cp)+1)) == NULL) {
159 strcpy(rec->policy, cp);
160 } else rec->policy = NULL;
167 rec->aux_attributes = strtol(cp, (char **)NULL, 16);
173 rec->old_key_len = atoi(cp);
179 rec->old_key_next = atoi(cp);
185 rec->admin_history_kvno = atoi(cp);
[all …]
/titanic_41/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c46 DBT rec; local
84 memset(&rec, 0, sizeof(rec));
86 F_SET(&rec, DB_DBT_MALLOC);
87 if ((ret = log_get(dblp, &stable_lsn, &rec, DB_LAST)) != 0)
90 __os_free(rec.data, rec.size);
186 DBT rec; local
199 memset(&rec, 0, sizeof(rec));
201 F_SET(&rec, DB_DBT_MALLOC);
202 for (n = 0, ret = log_get(dblp, &lsn, &rec, DB_FIRST);
203 ret == 0; ret = log_get(dblp, &lsn, &rec, DB_NEXT)) {
[all …]
/titanic_41/usr/src/uts/common/c2/
H A Daudit_mem.c123 au_append_rec(au_buff_t *rec, au_buff_t *buf, int pack) in au_append_rec() argument
125 if (!rec) in au_append_rec()
128 while (rec->next_buf) in au_append_rec()
129 rec = rec->next_buf; in au_append_rec()
130 if (((int)(rec->len + buf->len) <= AU_BUFSIZE) && pack) { in au_append_rec()
131 bcopy(buf->buf, (char *)(rec->buf + rec->len), in au_append_rec()
133 rec->len += buf->len; in au_append_rec()
134 rec->next_buf = buf->next_buf; in au_append_rec()
137 rec->next_buf = buf; in au_append_rec()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Deventlog_svc.c434 DWORD recno, logr_record_t *rec) in logr_set_logrecord() argument
454 rec->Length1 = sizeof (logr_record_t); in logr_set_logrecord()
455 rec->Reserved = LOGR_RECORD_SIGNATURE; in logr_set_logrecord()
456 rec->RecordNumber = recno; in logr_set_logrecord()
457 rec->TimeGenerated = le->le_timestamp.tv_sec; in logr_set_logrecord()
458 rec->TimeWritten = le->le_timestamp.tv_sec; in logr_set_logrecord()
459 logr_set_event_typeid(le->le_pri, &rec->EventType, &rec->EventID); in logr_set_logrecord()
460 rec->NumStrings = 1; in logr_set_logrecord()
461 rec->EventCategory = 0; in logr_set_logrecord()
462 rec->ReservedFlags = 0; in logr_set_logrecord()
[all …]
/titanic_41/usr/src/cmd/rm/
H A Drm.c71 static struct dlist *cur, *rec; variable
172 while (rm(*argv, rec = cur = &top) != 0) in main()
221 while (rec != NULL && (rec->flags & DIR_CANTCLOSE) != 0) in reclaim()
222 rec = rec->down; in reclaim()
223 if (rec == NULL || rec == cur || rec->dp == NULL) in reclaim()
225 rec->diroff = telldir(rec->dp); in reclaim()
226 closeframe(rec); in reclaim()
227 rec = rec->down; in reclaim()
279 rec = cur->up; in popdir()
280 if (opendirat(cur->fd, "..", rec) != 0 || in popdir()
[all …]
/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_principal.c70 memcpy(&arg.rec, princ, sizeof(kadm5_principal_ent_rec_v1)); in kadm5_create_principal()
72 memcpy(&arg.rec, princ, sizeof(kadm5_principal_ent_rec)); in kadm5_create_principal()
83 arg.rec.mod_name = NULL; in kadm5_create_principal()
85 arg.rec.mod_name = NULL; in kadm5_create_principal()
88 arg.rec.policy = NULL; in kadm5_create_principal()
90 arg.rec.n_key_data = 0; in kadm5_create_principal()
91 arg.rec.key_data = NULL; in kadm5_create_principal()
94 arg.rec.n_tl_data = 0; in kadm5_create_principal()
95 arg.rec.tl_data = NULL; in kadm5_create_principal()
101 krb5_free_principal(handle->context, arg.rec.mod_name); in kadm5_create_principal()
[all …]
/titanic_41/usr/src/uts/common/sys/fs/
H A Dzev.h101 #define ZEV_ERRSTR(rec) ((char *)(rec + 1)) argument
102 #define ZEV_DATASET(rec) ((char *)(rec + 1)) argument
103 #define ZEV_MOUNTPOINT(rec) (((char *)(rec + 1)) + rec->dataset_len + 1) argument
104 #define ZEV_NAME(rec) ((char *)(rec + 1)) argument
105 #define ZEV_SRCNAME(rec) ((char *)(rec + 1)) argument
106 #define ZEV_DSTNAME(rec) (((char *)(rec + 1)) + rec->srcname_len + 1) argument
107 #define ZEV_LINK(rec) (((char *)(rec + 1)) + rec->name_len + 1) argument
108 #define ZEV_PAYLOAD(rec) ((char *)(rec + 1)) argument
109 #define ZEV_SIGNATURES(rec) ((char *)(rec + 1)) argument
/titanic_41/usr/src/common/zev/
H A Dzev.h101 #define ZEV_ERRSTR(rec) ((char *)(rec + 1)) argument
102 #define ZEV_DATASET(rec) ((char *)(rec + 1)) argument
103 #define ZEV_MOUNTPOINT(rec) (((char *)(rec + 1)) + rec->dataset_len + 1) argument
104 #define ZEV_NAME(rec) ((char *)(rec + 1)) argument
105 #define ZEV_SRCNAME(rec) ((char *)(rec + 1)) argument
106 #define ZEV_DSTNAME(rec) (((char *)(rec + 1)) + rec->srcname_len + 1) argument
107 #define ZEV_LINK(rec) (((char *)(rec + 1)) + rec->name_len + 1) argument
108 #define ZEV_PAYLOAD(rec) ((char *)(rec + 1)) argument
109 #define ZEV_SIGNATURES(rec) ((char *)(rec + 1)) argument
/titanic_41/usr/src/cmd/make/bin/
H A Drep.cc324 String_rec rec; in gather_recursive_deps() local
339 INIT_STRING_FROM_STACK(rec, rec_buf); in gather_recursive_deps()
340 APPEND_NAME(np, &rec, FIND_LENGTH); in gather_recursive_deps()
341 append_char((int) colon_char, &rec); in gather_recursive_deps()
342 append_char((int) space_char, &rec); in gather_recursive_deps()
362 APPEND_NAME(recursive_name, &rec, in gather_recursive_deps()
364 append_char((int) space_char, &rec); in gather_recursive_deps()
366 &rec, FIND_LENGTH); in gather_recursive_deps()
367 append_char((int) space_char, &rec); in gather_recursive_deps()
369 &rec, FIND_LENGTH); in gather_recursive_deps()
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/struct/
H A Derr.D_DECL_INCOMPLETE.simple.d48 struct record rec; variable
52 rec.position = 0;
53 rec.content = 'a';
55 rec.position, rec.content);
H A Derr.D_DECL_INCOMPLETE.circular.d54 struct record rec; variable
59 rec.position = 0;
60 rec.content = 'a';
62 rec.position, rec.content);
H A Derr.D_DECL_COMBO.StructWithoutColon1.d51 struct record rec; variable
56 rec.content = 'a';
57 rec.position = 1;
64 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_INCOMPLETE.order.d52 struct record rec; variable
57 rec.content = 'y';
58 rec.position = 2;
65 rec.content, rec.position, pir.content, pir.position);
/titanic_41/usr/src/cmd/dtrace/test/tst/common/union/
H A Derr.D_DECL_INCOMPLETE.simple.d47 union record rec; variable
51 rec.position = 0;
52 rec.content = 'a';
54 rec.position, rec.content);
H A Derr.D_DECL_INCOMPLETE.circular.d53 union record rec; variable
58 rec.position = 0;
59 rec.content = 'a';
61 "rec.position: %d\nrec.content: %c\n", rec.position, rec.content);
H A Derr.D_DECL_COMBO.UnionWithoutColon1.d51 union record rec; variable
56 rec.content = 'a';
57 rec.position = 1;
64 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_COMBO.UnionWithoutColon.d52 union record rec; variable
57 rec.content = 'a';
58 rec.position = 1;
65 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_INCOMPLETE.order.d52 union record rec; variable
57 rec.content = 'y';
58 rec.position = 2;
65 rec.content, rec.position, pir.content, pir.position);

12345