Home
last modified time | relevance | path

Searched refs:newapp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Daudit_memory.c65 struct audit_path *newapp; in au_pathdup() local
76 newapp = kmem_alloc(alloc_size, KM_SLEEP); in au_pathdup()
77 newapp->audp_ref = 1; in au_pathdup()
78 newapp->audp_size = alloc_size; in au_pathdup()
80 newapp->audp_cnt = oldapp->audp_cnt + newsect; in au_pathdup()
81 newcp = (char *)(&newapp->audp_sect[newapp->audp_cnt + 1]); in au_pathdup()
83 newapp->audp_sect[i] = newcp + in au_pathdup()
90 newapp->audp_sect[newapp->audp_cnt] = newcp + oldlen + charincr; in au_pathdup()
94 return (newapp); in au_pathdup()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.c203 struct audit_path *newapp; /* new audit_path */ in audit_pathbuild() local
232 newapp = au_pathdup(pfxapp, newsect, len); in audit_pathbuild()
235 pp = newapp->audp_sect[newapp->audp_cnt] - len; in audit_pathbuild()
246 audit_fixpath(newapp, len); in audit_pathbuild()
250 tad->tad_aupath = newapp; in audit_pathbuild()