Searched refs:rec (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm.c | 70 struct au_record *rec); 72 struct au_record *rec); 93 struct au_record *rec; local 95 rec = malloc(sizeof(*rec), M_AUDITBSM, M_WAITOK); 96 rec->data = NULL; 97 TAILQ_INIT(&rec->token_q); 98 rec->len = 0; 99 rec->used = 1; 101 return (rec); 108 kau_write(struct au_record *rec, struct au_token *tok) argument 122 kau_close(struct au_record *rec, struct timespec *ctime, short event) argument 174 kau_free(struct au_record *rec) argument 363 audit_sys_auditon(struct audit_record *ar, struct au_record *rec) argument 520 audit_sys_fcntl(struct kaudit_record *kar, struct au_record *rec) argument 595 struct au_record *rec; local 1962 bsm_rec_verify(void *rec) argument [all...] |
H A D | audit_syscalls.c | 153 void * rec; local 193 rec = malloc(uap->length, M_AUDITDATA, M_WAITOK); 195 error = copyin(uap->record, rec, uap->length); 200 error = mac_system_check_audit(kauth_cred_get(), rec, uap->length); 206 if (bsm_rec_verify(rec) == 0) { 219 ar->k_udata = rec; 237 free(rec, M_AUDITDATA);
|
H A D | audit_private.h | 335 int bsm_rec_verify(void *rec); 340 void kau_free(struct au_record *rec);
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_catalog.c | 1500 * (using thread rec). 1504 * so a lookup by fileid (i.e. thread rec) is needed. 1950 printf("hfs: update_siblinglinks_callback: unexpected rec type %d\n", crp->recordType); 2497 getentriesattr_callback(const CatalogKey *key, const CatalogRecord *rec, argument 2510 switch(rec->recordType) { 2527 if (rec->recordType == kHFSPlusFolderRecord) { 2528 if (rec->hfsPlusFolder.folderID == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid || 2529 rec->hfsPlusFolder.folderID == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) { 2535 (rec->recordType == kHFSPlusFileRecord) && 2536 ((rec 4220 HFSCatalogThread *rec = (HFSCatalogThread *)recp; local 4233 HFSPlusCatalogThread *rec = (HFSPlusCatalogThread *)recp; local [all...] |
H A D | hfs_search.c | 115 CatalogRecord *rec, 122 static int InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec, 647 CatalogRecord *rec, 662 switch (rec->recordType) { 682 HFSPlusCatalogFile *filep = (HFSPlusCatalogFile *)rec; 746 cat_convertattr(VCBTOHFS(vcb), rec, &c_attr, &datafork, &rsrcfork); local 751 switch (rec->recordType) { 785 if (rec->recordType == kHFSFileRecord || 786 rec->recordType == kHFSPlusFileRecord) { 859 else if (rec 644 CheckCriteria( ExtendedVCB *vcb, u_long searchBits, struct attrlist *attrList, CatalogRecord *rec, CatalogKey *key, searchinfospec_t *searchInfo1, searchinfospec_t *searchInfo2 ) argument 1018 InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec, CatalogKey *key, struct attrlist *returnAttrList, void *attributesBuffer, void *variableBuffer, uint32_t * nummatches) argument [all...] |
H A D | hfs_vfsops.c | 6808 HFSPlusAttrRecord rec; local 6827 btdata.bufferAddress = &rec; 6828 btdata.itemSize = sizeof(rec); 6853 switch(rec.recordType) { 6856 if (rec.forkData.theFork.extents[i].blockCount == 0) { 6859 if ((rec.forkData.theFork.extents[i].startBlock + 6860 rec.forkData.theFork.extents[i].blockCount) > allocLimit) { 6869 if (rec.overflowExtents.extents[i].blockCount == 0) { 6872 if ((rec.overflowExtents.extents[i].startBlock + 6873 rec [all...] |
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace.c | 2189 dtrace_recdesc_t *rec = &agg->dtag_action.dta_rec; 2216 size = rec->dtrd_offset - agg->dtag_base; 2217 fsize = size + rec->dtrd_size; 6765 dtrace_recdesc_t *rec = &act->dta_rec; 6767 size = rec->dtrd_size; 6768 valoffs = offs + rec->dtrd_offset; 6841 rec->dtrd_arg) + 1; 6844 DTRACE_USTACK_STRSIZE(rec->dtrd_arg) 6850 if (DTRACE_USTACK_STRSIZE(rec->dtrd_arg) != 0 && 6861 rec [all...] |
Completed in 63 milliseconds