Lines Matching refs:error
38 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_policy() local
51 error = 0; in tomoyo_update_policy()
54 if (error && !param->is_delete) { in tomoyo_update_policy()
58 error = 0; in tomoyo_update_policy()
62 return error; in tomoyo_update_policy()
103 int error = is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_domain() local
135 error = 0; in tomoyo_update_domain()
138 if (error && !is_delete) { in tomoyo_update_domain()
142 error = 0; in tomoyo_update_domain()
148 return error; in tomoyo_update_domain()
246 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_write_transition_control() local
276 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_transition_control()
281 return error; in tomoyo_write_transition_control()
406 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_write_aggregator() local
419 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_aggregator()
424 return error; in tomoyo_write_aggregator()
627 int error = -ENOMEM; in tomoyo_environ() local
638 while (error == -ENOMEM) { in tomoyo_environ()
675 error = -EPERM; in tomoyo_environ()
679 error = 0; in tomoyo_environ()
688 error = 0; in tomoyo_environ()
691 return error; in tomoyo_environ()