Lines Matching defs:err
1001 goto err;
1006 goto err;
1010 goto err;
1018 err:
1720 int err = inode_permission(idmap, nd->inode, MAY_EXEC|MAY_NOT_BLOCK);
1721 if (err != -ECHILD || !try_to_unlazy(nd))
1722 return err;
1840 int err = handle_mounts(nd, dentry, &path);
1842 if (err < 0)
1843 return ERR_PTR(err);
2250 int err;
2271 err = may_lookup(idmap, nd);
2272 if (err)
2273 return err;
2293 err = parent->d_op->d_hash(parent, &this);
2294 if (err < 0)
2295 return err;
2474 int err;
2477 err = handle_lookup_down(nd);
2478 if (unlikely(err < 0))
2479 s = ERR_PTR(err);
2482 while (!(err = link_path_walk(s, nd)) &&
2485 if (!err && unlikely(nd->flags & LOOKUP_MOUNTPOINT)) {
2486 err = handle_lookup_down(nd);
2489 if (!err)
2490 err = complete_walk(nd);
2492 if (!err && nd->flags & LOOKUP_DIRECTORY)
2494 err = -ENOTDIR;
2495 if (!err) {
2501 return err;
2530 int err = link_path_walk(s, nd);
2531 if (!err)
2532 err = complete_walk(nd);
2533 if (!err) {
2539 return err;
2683 int err = base->d_op->d_hash(base, this);
2684 if (err < 0)
2685 return err;
2708 int err;
2712 err = lookup_one_common(&nop_mnt_idmap, name, base, len, &this);
2713 if (err)
2714 return ERR_PTR(err);
2735 int err;
2739 err = lookup_one_common(&nop_mnt_idmap, name, base, len, &this);
2740 if (err)
2741 return ERR_PTR(err);
2765 int err;
2769 err = lookup_one_common(idmap, name, base, len, &this);
2770 if (err)
2771 return ERR_PTR(err);
2796 int err;
2799 err = lookup_one_common(idmap, name, base, len, &this);
2800 if (err)
2801 return ERR_PTR(err);
5210 int err;
5216 err = aops->write_begin(NULL, mapping, 0, len-1, &page, &fsdata);
5219 if (err)
5224 err = aops->write_end(NULL, mapping, 0, len-1, len-1,
5226 if (err < 0)
5228 if (err < len-1)
5234 return err;