systrace_args.c (69e6d7b75e96c406d072cb83ffc9b26fbf1a86fb) systrace_args.c (1bf6b724f1b0628cd4a6c4aac72762aff43a3cc7)
1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * This file is part of the DTrace syscall provider.
7 */
8

--- 3344 unchanged lines hidden (view full) ---

3353 struct chflagsat_args *p = params;
3354 iarg[0] = p->fd; /* int */
3355 uarg[1] = (intptr_t) p->path; /* const char * */
3356 uarg[2] = p->flags; /* u_long */
3357 iarg[3] = p->atflag; /* int */
3358 *n_args = 4;
3359 break;
3360 }
1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * This file is part of the DTrace syscall provider.
7 */
8

--- 3344 unchanged lines hidden (view full) ---

3353 struct chflagsat_args *p = params;
3354 iarg[0] = p->fd; /* int */
3355 uarg[1] = (intptr_t) p->path; /* const char * */
3356 uarg[2] = p->flags; /* u_long */
3357 iarg[3] = p->atflag; /* int */
3358 *n_args = 4;
3359 break;
3360 }
3361 /* accept4 */
3362 case 541: {
3363 struct accept4_args *p = params;
3364 iarg[0] = p->s; /* int */
3365 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
3366 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
3367 iarg[3] = p->flags; /* int */
3368 *n_args = 4;
3369 break;
3370 }
3361 default:
3362 *n_args = 0;
3363 break;
3364 };
3365}
3366static void
3367systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3368{

--- 5571 unchanged lines hidden (view full) ---

8940 break;
8941 case 3:
8942 p = "int";
8943 break;
8944 default:
8945 break;
8946 };
8947 break;
3371 default:
3372 *n_args = 0;
3373 break;
3374 };
3375}
3376static void
3377systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3378{

--- 5571 unchanged lines hidden (view full) ---

8950 break;
8951 case 3:
8952 p = "int";
8953 break;
8954 default:
8955 break;
8956 };
8957 break;
8958 /* accept4 */
8959 case 541:
8960 switch(ndx) {
8961 case 0:
8962 p = "int";
8963 break;
8964 case 1:
8965 p = "struct sockaddr *__restrict";
8966 break;
8967 case 2:
8968 p = "__socklen_t *__restrict";
8969 break;
8970 case 3:
8971 p = "int";
8972 break;
8973 default:
8974 break;
8975 };
8976 break;
8948 default:
8949 break;
8950 };
8951 if (p != NULL)
8952 strlcpy(desc, p, descsz);
8953}
8954static void
8955systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

--- 1917 unchanged lines hidden (view full) ---

10873 if (ndx == 0 || ndx == 1)
10874 p = "int";
10875 break;
10876 /* chflagsat */
10877 case 540:
10878 if (ndx == 0 || ndx == 1)
10879 p = "int";
10880 break;
8977 default:
8978 break;
8979 };
8980 if (p != NULL)
8981 strlcpy(desc, p, descsz);
8982}
8983static void
8984systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

--- 1917 unchanged lines hidden (view full) ---

10902 if (ndx == 0 || ndx == 1)
10903 p = "int";
10904 break;
10905 /* chflagsat */
10906 case 540:
10907 if (ndx == 0 || ndx == 1)
10908 p = "int";
10909 break;
10910 /* accept4 */
10911 case 541:
10912 if (ndx == 0 || ndx == 1)
10913 p = "int";
10914 break;
10881 default:
10882 break;
10883 };
10884 if (p != NULL)
10885 strlcpy(desc, p, descsz);
10886}
10915 default:
10916 break;
10917 };
10918 if (p != NULL)
10919 strlcpy(desc, p, descsz);
10920}