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

/xnu-2422.115.4/bsd/security/audit/
H A Daudit_bsm.c70 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 Daudit_syscalls.c153 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 Daudit_private.h335 int bsm_rec_verify(void *rec);
340 void kau_free(struct au_record *rec);
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_search.c115 CatalogRecord *rec,
123 static int InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec,
669 CatalogRecord *rec,
686 switch (rec->recordType) {
715 HFSPlusCatalogFile *filep = (HFSPlusCatalogFile *)rec;
810 cat_convertattr(VCBTOHFS(vcb), rec, &c_attr, &datafork, &rsrcfork); local
815 switch (rec->recordType) {
871 if (rec->recordType == kHFSFileRecord ||
872 rec->recordType == kHFSPlusFileRecord) {
874 if (rec
666 CheckCriteria( ExtendedVCB *vcb, u_long searchBits, struct attrlist *attrList, CatalogRecord *rec, CatalogKey *key, searchinfospec_t *searchInfo1, searchinfospec_t *searchInfo2, struct vfs_context *ctx) argument
1114 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 Dhfs_catalog.c1727 * (using thread rec).
1731 * so a lookup by fileid (i.e. thread rec) is needed.
2181 printf("hfs: update_siblinglinks_callback: unexpected rec type %d\n", crp->recordType);
2838 getentriesattr_callback(const CatalogKey *key, const CatalogRecord *rec, argument
2851 switch(rec->recordType) {
2870 if (rec->recordType == kHFSPlusFolderRecord) {
2871 if (rec->hfsPlusFolder.folderID == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
2872 rec->hfsPlusFolder.folderID == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
2878 (rec->recordType == kHFSPlusFileRecord) &&
2879 ((rec
4574 HFSPlusCatalogThread *rec = (HFSPlusCatalogThread *)recp; local
4594 HFSCatalogThread *rec = (HFSCatalogThread *)recp; local
[all...]
H A Dhfs_vfsops.c6885 HFSPlusAttrRecord rec; local
6904 btdata.bufferAddress = &rec;
6905 btdata.itemSize = sizeof(rec);
6930 switch(rec.recordType) {
6933 if (rec.forkData.theFork.extents[i].blockCount == 0) {
6936 if ((rec.forkData.theFork.extents[i].startBlock +
6937 rec.forkData.theFork.extents[i].blockCount) > allocLimit) {
6946 if (rec.overflowExtents.extents[i].blockCount == 0) {
6949 if ((rec.overflowExtents.extents[i].startBlock +
6950 rec
[all...]
/xnu-2422.115.4/osfmk/kern/
H A Dbtlog.c146 btlog_record_t *rec = lookup_btrecord(btlog, i); local
147 rec->next = (btlog_recordindex_t)(i + 1);
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c2198 dtrace_recdesc_t *rec = &agg->dtag_action.dta_rec;
2225 size = rec->dtrd_offset - agg->dtag_base;
2226 fsize = size + rec->dtrd_size;
6783 dtrace_recdesc_t *rec = &act->dta_rec;
6785 size = rec->dtrd_size;
6786 valoffs = offs + rec->dtrd_offset;
6859 rec->dtrd_arg) + 1;
6862 DTRACE_USTACK_STRSIZE(rec->dtrd_arg)
6868 if (DTRACE_USTACK_STRSIZE(rec->dtrd_arg) != 0 &&
6879 rec
[all...]
/xnu-2422.115.4/bsd/netinet/
H A Dmptcp_usrreq.c1548 int error = 0, optval, level, optname, rec = 1; local
1581 rec = 0;
1610 if (rec) {

Completed in 172 milliseconds