Lines Matching refs:NULL
198 kauth_cred_t cred = NULL;
311 if (cred && suser(cred, NULL) != 0)
540 VNOP_IOCTL(hfsmp->hfs_devvp, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, NULL);
553 if (resid > uio_resid(uio) && cred && suser(cred, NULL)) {
656 * the index if there is a match. If no_match_indexp is non-NULL it
902 tmp = cache_binSearch(parents, num_parents-1, thisNodeID, NULL);
928 if (suser(myp_ucred, NULL) == 0) {
950 myErr = vnode_authorize(vp, NULL, (KAUTH_VNODE_SEARCH | KAUTH_VNODE_LIST_DIRECTORY), my_context);
952 myErr = vnode_authorize(vp, NULL, KAUTH_VNODE_READ_DATA, my_context);
1035 int *file_ids=NULL;
1036 short *access=NULL;
1037 char *bitmap=NULL;
1038 cnid_t *parents=NULL;
1057 cache.acache = NULL;
1058 cache.haveaccess = NULL;
1061 if (ap->a_data == NULL) {
1139 if (file_ids == NULL || access == NULL || (map_size != 0 && bitmap == NULL) || cache.acache == NULL || cache.haveaccess == NULL) {
1194 if ((!parents) && (!suser(cred, NULL))) {
1209 leaf_index = cache_binSearch(parents, num_parents-1, cnid, NULL);
1226 myErr = vnode_authorize(cvp, NULL, (KAUTH_VNODE_SEARCH | KAUTH_VNODE_LIST_DIRECTORY), context);
1228 myErr = vnode_authorize(cvp, NULL, KAUTH_VNODE_READ_DATA, context);
1353 if (suser(cred, NULL) &&
1362 cnid = strtoul(bufptr, NULL, 10);
1387 if (suser(cred, NULL) &&
1413 if (suser(cred, NULL) &&
1428 if (suser(cred, NULL) &&
1454 if (suser(cred, NULL) &&
1498 if (suser(cred, NULL) &&
1503 if (bsdata == NULL) {
1524 error = VFS_ROOT(vnode_mount(di_vp), &bsfs_rootvp, NULL); /* XXX use context! */
1548 if (suser(cred, NULL) &&
1583 vnode_iterate(mp, 0, hfs_freezewrite_callback, NULL);
1617 hfsmp->hfs_freezing_proc = NULL;
1659 if (ap->a_data == NULL) {
1680 if (ap->a_data == NULL) {
1758 struct vnode *devvp = NULL;
1943 if (vpp != NULL)
1945 if (bnp == NULL)
1969 if (runp != NULL) {
1994 if (ap->a_vp == NULL)
2014 if (ap->a_vp == NULL)
2072 if (ap->a_bpn == NULL)
2377 if (cred && suser(cred, NULL) != 0)
2734 if (cred && suser(cred, NULL) != 0)
3231 retval = MapFileBlockC(hfsmp, (FCB *)fp, 1, growsize - 1, §or_a, NULL);
3261 retval = MapFileBlockC(hfsmp, (FCB *)fp, 1, growsize, §or_b, NULL);
3273 if (cp->c_desc.cd_nameptr != NULL) {
3275 } else if (vnode_name(vp) != NULL) {
3394 struct buf *head_bp = NULL;
3395 struct buf *tail_bp = NULL;
3404 if (tail_bp == NULL) {
3509 struct buf *bp = NULL;
3549 bp = NULL;
3560 if (bp == NULL) {
3567 bp = NULL;