Lines Matching refs:err
144 int err; in handle_policy_update() local
155 err = PTR_ERR(buf); in handle_policy_update()
160 err = -ENOMEM; in handle_policy_update()
170 err = -EINVAL; in handle_policy_update()
177 err = -ENOMEM; in handle_policy_update()
182 err = parse_policy_line(file, p, rule); in handle_policy_update()
183 if (err) in handle_policy_update()
188 err = -EEXIST; in handle_policy_update()
201 err = verify_ruleset(pol); in handle_policy_update()
203 if (err && err != -EINVAL) in handle_policy_update()
225 err = len; in handle_policy_update()
232 return err; in handle_policy_update()