Lines Matching refs:ip
833 register_t *ip; in ktrsyscall() local
836 ip = &ktr->ktr_args[0]; in ktrsyscall()
842 ktrsyscall_freebsd(ktr, &ip, &narg, &c, in ktrsyscall()
849 ktrsyscall_linux32(ktr, &ip, in ktrsyscall()
853 ktrsyscall_linux(ktr, &ip, &narg, &c); in ktrsyscall()
859 print_number(ip, narg, c); in ktrsyscall()
870 register_t *ip, *first; in ktrsyscall_freebsd() local
874 ip = first = &ktr->ktr_args[0]; in ktrsyscall_freebsd()
904 print_integer_arg_valid(sysdecode_atfd, *ip); in ktrsyscall_freebsd()
906 ip++; in ktrsyscall_freebsd()
912 print_number(ip, narg, c); in ktrsyscall_freebsd()
914 ioctlname(*ip); in ktrsyscall_freebsd()
916 ip++; in ktrsyscall_freebsd()
922 print_integer_arg(sysdecode_ptrace_request, *ip); in ktrsyscall_freebsd()
924 ip++; in ktrsyscall_freebsd()
930 print_number(ip, narg, c); in ktrsyscall_freebsd()
932 print_mask_arg(sysdecode_access_mode, *ip); in ktrsyscall_freebsd()
933 ip++; in ktrsyscall_freebsd()
937 print_number(ip, narg, c); in ktrsyscall_freebsd()
938 print_number(ip, narg, c); in ktrsyscall_freebsd()
941 *ip); in ktrsyscall_freebsd()
942 ip += 3; in ktrsyscall_freebsd()
947 print_number(ip, narg, c); in ktrsyscall_freebsd()
949 print_mask_arg(sysdecode_open_flags, ip[0]); in ktrsyscall_freebsd()
950 if ((ip[0] & O_CREAT) == O_CREAT) { in ktrsyscall_freebsd()
952 decode_filemode(ip[1]); in ktrsyscall_freebsd()
954 ip += 2; in ktrsyscall_freebsd()
958 print_number(ip, narg, c); in ktrsyscall_freebsd()
959 print_number(ip, narg, c); in ktrsyscall_freebsd()
961 print_mask_arg0(sysdecode_wait4_options, *ip); in ktrsyscall_freebsd()
962 ip++; in ktrsyscall_freebsd()
967 print_integer_arg(sysdecode_idtype, *ip); in ktrsyscall_freebsd()
969 ip++; in ktrsyscall_freebsd()
971 print_number64(first, ip, narg, c); in ktrsyscall_freebsd()
972 print_number(ip, narg, c); in ktrsyscall_freebsd()
974 print_mask_arg(sysdecode_wait6_options, *ip); in ktrsyscall_freebsd()
975 ip++; in ktrsyscall_freebsd()
982 print_number(ip, narg, c); in ktrsyscall_freebsd()
984 decode_filemode(*ip); in ktrsyscall_freebsd()
985 ip++; in ktrsyscall_freebsd()
989 print_number(ip, narg, c); in ktrsyscall_freebsd()
991 decode_filemode(*ip); in ktrsyscall_freebsd()
992 ip++; in ktrsyscall_freebsd()
996 print_number(ip, narg, c); in ktrsyscall_freebsd()
997 print_number(ip, narg, c); in ktrsyscall_freebsd()
999 print_integer_arg(sysdecode_getfsstat_mode, *ip); in ktrsyscall_freebsd()
1000 ip++; in ktrsyscall_freebsd()
1004 print_number(ip, narg, c); in ktrsyscall_freebsd()
1005 print_number(ip, narg, c); in ktrsyscall_freebsd()
1007 print_mask_arg0(sysdecode_mount_flags, *ip); in ktrsyscall_freebsd()
1008 ip++; in ktrsyscall_freebsd()
1012 print_number(ip, narg, c); in ktrsyscall_freebsd()
1014 print_mask_arg0(sysdecode_mount_flags, *ip); in ktrsyscall_freebsd()
1015 ip++; in ktrsyscall_freebsd()
1020 print_number(ip, narg, c); in ktrsyscall_freebsd()
1021 print_number(ip, narg, c); in ktrsyscall_freebsd()
1023 print_mask_arg0(sysdecode_msg_flags, *ip); in ktrsyscall_freebsd()
1024 ip++; in ktrsyscall_freebsd()
1029 print_number(ip, narg, c); in ktrsyscall_freebsd()
1030 print_number(ip, narg, c); in ktrsyscall_freebsd()
1031 print_number(ip, narg, c); in ktrsyscall_freebsd()
1033 print_mask_arg0(sysdecode_msg_flags, *ip); in ktrsyscall_freebsd()
1034 ip++; in ktrsyscall_freebsd()
1041 print_number(ip, narg, c); in ktrsyscall_freebsd()
1043 decode_fileflags(*ip); in ktrsyscall_freebsd()
1044 ip++; in ktrsyscall_freebsd()
1048 print_number(ip, narg, c); in ktrsyscall_freebsd()
1050 print_signal(*ip); in ktrsyscall_freebsd()
1051 ip++; in ktrsyscall_freebsd()
1056 print_mask_arg(sysdecode_reboot_howto, *ip); in ktrsyscall_freebsd()
1057 ip++; in ktrsyscall_freebsd()
1062 decode_filemode(*ip); in ktrsyscall_freebsd()
1063 ip++; in ktrsyscall_freebsd()
1067 print_number(ip, narg, c); in ktrsyscall_freebsd()
1068 print_number(ip, narg, c); in ktrsyscall_freebsd()
1070 print_mask_arg(sysdecode_msync_flags, *ip); in ktrsyscall_freebsd()
1071 ip++; in ktrsyscall_freebsd()
1076 print_number(ip, narg, c); in ktrsyscall_freebsd()
1077 print_number(ip, narg, c); in ktrsyscall_freebsd()
1079 print_mask_arg(sysdecode_mmap_prot, *ip); in ktrsyscall_freebsd()
1081 ip++; in ktrsyscall_freebsd()
1083 print_mask_arg(sysdecode_mmap_flags, *ip); in ktrsyscall_freebsd()
1084 ip++; in ktrsyscall_freebsd()
1089 print_number(ip, narg, c); in ktrsyscall_freebsd()
1090 print_number(ip, narg, c); in ktrsyscall_freebsd()
1092 print_mask_arg(sysdecode_mmap_prot, *ip); in ktrsyscall_freebsd()
1094 ip++; in ktrsyscall_freebsd()
1096 print_mask_arg(sysdecode_mmap_flags, *ip); in ktrsyscall_freebsd()
1097 ip++; in ktrsyscall_freebsd()
1101 print_number(ip, narg, c); in ktrsyscall_freebsd()
1102 print_number(ip, narg, c); in ktrsyscall_freebsd()
1104 print_mask_arg(sysdecode_mmap_prot, *ip); in ktrsyscall_freebsd()
1105 ip++; in ktrsyscall_freebsd()
1109 print_number(ip, narg, c); in ktrsyscall_freebsd()
1110 print_number(ip, narg, c); in ktrsyscall_freebsd()
1112 print_integer_arg(sysdecode_madvice, *ip); in ktrsyscall_freebsd()
1113 ip++; in ktrsyscall_freebsd()
1119 print_number(ip, narg, c); in ktrsyscall_freebsd()
1121 print_integer_arg(sysdecode_pathconf_name, *ip); in ktrsyscall_freebsd()
1122 ip++; in ktrsyscall_freebsd()
1128 print_integer_arg(sysdecode_prio_which, *ip); in ktrsyscall_freebsd()
1130 ip++; in ktrsyscall_freebsd()
1134 print_number(ip, narg, c); in ktrsyscall_freebsd()
1136 print_integer_arg(sysdecode_fcntl_cmd, ip[0]); in ktrsyscall_freebsd()
1137 if (sysdecode_fcntl_arg_p(ip[0])) { in ktrsyscall_freebsd()
1139 if (ip[0] == F_SETFL) in ktrsyscall_freebsd()
1142 ip[1]); in ktrsyscall_freebsd()
1145 ip[0], ip[1], in ktrsyscall_freebsd()
1148 ip += 2; in ktrsyscall_freebsd()
1154 sockdomain = *ip; in ktrsyscall_freebsd()
1157 ip++; in ktrsyscall_freebsd()
1160 print_mask_arg(sysdecode_socket_type, *ip); in ktrsyscall_freebsd()
1161 ip++; in ktrsyscall_freebsd()
1167 *ip); in ktrsyscall_freebsd()
1168 ip++; in ktrsyscall_freebsd()
1178 print_number(ip, narg, c); in ktrsyscall_freebsd()
1181 *ip); in ktrsyscall_freebsd()
1182 str = sysdecode_sockopt_name(ip[0], ip[1]); in ktrsyscall_freebsd()
1185 ip++; in ktrsyscall_freebsd()
1188 ip++; in ktrsyscall_freebsd()
1194 print_number(ip, narg, c); in ktrsyscall_freebsd()
1196 print_number(ip, narg, c); in ktrsyscall_freebsd()
1197 print_number64(first, ip, narg, c); in ktrsyscall_freebsd()
1199 print_integer_arg(sysdecode_whence, *ip); in ktrsyscall_freebsd()
1200 ip++; in ktrsyscall_freebsd()
1205 print_number(ip, narg, c); in ktrsyscall_freebsd()
1206 print_number64(first, ip, narg, c); in ktrsyscall_freebsd()
1208 print_integer_arg(sysdecode_whence, *ip); in ktrsyscall_freebsd()
1209 ip++; in ktrsyscall_freebsd()
1213 print_number(ip, narg, c); in ktrsyscall_freebsd()
1215 print_mask_arg(sysdecode_flock_operation, *ip); in ktrsyscall_freebsd()
1216 ip++; in ktrsyscall_freebsd()
1223 print_number(ip, narg, c); in ktrsyscall_freebsd()
1225 decode_filemode(*ip); in ktrsyscall_freebsd()
1226 ip++; in ktrsyscall_freebsd()
1230 print_number(ip, narg, c); in ktrsyscall_freebsd()
1232 print_integer_arg(sysdecode_shutdown_how, *ip); in ktrsyscall_freebsd()
1233 ip++; in ktrsyscall_freebsd()
1238 print_integer_arg(sysdecode_socketdomain, *ip); in ktrsyscall_freebsd()
1239 ip++; in ktrsyscall_freebsd()
1242 print_mask_arg(sysdecode_socket_type, *ip); in ktrsyscall_freebsd()
1243 ip++; in ktrsyscall_freebsd()
1250 print_integer_arg(sysdecode_rlimit, *ip); in ktrsyscall_freebsd()
1251 ip++; in ktrsyscall_freebsd()
1257 print_integer_arg(sysdecode_getrusage_who, *ip); in ktrsyscall_freebsd()
1258 ip++; in ktrsyscall_freebsd()
1263 print_number(ip, narg, c); in ktrsyscall_freebsd()
1265 if (!sysdecode_quotactl_cmd(stdout, *ip)) { in ktrsyscall_freebsd()
1267 printf("<invalid=%d>", (int)*ip); in ktrsyscall_freebsd()
1270 (int)*ip); in ktrsyscall_freebsd()
1272 ip++; in ktrsyscall_freebsd()
1278 print_integer_arg(sysdecode_nfssvc_flags, *ip); in ktrsyscall_freebsd()
1279 ip++; in ktrsyscall_freebsd()
1287 *ip); in ktrsyscall_freebsd()
1288 ip++; in ktrsyscall_freebsd()
1293 print_number(ip, narg, c); in ktrsyscall_freebsd()
1294 print_number(ip, narg, c); in ktrsyscall_freebsd()
1296 print_integer_arg(sysdecode_semctl_cmd, *ip); in ktrsyscall_freebsd()
1297 ip++; in ktrsyscall_freebsd()
1301 print_number(ip, narg, c); in ktrsyscall_freebsd()
1302 print_number(ip, narg, c); in ktrsyscall_freebsd()
1304 print_mask_arg(sysdecode_semget_flags, *ip); in ktrsyscall_freebsd()
1305 ip++; in ktrsyscall_freebsd()
1309 print_number(ip, narg, c); in ktrsyscall_freebsd()
1311 print_integer_arg(sysdecode_msgctl_cmd, *ip); in ktrsyscall_freebsd()
1312 ip++; in ktrsyscall_freebsd()
1316 print_number(ip, narg, c); in ktrsyscall_freebsd()
1317 print_number(ip, narg, c); in ktrsyscall_freebsd()
1319 print_mask_arg(sysdecode_shmat_flags, *ip); in ktrsyscall_freebsd()
1320 ip++; in ktrsyscall_freebsd()
1324 print_number(ip, narg, c); in ktrsyscall_freebsd()
1326 print_integer_arg(sysdecode_shmctl_cmd, *ip); in ktrsyscall_freebsd()
1327 ip++; in ktrsyscall_freebsd()
1332 if (ip[0] == (uintptr_t)SHM_ANON) { in ktrsyscall_freebsd()
1334 ip++; in ktrsyscall_freebsd()
1336 print_number(ip, narg, c); in ktrsyscall_freebsd()
1339 print_mask_arg(sysdecode_open_flags, ip[0]); in ktrsyscall_freebsd()
1341 decode_filemode(ip[1]); in ktrsyscall_freebsd()
1342 ip += 2; in ktrsyscall_freebsd()
1347 if (ip[0] == (uintptr_t)SHM_ANON) { in ktrsyscall_freebsd()
1349 ip++; in ktrsyscall_freebsd()
1351 print_number(ip, narg, c); in ktrsyscall_freebsd()
1354 print_mask_arg(sysdecode_open_flags, ip[0]); in ktrsyscall_freebsd()
1356 decode_filemode(ip[1]); in ktrsyscall_freebsd()
1358 print_mask_arg(sysdecode_shmflags, ip[2]); in ktrsyscall_freebsd()
1359 ip += 3; in ktrsyscall_freebsd()
1363 print_number(ip, narg, c); in ktrsyscall_freebsd()
1364 print_number(ip, narg, c); in ktrsyscall_freebsd()
1367 *ip); in ktrsyscall_freebsd()
1368 ip++; in ktrsyscall_freebsd()
1373 print_mask_arg(sysdecode_rfork_flags, *ip); in ktrsyscall_freebsd()
1374 ip++; in ktrsyscall_freebsd()
1381 *ip); in ktrsyscall_freebsd()
1382 ip++; in ktrsyscall_freebsd()
1388 print_mask_arg(sysdecode_mlockall_flags, *ip); in ktrsyscall_freebsd()
1389 ip++; in ktrsyscall_freebsd()
1393 print_number(ip, narg, c); in ktrsyscall_freebsd()
1396 *ip); in ktrsyscall_freebsd()
1397 ip++; in ktrsyscall_freebsd()
1404 *ip); in ktrsyscall_freebsd()
1405 ip++; in ktrsyscall_freebsd()
1409 print_number(ip, narg, c); in ktrsyscall_freebsd()
1410 print_number(ip, narg, c); in ktrsyscall_freebsd()
1411 print_number(ip, narg, c); in ktrsyscall_freebsd()
1412 print_number(ip, narg, c); in ktrsyscall_freebsd()
1413 print_number(ip, narg, c); in ktrsyscall_freebsd()
1414 print_number(ip, narg, c); in ktrsyscall_freebsd()
1416 print_mask_arg(sysdecode_sendfile_flags, *ip); in ktrsyscall_freebsd()
1417 ip++; in ktrsyscall_freebsd()
1421 print_number(ip, narg, c); in ktrsyscall_freebsd()
1423 print_integer_arg(sysdecode_kldsym_cmd, *ip); in ktrsyscall_freebsd()
1424 ip++; in ktrsyscall_freebsd()
1430 *ip); in ktrsyscall_freebsd()
1431 ip++; in ktrsyscall_freebsd()
1447 print_number(ip, narg, c); in ktrsyscall_freebsd()
1449 print_integer_arg(sysdecode_acltype, *ip); in ktrsyscall_freebsd()
1450 ip++; in ktrsyscall_freebsd()
1455 print_signal(*ip); in ktrsyscall_freebsd()
1456 ip++; in ktrsyscall_freebsd()
1461 print_number(ip, narg, c); in ktrsyscall_freebsd()
1464 *ip); in ktrsyscall_freebsd()
1465 ip++; in ktrsyscall_freebsd()
1469 print_number(ip, narg, c); in ktrsyscall_freebsd()
1470 print_number(ip, narg, c); in ktrsyscall_freebsd()
1472 print_mask_arg0(sysdecode_mount_flags, *ip); in ktrsyscall_freebsd()
1473 ip++; in ktrsyscall_freebsd()
1477 print_number(ip, narg, c); in ktrsyscall_freebsd()
1478 print_number(ip, narg, c); in ktrsyscall_freebsd()
1480 print_mask_arg(sysdecode_thr_create_flags, *ip); in ktrsyscall_freebsd()
1481 ip++; in ktrsyscall_freebsd()
1485 print_number(ip, narg, c); in ktrsyscall_freebsd()
1487 print_signal(*ip); in ktrsyscall_freebsd()
1488 ip++; in ktrsyscall_freebsd()
1492 print_number(ip, narg, c); in ktrsyscall_freebsd()
1495 *ip); in ktrsyscall_freebsd()
1496 ip++; in ktrsyscall_freebsd()
1502 print_number(ip, narg, c); in ktrsyscall_freebsd()
1504 print_integer_arg_valid(sysdecode_atfd, *ip); in ktrsyscall_freebsd()
1505 ip++; in ktrsyscall_freebsd()
1507 print_number(ip, narg, c); in ktrsyscall_freebsd()
1510 print_number(ip, narg, c); in ktrsyscall_freebsd()
1512 arg = *ip; in ktrsyscall_freebsd()
1513 ip++; in ktrsyscall_freebsd()
1518 print_number(ip, narg, c); in ktrsyscall_freebsd()
1519 print_number(ip, narg, c); in ktrsyscall_freebsd()
1520 print_number(ip, narg, c); in ktrsyscall_freebsd()
1522 print_integer_arg(sysdecode_fadvice, *ip); in ktrsyscall_freebsd()
1523 ip++; in ktrsyscall_freebsd()
1528 print_integer_arg(sysdecode_idtype, *ip); in ktrsyscall_freebsd()
1530 ip++; in ktrsyscall_freebsd()
1532 print_number64(first, ip, narg, c); in ktrsyscall_freebsd()
1534 print_integer_arg(sysdecode_procctl_cmd, *ip); in ktrsyscall_freebsd()
1535 ip++; in ktrsyscall_freebsd()
1541 print_number(ip, narg, c); in ktrsyscall_freebsd()
1544 *ip, &op)) in ktrsyscall_freebsd()
1548 switch (*ip) { in ktrsyscall_freebsd()
1550 ip++; in ktrsyscall_freebsd()
1554 sysdecode_umtx_cvwait_flags, *ip); in ktrsyscall_freebsd()
1557 ip++; in ktrsyscall_freebsd()
1561 sysdecode_umtx_rwlock_flags, *ip); in ktrsyscall_freebsd()
1564 ip++; in ktrsyscall_freebsd()
1570 print_number(ip, narg, c); in ktrsyscall_freebsd()
1571 print_number64(first, ip, narg, c); in ktrsyscall_freebsd()
1574 print_number(ip, narg, c); in ktrsyscall_freebsd()
1575 print_number(ip, narg, c); in ktrsyscall_freebsd()
1576 print_number(ip, narg, c); in ktrsyscall_freebsd()
1580 print_number(ip, narg, c); in ktrsyscall_freebsd()
1581 print_number(ip, narg, c); in ktrsyscall_freebsd()
1584 print_number(ip, narg, c); in ktrsyscall_freebsd()
1588 print_integer_arg(sysdecode_sysarch_number, *ip); in ktrsyscall_freebsd()
1589 ip++; in ktrsyscall_freebsd()
1596 print_integer_arg(sysdecode_itimer, *ip); in ktrsyscall_freebsd()
1597 ip++; in ktrsyscall_freebsd()
1612 print_mask_arg0(sysdecode_atflags, *ip); in ktrsyscall_freebsd()
1613 ip++; in ktrsyscall_freebsd()
1618 *resip = ip; in ktrsyscall_freebsd()