/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
debug.h | 29 #define gvt_err(fmt, args...) \ 30 pr_err("gvt: "fmt, ##args) 32 #define gvt_vgpu_err(fmt, args...) \ 35 pr_err("gvt: "fmt, ##args); \ 37 pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\ 40 #define gvt_dbg_core(fmt, args...) \ 41 pr_debug("gvt: core: "fmt, ##args) 43 #define gvt_dbg_irq(fmt, args...) \ 44 pr_debug("gvt: irq: "fmt, ##args) 46 #define gvt_dbg_mm(fmt, args...) [all...] |
/src/lib/libarch/alpha/ |
alpha_pci_conf.c | 45 struct alpha_pci_conf_readwrite_args args; local in function:alpha_pci_conf_read 47 args.write = 0; 48 args.bus = bus; 49 args.device = device; 50 args.function = func; 51 args.reg = reg; 53 if (sysarch(ALPHA_PCI_CONF_READWRITE, &args) == -1) 56 return (args.val); 63 struct alpha_pci_conf_readwrite_args args; local in function:alpha_pci_conf_write 65 args.write = 1 [all...] |
/src/sys/arch/arm/ofw/ |
openfirm.c | 97 } args = { local in function:OF_peer 103 args.phandle = phandle; 104 if (openfirmware(&args) == -1) 106 return args.sibling; 118 } args = { local in function:OF_child 124 args.phandle = phandle; 125 if (openfirmware(&args) == -1) 127 return args.child; 139 } args = { local in function:OF_parent 145 args.phandle = phandle 160 } args = { local in function:OF_instance_to_package 183 } args = { local in function:OF_nextprop 210 } args = { local in function:OF_getprop 239 } args = { local in function:OF_setprop 266 } args = { local in function:OF_getproplen 288 } args = { local in function:OF_finddevice 311 } args = { local in function:OF_instance_to_path 336 } args = { local in function:OF_package_to_path 370 } args = { local in function:OF_call_method 434 } args = { local in function:OF_call_method_1 481 } args = { local in function:OF_open 501 } args = { local in function:OF_close 522 } args = { local in function:OF_read 547 } args = { local in function:OF_write 572 } args = { local in function:OF_seek 597 } args = { local in function:OF_claim 620 } args = { local in function:OF_release 639 } args = { local in function:OF_milliseconds 657 } args = { local in function:OF_boot 675 } args = { local in function:OF_enter 691 } args = { local in function:OF_exit 712 } args = { local in function:OF_set_callback [all...] |
/src/sys/arch/sparc/stand/ofwboot/ |
Locore.c | 66 } args; local in function:OF_exit 68 args.name = ADR2CELL("exit"); 69 args.nargs = 0; 70 args.nreturns = 0; 71 openfirmware(&args); 85 } args; local in function:OF_enter 87 args.name = ADR2CELL("enter"); 88 args.nargs = 0; 89 args.nreturns = 0; 90 openfirmware(&args); 102 } args; local in function:OF_finddevice 122 } args; local in function:OF_instance_to_package 144 } args; local in function:OF_instance_to_path 166 } args; local in function:OF_parent 189 } args; local in function:OF_getprop 216 } args; local in function:OF_setprop 240 } args; local in function:OF_interpret 276 } args; local in function:OF_package_to_path 300 } args; local in function:OF_open 320 } args; local in function:OF_close 340 } args; local in function:OF_write 364 } args; local in function:OF_read 389 } args; local in function:OF_seek 412 } args; local in function:OF_release 430 } args; local in function:OF_milliseconds 448 } args; local in function:OF_peer 468 } args; local in function:OF_child 518 } args; local in function:OF_claim_virt 558 } args; local in function:OF_alloc_virt 595 } args; local in function:OF_free_virt 630 } args; local in function:OF_unmap_virt 667 } args; local in function:OF_map_phys 711 } args; local in function:OF_alloc_phys 753 } args; local in function:OF_claim_phys 792 } args; local in function:OF_free_phys 829 } args; local in function:OF_claim [all...] |
/src/sys/arch/alpha/alpha/ |
sys_machdep.c | 105 struct alpha_fp_except_args args; local in function:sys_sysarch 107 error = copyin(SCARG(uap, parms), &args, sizeof args); 110 m = args.mask; 127 struct alpha_fp_c_args args; local in function:sys_sysarch 129 args.fp_c = alpha_read_fp_c(l); 130 error = copyout(&args, SCARG(uap, parms), sizeof args); 135 struct alpha_fp_c_args args; local in function:sys_sysarch 137 error = copyin(SCARG(uap, parms), &args, sizeof args) 147 struct alpha_bus_get_window_count_args args; local in function:sys_sysarch 167 struct alpha_bus_get_window_args args; local in function:sys_sysarch 194 struct alpha_pci_conf_readwrite_args args; local in function:sys_sysarch [all...] |
/src/sys/arch/shark/stand/ofwboot/ |
Locore.c | 128 } args = { local in function:OF_exit 134 openfirmware(&args); 147 } args = { local in function:OF_finddevice 153 args.device = name; 154 if (openfirmware(&args) == -1) 156 return args.phandle; 168 } args = { local in function:OF_instance_to_package 174 args.ihandle = ihandle; 175 if (openfirmware(&args) == -1) 177 return args.phandle 192 } args = { local in function:OF_getprop 220 } args = { local in function:OF_setprop 245 } args = { local in function:OF_open 276 } args = { local in function:OF_close 300 } args = { local in function:OF_write 337 } args = { local in function:OF_read 374 } args = { local in function:OF_seek 409 } args = { local in function:OF_claim 442 } args = { local in function:OF_release 464 } args = { local in function:OF_milliseconds 487 } args; local in function:OF_chain [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvif/ |
nouveau_nvif_vmm.c | 44 struct nvif_vmm_map_v0 *args; local in function:nvif_vmm_map 48 if (sizeof(*args) + argc > sizeof(stack)) { 49 if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) 52 args = (void *)stack; 55 args->version = 0; 56 args->addr = addr; 57 args->size = size; 58 args->memory = nvif_handle(&mem->object); 59 args->offset = offset 85 struct nvif_vmm_get_v0 args; local in function:nvif_vmm_get 123 struct nvif_vmm_v0 *args; local in function:nvif_vmm_init 155 struct nvif_vmm_page_v0 args = { .index = i }; local in function:nvif_vmm_init [all...] |
nouveau_nvif_object.c | 41 } *args = data; local in function:nvif_object_ioctl 43 if (size >= sizeof(*args) && args->v0.version == 0) { 45 args->v0.object = nvif_handle(object); 47 args->v0.object = 0; 48 args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; 69 } *args = NULL; local in function:nvif_object_sclass_get 74 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); 75 if (!(args = kmalloc(size, GFP_KERNEL)) 113 } args = { local in function:nvif_object_rd 132 } args = { local in function:nvif_object_wr 150 } *args; local in function:nvif_object_mthd 179 } args = { local in function:nvif_object_unmap_handle 200 } *args; local in function:nvif_object_map_handle 300 } args = { local in function:nvif_object_fini 319 } *args; local in function:nvif_object_init [all...] |
/src/etc/rc.d/ |
gpio | 22 while read -r args; do 23 case "$args" in 26 ( eval "${args#*!}" ) 30 args=${args%%#*} # strip comments 31 test -z "$args" && continue 32 /usr/sbin/gpioctl -q $args
|
staticroute | 23 ( while read args; do 24 [ -z "$args" ] && continue 25 case "$args" in 30 eval "${args#*+}" || retval=1 35 eval "${args#*-}" || retval=1 39 eval "${args#*!}" || retval=1 42 eval "route -q $2 -$args" || retval=1
|
/src/lib/libc/resolv/ |
res_debug.h | 24 # define Dprint(cond, args) /*empty*/ 25 # define DprintQ(cond, args, query, size) /*empty*/ 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} 30 # define DprintQ(cond, args, query, size) if (cond) {\ 31 fprintf args;\
|
/src/lib/libquota/ |
quota_kernel.c | 52 struct quotactl_args args; local in function:__quota_kernel_stat 54 args.qc_op = QUOTACTL_STAT; 55 args.u.stat.qc_info = stat; 56 return __quotactl(qh->qh_mountpoint, &args); 97 struct quotactl_args args; local in function:__quota_kernel_idtype_getname 99 args.qc_op = QUOTACTL_IDTYPESTAT; 100 args.u.idtypestat.qc_idtype = idtype; 101 args.u.idtypestat.qc_info = &stat; 102 if (__quotactl(qh->qh_mountpoint, &args)) { 123 struct quotactl_args args; local in function:__quota_kernel_objtype_getname 138 struct quotactl_args args; local in function:__quota_kernel_objtype_isbytes 152 struct quotactl_args args; local in function:__quota_kernel_quotaon 187 struct quotactl_args args; local in function:__quota_kernel_quotaoff 198 struct quotactl_args args; local in function:__quota_kernel_get 210 struct quotactl_args args; local in function:__quota_kernel_put 221 struct quotactl_args args; local in function:__quota_kernel_delete 231 struct quotactl_args args; local in function:__quota_kernel_cursor_create 255 struct quotactl_args args; local in function:__quota_kernel_cursor_destroy 271 struct quotactl_args args; local in function:__quota_kernel_cursor_skipidtype 299 struct quotactl_args args; local in function:__quota_kernel_cursor_getn 324 struct quotactl_args args; local in function:__quota_kernel_cursor_atend 346 struct quotactl_args args; local in function:__quota_kernel_cursor_rewind [all...] |
/src/usr.bin/systat/ |
disks.c | 48 static void drvselect(char *args, int truefalse, int selections[]); 51 disks_add(char *args) 54 if (args) 55 drvselect(args, 1, drv_select); 59 disks_remove(char *args) 62 if (args) 63 drvselect(args, 0, drv_select); 67 disks_drives(char *args) 71 if (args) { 75 disks_add(args); [all...] |
/src/sys/arch/macppc/stand/ofwboot/ |
Locore.c | 250 } args = { 256 openfirmware(&args); 267 } args = { local in function:OF_exit 273 openfirmware(&args); 286 } args = { local in function:OF_finddevice 292 args.device = name; 293 if (openfirmware(&args) == -1) 295 return args.phandle; 307 } args = { local in function:OF_instance_to_package 313 args.ihandle = ihandle 331 } args = { local in function:OF_getprop 359 } args = { local in function:OF_setprop 384 } args = { local in function:OF_open 415 } args = { local in function:OF_close 439 } args = { local in function:OF_write 476 } args = { local in function:OF_read 513 } args = { local in function:OF_seek 548 } args = { local in function:OF_claim 581 } args = { local in function:OF_release 603 } args = { local in function:OF_milliseconds 626 } args = { local in function:OF_chain 664 } args = { local in function:OF_call_method [all...] |
/src/sys/kern/ |
vfs_quotactl.c | 40 struct quotactl_args args; local in function:vfs_quotactl_stat 42 args.qc_op = QUOTACTL_STAT; 43 args.u.stat.qc_info = info; 44 return VFS_QUOTACTL(mp, &args); 51 struct quotactl_args args; local in function:vfs_quotactl_idtypestat 53 args.qc_op = QUOTACTL_IDTYPESTAT; 54 args.u.idtypestat.qc_idtype = idtype; 55 args.u.idtypestat.qc_info = info; 56 return VFS_QUOTACTL(mp, &args); 63 struct quotactl_args args; local in function:vfs_quotactl_objtypestat 75 struct quotactl_args args; local in function:vfs_quotactl_get 87 struct quotactl_args args; local in function:vfs_quotactl_put 98 struct quotactl_args args; local in function:vfs_quotactl_del 108 struct quotactl_args args; local in function:vfs_quotactl_cursoropen 118 struct quotactl_args args; local in function:vfs_quotactl_cursorclose 129 struct quotactl_args args; local in function:vfs_quotactl_cursorskipidtype 142 struct quotactl_args args; local in function:vfs_quotactl_cursorget 157 struct quotactl_args args; local in function:vfs_quotactl_cursoratend 168 struct quotactl_args args; local in function:vfs_quotactl_cursorrewind 178 struct quotactl_args args; local in function:vfs_quotactl_quotaon 189 struct quotactl_args args; local in function:vfs_quotactl_quotaoff [all...] |
/src/sys/external/bsd/drm2/dist/drm/ |
drm_dumb_buffers.c | 64 struct drm_mode_create_dumb *args, 71 if (!args->width || !args->height || !args->bpp) 75 if (args->bpp > U32_MAX - 8) 77 cpp = DIV_ROUND_UP(args->bpp, 8); 78 if (cpp > U32_MAX / args->width) 80 stride = cpp * args->width; 81 if (args->height > U32_MAX / stride) 85 size = args->height * stride 125 struct drm_mode_map_dumb *args = data; local in function:drm_mode_mmap_dumb_ioctl 154 struct drm_mode_destroy_dumb *args = data; local in function:drm_mode_destroy_dumb_ioctl [all...] |
/src/tests/modules/ufetchstore/ |
ufetchstore_tester.c | 44 test_ufetch(void * const uaddr, struct ufetchstore_test_args * const args) 48 switch (args->size) { 50 args->fetchstore_error = ufetch_8(uaddr, &args->val8); 53 args->fetchstore_error = ufetch_16(uaddr, &args->val16); 56 args->fetchstore_error = ufetch_32(uaddr, &args->val32); 60 args->fetchstore_error = ufetch_64(uaddr, &args->val64) 124 struct ufetchstore_test_args *uargs, args; local in function:do_ufetchstore_test [all...] |
/src/sys/arch/sparc/sparc/ |
openfirm.c | 85 } args; local in function:OF_peer 87 args.name = ADR2CELL("peer"); 88 args.nargs = 1; 89 args.nreturns = 1; 90 args.phandle = HDL2CELL(phandle); 91 if (openfirmware(&args) == -1) 93 return args.sibling; 105 } args; local in function:OF_child 107 args.name = ADR2CELL("child"); 108 args.nargs = 1 125 } args; local in function:OF_parent 145 } args; local in function:OF_instance_to_package 167 } args; local in function:OF_getproplen 192 } args; local in function:OF_getprop 221 } args; local in function:OF_setprop 248 } args; local in function:OF_nextprop 270 } args; local in function:OF_finddevice 292 } args; local in function:OF_instance_to_path 318 } args; local in function:OF_package_to_path 347 } args; local in function:OF_call_method 385 } args; local in function:OF_call_method_1 415 } args; local in function:OF_open 437 } args; local in function:OF_close 455 } args; local in function:OF_test 476 } args; local in function:OF_test_method 503 } args; local in function:OF_read 562 } args; local in function:OF_write 610 } args; local in function:OF_seek 631 } args; local in function:OF_boot 651 } args; local in function:OF_enter 666 } args; local in function:OF_exit 682 } args; local in function:OF_poweroff 700 } args; local in function:OF_set_callback 720 } args; local in function:OF_set_symbol_lookup 740 } args; local in function:OF_interpret 772 } args; local in function:OF_milliseconds 794 } args; local in function:OF_claim 821 struct args { struct in function:OF_sym2val 828 } *args = (struct args*)cells; local in function:OF_sym2val 858 struct args { struct in function:OF_val2sym 865 } *args = (struct args*)cells; local in function:OF_val2sym [all...] |
/src/sys/arch/atari/stand/tostools/libtos/ |
eprintf.c | 60 va_list args; local in function:eprintf 63 va_start(args, frm); 64 rv = veprintf(frm, args); 65 va_end(args); 70 veprintf(char *frm, va_list args) 74 rv = vfprintf(stderr, frm, args); 76 vfprintf(stdout, frm, args);
|
/src/tests/lib/librefuse/ |
t_refuse_opt.c | 48 struct fuse_args args = FUSE_ARGS_INIT(0, NULL); local in function:ATF_TC_BODY 50 RL(fuse_opt_add_arg(&args, "foo")); 51 RL(fuse_opt_add_arg(&args, "bar")); 53 ATF_REQUIRE_EQ(args.argc, 2); 54 ATF_CHECK_STREQ(args.argv[0], "foo"); 55 ATF_CHECK_STREQ(args.argv[1], "bar"); 56 ATF_CHECK(args.allocated != 0); 67 struct fuse_args args = FUSE_ARGS_INIT(0, NULL); local in function:ATF_TC_BODY 69 RL(fuse_opt_insert_arg(&args, 0, "foo")); 70 RL(fuse_opt_insert_arg(&args, 0, "bar")) 207 struct fuse_args args = FUSE_ARGS_INIT(0, NULL); local in function:ATF_TC_BODY 236 struct fuse_args args = FUSE_ARGS_INIT(0, NULL); local in function:ATF_TC_BODY 262 struct fuse_args args = FUSE_ARGS_INIT(0, NULL); local in function:ATF_TC_BODY [all...] |
/src/sys/arch/ofppc/stand/ofwboot/ |
Locore.c | 82 } args = { local in function:OF_exit 88 openfirmware(&args); 100 } args = { local in function:OF_boot 106 args.bootspec = bootspec; 107 openfirmware(&args); 120 } args = { local in function:OF_finddevice 126 args.device = name; 127 if (openfirmware(&args) == -1) 129 return args.phandle; 141 } args = local in function:OF_instance_to_package 165 } args = { local in function:OF_getprop 193 } args = { local in function:OF_setprop 218 } args = { local in function:OF_open 249 } args = { local in function:OF_close 273 } args = { local in function:OF_write 310 } args = { local in function:OF_read 347 } args = { local in function:OF_seek 380 } args = { local in function:OF_alloc_mem 411 } args = { local in function:OF_claim 444 } args = { local in function:OF_release 466 } args = { local in function:OF_milliseconds 489 } args = { local in function:OF_chain 574 } args = { local in function:OF_peer 595 } args = { local in function:OF_child 618 } args = { local in function:OF_nextprop 643 } args = { local in function:OF_package_to_path [all...] |
/src/tests/fs/common/ |
fstest_msdosfs.c | 62 struct msdosfstestargs *args; local in function:msdosfs_fstest_newfs 75 args = calloc(1, sizeof(*args)); 76 if (args == NULL) 79 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.msdosfs", num); 80 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image); 81 args->ta_uargs.fspec = args->ta_devpath; 82 args->ta_uargs.mask = 0755; 84 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK) 100 struct msdosfstestargs *args = buf; local in function:msdosfs_fstest_delfs 119 struct msdosfstestargs *args = buf; local in function:msdosfs_fstest_mount [all...] |
fstest_v7fs.c | 62 struct v7fstestargs *args; local in function:v7fs_fstest_newfs 75 args = calloc(1, sizeof(*args)); 76 if (args == NULL) 79 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.v7fs", num); 80 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image); 81 args->ta_uargs.fspec = args->ta_devpath; 82 args->ta_uargs.endian = _BYTE_ORDER; 84 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK) 100 struct v7fstestargs *args = buf; local in function:v7fs_fstest_delfs 119 struct v7fstestargs *args = buf; local in function:v7fs_fstest_mount [all...] |
/src/sys/arch/powerpc/powerpc/ |
openfirm.c | 94 } args = { local in function:OF_peer 103 args.phandle = phandle; 104 if (openfirmware(&args) == -1) 107 rv = args.sibling; 122 } args = { local in function:OF_child 131 args.phandle = phandle; 132 if (openfirmware(&args) == -1) 135 rv = args.child; 150 } args = { local in function:OF_parent 159 args.phandle = phandle 178 } args = { local in function:OF_instance_to_package 207 } args = { local in function:OF_getproplen 240 } args = { local in function:OF_getprop 283 } args = { local in function:OF_setprop 320 } args = { local in function:OF_nextprop 353 } args = { local in function:OF_finddevice 384 } args = { local in function:OF_instance_to_path 424 } args = { local in function:OF_package_to_path 463 } args = { local in function:OF_call_method 517 } args = { local in function:OF_call_method_1 562 } args = { local in function:OF_open 594 } args = { local in function:OF_close 622 } args = { local in function:OF_read 669 } args = { local in function:OF_write 710 } args = { local in function:OF_seek 742 } args = { local in function:OF_start_cpu 772 } args = { local in function:OF_boot 799 } args = { local in function:OF_enter 819 } args = { local in function:OF_exit 842 } args = { local in function:OF_set_callback 869 } args = { local in function:OF_interpret 922 } args = { local in function:OF_quiesce [all...] |
/src/lib/libform/ |
type_regex.c | 52 * Create the regex arguments structure from the given args. Return NULL 56 create_regex_args(va_list *args) 65 expression = va_arg(*args, char *); 80 copy_regex_args(char *args) 82 ((regex_args *) (void *) args)->references++; 84 return (void *) args; 91 free_regex_args(char *args) 93 if (args != NULL) { 94 ((regex_args *) (void *) args)->references--; 95 if (((regex_args *) (void *) args)->references == 0 [all...] |