Searched refs:rec (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_bsm_audit.c81 static void audit_sys_auditon(struct audit_record *ar, struct au_record *rec);
109 struct au_record *rec = NULL; local
116 rec = LIST_FIRST(&bsm_free_q);
117 LIST_REMOVE(rec, au_rec_q);
121 if (rec == NULL) {
133 rec = (struct au_record *)kalloc(sizeof(*rec));
134 if(rec == NULL) {
137 rec->data = (u_char *)kalloc(MAX_AUDIT_RECORD_SIZE * sizeof(u_char));
138 if((rec
159 kau_write(struct au_record *rec, struct au_token *tok) argument
182 kau_close(struct au_record *rec, struct timespec *ctime, short event) argument
220 kau_free(struct au_record *rec) argument
371 audit_sys_auditon(struct audit_record *ar, struct au_record *rec) argument
474 struct au_record *rec; local
1304 bsm_rec_verify(void* rec) argument
[all...]
H A Dkern_audit.c806 void * rec; local
844 rec = (void *)kalloc((vm_size_t)uap->length);
846 error = copyin(uap->record, rec, uap->length);
851 error = mac_system_check_audit(kauth_cred_get(), rec, uap->length);
857 if (bsm_rec_verify(rec) == 0) {
866 ar->k_udata = rec;
875 kfree(rec, uap->length);
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_search.c112 CatalogRecord *rec,
119 static int InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec,
651 CatalogRecord *rec,
666 switch (rec->recordType) {
686 HFSPlusCatalogFile *filep = (HFSPlusCatalogFile *)rec;
750 cat_convertattr(VCBTOHFS(vcb), rec, &c_attr, &datafork, &rsrcfork); local
755 switch (rec->recordType) {
789 if (rec->recordType == kHFSFileRecord ||
790 rec->recordType == kHFSPlusFileRecord) {
845 else if (rec
648 CheckCriteria( ExtendedVCB *vcb, u_long searchBits, struct attrlist *attrList, CatalogRecord *rec, CatalogKey *key, searchinfospec_t *searchInfo1, searchinfospec_t *searchInfo2 ) argument
1004 InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec, CatalogKey *key, struct attrlist *returnAttrList, void *attributesBuffer, void *variableBuffer, u_long * nummatches) argument
[all...]
H A Dhfs_catalog.c1384 * (using thread rec).
1388 * (i.e. thread rec) is needed.
1802 printf("updatelink_callback: unexpected rec type %d\n", crp->recordType);
2332 getentriesattr_callback(const CatalogKey *key, const CatalogRecord *rec, argument
2345 switch(rec->recordType) {
2362 if (rec->recordType == kHFSPlusFolderRecord) {
2363 if (rec->hfsPlusFolder.folderID == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
2364 rec->hfsPlusFolder.folderID == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
2370 (rec->recordType == kHFSPlusFileRecord) &&
2371 ((rec
3992 HFSCatalogThread *rec = (HFSCatalogThread *)recp; local
4005 HFSPlusCatalogThread *rec = (HFSPlusCatalogThread *)recp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/bsm/
H A Daudit_kernel.h316 int bsm_rec_verify(void *rec);
322 int kau_write(struct au_record *rec, token_t *m);
323 int kau_close(struct au_record *rec,
325 void kau_free(struct au_record *rec);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dkld_patch.c1276 struct relocRecord *rec; local
1292 rec = (struct relocRecord *) DataGetPtr(sectionRec->fRelocCache);
1294 for (i = 0; i < section->nreloc; i++, rec++, rinfo++) {
1369 rec->fValue = *entry; // Save the previous value
1370 rec->fRInfo = rinfo; // Save a pointer to the reloc
1371 rec->fSymbol = symbol; // Record the current symbol
1373 *entry = (void *) rec; // Save pointer to record in object image
2325 struct relocRecord *rec; local
2331 rec = (struct relocRecord *) DataGetPtr(section->fRelocCache);
2334 for (j = 0; j < nreloc; j++, rec
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace.c1784 dtrace_recdesc_t *rec = &agg->dtag_action.dta_rec;
1811 size = rec->dtrd_offset - agg->dtag_base;
1812 fsize = size + rec->dtrd_size;
5591 dtrace_recdesc_t *rec = &act->dta_rec;
5593 size = rec->dtrd_size;
5594 valoffs = offs + rec->dtrd_offset;
5660 rec->dtrd_arg) + 1;
5663 DTRACE_USTACK_STRSIZE(rec->dtrd_arg)
5669 if (DTRACE_USTACK_STRSIZE(rec->dtrd_arg) != 0 &&
5680 rec
[all...]

Completed in 84 milliseconds