Lines Matching refs:myErr
864 int myErr = 0;
886 myErr = cache->haveaccess[cache_index];
888 if (myErr == ESRCH) {
889 myErr = 0;
895 myResult = (myErr == 0) ? 1 : 0;
922 myErr = do_attr_lookup(hfsmp, cache, dev, thisNodeID, skip_cp, &catkey, &cnattr);
923 if (myErr) {
939 myErr = hfs_vget(hfsmp, thisNodeID, &vp, 0);
940 if ( myErr ) {
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);
956 if (myErr) {
974 myErr = EACCES;
987 if (parents && myErr == 0 && scope_index == -1) {
988 myErr = ESRCH;
991 if (myErr) {
994 *err = myErr;
998 if (myErr == 0 && parents && (scope_idx_start == -1 || i > scope_idx_start)) {
1001 add_node(cache, -1, parent_ids[i], myErr);
1215 int myErr = 0;
1217 myErr = hfs_vget(hfsmp, cnid, &cvp, 0);
1218 if ( myErr ) {
1219 access[i] = myErr;
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);
1232 if (myErr) {
1233 access[i] = myErr;