Lines Matching refs:kp

1276 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1277 static int param_get_aabool(char *buffer, const struct kernel_param *kp);
1285 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1286 static int param_get_aauint(char *buffer, const struct kernel_param *kp);
1294 const struct kernel_param *kp);
1296 const struct kernel_param *kp);
1303 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1304 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp);
1312 static int param_set_audit(const char *val, const struct kernel_param *kp);
1313 static int param_get_audit(char *buffer, const struct kernel_param *kp);
1315 static int param_set_mode(const char *val, const struct kernel_param *kp);
1316 static int param_get_mode(char *buffer, const struct kernel_param *kp);
1378 static int param_get_aaintbool(char *buffer, const struct kernel_param *kp);
1379 static int param_set_aaintbool(const char *val, const struct kernel_param *kp);
1401 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy() argument
1407 return param_set_bool(val, kp); in param_set_aalockpolicy()
1410 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) in param_get_aalockpolicy() argument
1416 return param_get_bool(buffer, kp); in param_get_aalockpolicy()
1419 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool() argument
1425 return param_set_bool(val, kp); in param_set_aabool()
1428 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool() argument
1434 return param_get_bool(buffer, kp); in param_get_aabool()
1437 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint() argument
1447 error = param_set_uint(val, kp); in param_set_aauint()
1454 static int param_get_aauint(char *buffer, const struct kernel_param *kp) in param_get_aauint() argument
1460 return param_get_uint(buffer, kp); in param_get_aauint()
1464 static int param_set_aaintbool(const char *val, const struct kernel_param *kp) in param_set_aaintbool() argument
1474 value = !!*((int *)kp->arg); in param_set_aaintbool()
1475 memcpy(&kp_local, kp, sizeof(kp_local)); in param_set_aaintbool()
1480 *((int *)kp->arg) = *((bool *)kp_local.arg); in param_set_aaintbool()
1490 static int param_get_aaintbool(char *buffer, const struct kernel_param *kp) in param_get_aaintbool() argument
1496 value = !!*((int *)kp->arg); in param_get_aaintbool()
1497 memcpy(&kp_local, kp, sizeof(kp_local)); in param_get_aaintbool()
1504 const struct kernel_param *kp) in param_set_aacompressionlevel() argument
1513 error = param_set_int(val, kp); in param_set_aacompressionlevel()
1525 const struct kernel_param *kp) in param_get_aacompressionlevel() argument
1531 return param_get_int(buffer, kp); in param_get_aacompressionlevel()
1534 static int param_get_audit(char *buffer, const struct kernel_param *kp) in param_get_audit() argument
1543 static int param_set_audit(const char *val, const struct kernel_param *kp) in param_set_audit() argument
1562 static int param_get_mode(char *buffer, const struct kernel_param *kp) in param_get_mode() argument
1572 static int param_set_mode(const char *val, const struct kernel_param *kp) in param_set_mode() argument