Lines Matching refs:NULL
244 if (ar->k_ar.ar_arg_upath1 != NULL) {
247 if (ar->k_ar.ar_arg_upath2 != NULL) {
251 if (ar->k_ar.ar_arg_kpath1 != NULL) {
255 if (ar->k_ar.ar_arg_kpath2 != NULL) {
259 if (ar->k_ar.ar_arg_text != NULL) {
263 if (ar->k_udata != NULL) {
268 if (ar->k_ar.ar_vnode1_mac_labels != NULL) {
271 if (ar->k_ar.ar_vnode2_mac_labels != NULL) {
274 if (ar->k_ar.ar_cred_mac_labels != NULL) {
277 if (ar->k_ar.ar_arg_mac_string != NULL) {
287 while (head != NULL) {
422 (off_t)0, UIO_SYSSPACE32, IO_APPEND|IO_UNIT, vfs_context_ucred(ctx), NULL, vfs_context_proc(ctx));
458 (off_t)0, UIO_SYSSPACE32, IO_APPEND|IO_UNIT, vfs_context_ucred(ctx), NULL, vfs_context_proc(ctx)));
493 audit_vp = NULL;
515 audit_replacement_vp = NULL;
518 audit_enabled = (audit_vp != NULL);
523 if (old_vp != NULL) {
533 old_vp = NULL;
535 if (audit_vp != NULL) {
590 if (audit_vp == NULL) {
638 if (audit_vp != NULL) {
666 audit_replacement_cred = NULL;
669 audit_replacement_vp = NULL;
774 audit_rotate_vnode(NULL, NULL);
826 if (ar == NULL) {
828 if (uthr == NULL) /* can this happen? */
836 if (uthr->uu_ar == NULL) /* auditing not on, or memory error */
1024 if ((tp = proc_find(udata.au_aupinfo.ap_pid)) == NULL) {
1054 if ((tp = proc_find(udata.au_aupinfo.ap_pid)) == NULL) {
1396 vp = NULL;
1397 cred = NULL;
1445 error = mac_system_check_auditctl(kauth_cred_get(), NULL);
1452 * a vp and cred of NULL is valid at this point
1491 return (NULL);
1505 if (ar == NULL)
1506 return NULL;
1536 if (ar->k_ar.ar_cred_mac_labels == NULL) {
1538 return (NULL);
1549 if (ar->k_ar.ar_mac_records == NULL) {
1553 return (NULL);
1593 if (ar == NULL)
1730 assert(uthread->uu_ar == NULL);
1760 uthread->uu_ar = NULL;
1772 uthread->uu_ar = NULL;
1809 if (uthread->uu_ar == NULL) /* syscall wasn't audited */
1835 if (uthread->uu_ar != NULL) {
1842 uthread->uu_ar = NULL;
1862 if (uthread == NULL)
1866 if (proc == NULL)
1869 assert(uthread->uu_ar == NULL);
1891 uthread->uu_ar = NULL;
1903 uthread->uu_ar = NULL;
1921 if (ar == NULL)
1934 if (ar == NULL)
1947 if (ar == NULL)
1960 if (ar == NULL)
1973 if (ar == NULL)
1989 if (ar == NULL)
2006 if (ar == NULL)
2021 if (ar == NULL)
2035 if (ar == NULL)
2049 if (ar == NULL)
2062 if (ar == NULL)
2075 if (ar == NULL)
2088 if (ar == NULL)
2101 if (ar == NULL)
2115 if (ar == NULL)
2129 if ((ar == NULL) || (p == NULL))
2152 if (ar == NULL)
2166 if (ar == NULL)
2188 if (ar == NULL || cwd_vp == NULL || so == NULL)
2213 if (ar == NULL)
2226 if (ar == NULL)
2244 if (ar == NULL)
2249 if (text == NULL)
2252 if (ar->k_ar.ar_arg_text == NULL) {
2254 if (ar->k_ar.ar_arg_text == NULL)
2268 if (ar == NULL)
2281 if (ar == NULL)
2294 if (ar == NULL)
2308 if (ar == NULL)
2321 if (ar == NULL)
2334 if (ar == NULL)
2349 if (ar == NULL)
2375 if (ar == NULL)
2379 if (so->so_pcb == NULL)
2419 if (cwd_vp == NULL || upath == NULL)
2426 if (ar == NULL) /* This will be the case for unaudited system calls */
2438 if (*pathp == NULL) {
2440 if (*pathp == NULL)
2451 *pathp = NULL;
2484 if (vp == NULL)
2488 if (ar == NULL) /* This will be the case for unaudited system calls */
2515 if (*pathp == NULL) {
2517 if (*pathp == NULL)
2534 *pathp = NULL;
2552 if (*vnode_mac_labelp == NULL) {
2554 if (*vnode_mac_labelp != NULL) {
2583 if (vp == NULL || vnode_getwithref(vp))
2595 if (ar == NULL)
2608 if (ar == NULL)
2652 if (cur == NULL) {
2663 if (record == NULL)
2684 if (ar == NULL)
2687 if (ar->k_ar.ar_arg_mac_string == NULL) {
2690 /* This should be a rare event. If kalloc() returns NULL, the
2694 if (ar->k_ar.ar_arg_mac_string == NULL)
2714 return (audit_enabled && currecord() != NULL);