Searched refs:largs (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/amd64/amd64/ |
H A D | sys_machdep.c | 100 struct i386_ldt_args *largs, la; in sysarch_ldt() local 113 largs = &la; in sysarch_ldt() 115 largs = (struct i386_ldt_args *)uap->parms; in sysarch_ldt() 119 error = amd64_get_ldt(td, largs); in sysarch_ldt() 122 if (largs->descs != NULL && largs->num > max_ldt_segment) in sysarch_ldt() 125 if (largs->descs != NULL) { in sysarch_ldt() 126 lp = malloc(largs->num * sizeof(struct in sysarch_ldt() 128 error = copyin(largs->descs, lp, largs->num * in sysarch_ldt() 131 error = amd64_set_ldt(td, largs, lp); in sysarch_ldt() 134 error = amd64_set_ldt(td, largs, NULL); in sysarch_ldt()
|
/freebsd/sys/i386/i386/ |
H A D | sys_machdep.c | 140 struct i386_ldt_args largs; in sysarch() member 185 if ((error = copyin(uap->parms, &kargs.largs, in sysarch() 200 error = i386_get_ldt(td, &kargs.largs); in sysarch() 203 if (kargs.largs.descs != NULL) { in sysarch() 204 if (kargs.largs.num > MAX_LD) in sysarch() 206 lp = malloc(kargs.largs.num * sizeof(union descriptor), in sysarch() 208 error = copyin(kargs.largs.descs, lp, in sysarch() 209 kargs.largs.num * sizeof(union descriptor)); in sysarch() 211 error = i386_set_ldt(td, &kargs.largs, lp); in sysarch() 214 error = i386_set_ldt(td, &kargs.largs, NULL); in sysarch()
|
/freebsd/usr.bin/truss/ |
H A D | syscalls.c | 1897 struct linux_socketcall_args largs; in print_arg() local 1899 if (get_struct(pid, args[sc->offset], (void *)&largs, in print_arg() 1900 sizeof(largs)) != -1) in print_arg() 1902 lookup(linux_socketcall_ops, largs.what, 10), in print_arg() 1903 (long unsigned int)largs.args); in print_arg()
|
/freebsd/contrib/sendmail/src/ |
H A D | map.c | 4204 char **largs; local 4208 # define largs av macro 4266 largs = av; 4280 largs = largv; 4466 result = map_rewrite(map, vp, strlen(vp), largs);
|