Searched refs:arg (Results 201 - 225 of 2793) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/aic7xxx/
H A Daic_osm_lib.c38 static void aic_recovery_thread(void *arg);
66 aic_platform_timeout(void *arg) argument
70 scb = (struct scb *)arg;
108 aic_recovery_thread(void *arg) argument
112 aic = (struct aic_softc *)arg;
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_ioc32.c66 static int compat_radeon_cp_init(struct drm_device *dev, void *arg, argument
72 init32 = arg;
108 static int compat_radeon_cp_clear(struct drm_device *dev, void *arg, argument
114 clr32 = arg;
130 static int compat_radeon_cp_stipple(struct drm_device *dev, void *arg, argument
133 drm_radeon_stipple32_t __user *argp = (void __user *)arg;
156 static int compat_radeon_cp_texture(struct drm_device *dev, void *arg, argument
164 req32 = arg;
193 static int compat_radeon_cp_vertex2(struct drm_device *dev, void *arg, argument
199 req32 = arg;
218 compat_radeon_cp_cmdbuf(struct drm_device *dev, void *arg, struct drm_file *file_priv) argument
239 compat_radeon_cp_getparam(struct drm_device *dev, void *arg, struct drm_file *file_priv) argument
260 compat_radeon_mem_alloc(struct drm_device *dev, void *arg, struct drm_file *file_priv) argument
280 compat_radeon_irq_emit(struct drm_device *dev, void *arg, struct drm_file *file_priv) argument
299 compat_radeon_cp_setparam(struct drm_device *dev, void *arg, struct drm_file *file_priv) argument
[all...]
H A Datom.c177 uint32_t idx, val = 0xCDCDCDCD, align, arg; local
179 arg = attr & 7;
181 switch (arg) {
364 uint32_t align = (attr >> 3) & 7, arg = attr & 7; local
365 switch (arg) {
429 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, argument
433 arg | atom_dst_to_src[(attr >> 3) &
438 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) argument
441 arg | atom_dst_to_src[(attr >> 3) & 7][(attr >> 6) &
445 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_ argument
584 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument
598 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument
612 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument
617 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument
633 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument
645 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument
659 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument
671 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument
688 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument
693 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument
746 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument
763 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument
780 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument
791 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument
796 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument
810 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument
816 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument
821 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument
826 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument
831 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument
845 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument
852 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument
879 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument
886 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument
902 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument
918 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument
937 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument
956 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument
970 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument
997 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument
1009 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument
1023 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument
1030 int arg; member in struct:__anon7666
[all...]
/freebsd-9.3-release/tools/regression/environ/
H A Denvctl.c128 char arg; local
140 while ((arg = getopt(argc, argv, "DGS:Ub:c:g:hp:rs:tu:")) != -1) {
141 switch (arg) {
172 value = getenv(arg == 'g' ? optarg : NULL);
202 print_rtrn_errno(unsetenv(arg == 'u' ? optarg : NULL),
/freebsd-9.3-release/sys/dev/fb/
H A Dfb.c124 vid_malloc_init(void *arg) argument
501 caddr_t arg, int flag, struct thread *td)
507 error = vidd_ioctl(adp, cmd, arg);
621 fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg) argument
634 *(int *)arg = adp->va_index;
638 *(int *)arg = adp->va_type;
642 ((video_adapter_info_t *)arg)->va_index = adp->va_index;
643 ((video_adapter_info_t *)arg)->va_type = adp->va_type;
644 bcopy(adp->va_name, ((video_adapter_info_t *)arg)->va_name,
646 sizeof(((video_adapter_info_t *)arg)
500 genfbioctl(genfb_softc_t *sc, video_adapter_t *adp, u_long cmd, caddr_t arg, int flag, struct thread *td) argument
[all...]
/freebsd-9.3-release/contrib/gperf/src/
H A Doptions.cc277 const char *arg = _argument_vector[i]; local
279 /* Escape arg if it contains shell metacharacters. */
280 if (*arg == '-')
282 putchar (*arg);
283 arg++;
284 if (*arg >= 'A' && *arg <= 'Z' || *arg >= 'a' && *arg <= 'z')
286 putchar (*arg);
[all...]
/freebsd-9.3-release/sys/dev/patm/
H A Dif_patm_ioctl.c79 patm_open_vcc(struct patm_softc *sc, struct atmio_openvcc *arg) argument
85 patm_debug(sc, VCC, "Open VCC: %u.%u flags=%#x", arg->param.vpi,
86 arg->param.vci, arg->param.flags);
88 if (!LEGAL_VPI(sc, arg->param.vpi) || !LEGAL_VCI(sc, arg->param.vci))
90 if (arg->param.vci == 0 && (arg->param.vpi != 0 ||
91 !(arg->param.flags & ATMIO_FLAG_NOTX) ||
92 arg
214 patm_close_vcc(struct patm_softc *sc, struct atmio_closevcc *arg) argument
[all...]
/freebsd-9.3-release/usr.sbin/cdcontrol/
H A Dcdcontrol.c136 int next_prev(char *arg, int);
137 int play(char *arg);
138 int info(char *arg);
140 int pstatus(char *arg);
146 int run(int cmd, char *arg);
202 char *arg; local
259 arg = parse (buf, &cmd);
260 rc = run (cmd, arg);
276 arg = input (&cmd);
277 if (run (cmd, arg) <
287 run(int cmd, char *arg) argument
468 play(char *arg) argument
751 next_prev(char *arg, int cmd) argument
794 pstatus(char *arg) argument
[all...]
/freebsd-9.3-release/sbin/ifconfig/
H A Difbridge.c111 do_cmd(int sock, u_long op, void *arg, size_t argsize, int set) argument
120 ifd.ifd_data = arg;
511 setbridge_maxaddr(const char *arg, int d, int s, const struct afswtch *afp) argument
516 if (get_val(arg, &val) < 0 || (val & ~0xffffffff) != 0)
517 errx(1, "invalid value: %s", arg);
522 err(1, "BRDGSCACHE %s", arg);
526 setbridge_hellotime(const char *arg, int d, int s, const struct afswtch *afp) argument
531 if (get_val(arg, &val) < 0 || (val & ~0xff) != 0)
532 errx(1, "invalid value: %s", arg);
537 err(1, "BRDGSHT %s", arg);
541 setbridge_fwddelay(const char *arg, int d, int s, const struct afswtch *afp) argument
556 setbridge_maxage(const char *arg, int d, int s, const struct afswtch *afp) argument
571 setbridge_priority(const char *arg, int d, int s, const struct afswtch *afp) argument
586 setbridge_protocol(const char *arg, int d, int s, const struct afswtch *afp) argument
603 setbridge_holdcount(const char *arg, int d, int s, const struct afswtch *afp) argument
656 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, const struct afswtch *afp) argument
675 setbridge_timeout(const char *arg, int d, int s, const struct afswtch *afp) argument
[all...]
/freebsd-9.3-release/sys/netgraph/atm/uni/
H A Dng_uni.c342 struct ngm_uni_debug *arg; local
344 if (msg->header.arglen > sizeof(*arg)) {
348 arg = (struct ngm_uni_debug *)msg->data;
350 uni_set_debug(priv->uni, i, arg->level[i]);
356 struct ngm_uni_debug *arg; local
358 NG_MKRESPONSE(resp, msg, sizeof(*arg), M_NOWAIT);
363 arg = (struct ngm_uni_debug *)resp->data;
365 arg->level[i] = uni_get_debug(priv->uni, i);
390 struct ngm_uni_set_config *arg; local
393 if (msg->header.arglen != sizeof(*arg)) {
526 struct uni_arg arg; local
575 struct uni_arg arg; local
665 struct sscfu_arg arg; local
716 struct sscfu_arg arg; local
[all...]
/freebsd-9.3-release/usr.sbin/pw/
H A Dpw_user.c104 struct carg *arg; local
149 if ((arg = getarg(args, 'b')) != NULL) {
150 cnf->home = arg->val;
153 if ((arg = getarg(args, 'M')) != NULL) {
154 dmode_c = arg->val;
166 if (arg != NULL || getarg(args, 'm') != NULL) {
221 if ((arg = getarg(args, 'e')) != NULL)
222 cnf->expire_days = atoi(arg->val);
224 if ((arg = getarg(args, 'y')) != NULL)
225 cnf->nispasswd = arg
927 struct carg *arg = getarg(args, 'p'); local
943 struct carg *arg = getarg(args, 'e'); local
957 struct carg *arg = getarg(args, 'd'); local
1011 struct carg *arg = getarg(args, 's'); local
[all...]
/freebsd-9.3-release/contrib/ntp/util/
H A Dtg.c110 int arg; /* argument */ member in struct:progx
262 int rval, temp, arg, sw, ptr; local
463 arg = progz[i].arg;
466 arg = progy[i % 10].arg;
471 if (code[ptr] & arg) {
485 peep(arg, 1000, HIGH);
486 peep(10 - arg, 1000, LOW);
490 peep(arg, 100
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_ioctl.c92 void __user *arg)
104 if (copy_from_user(&hreq, arg, sizeof(hreq)))
297 void __user *arg,
313 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t)))
385 void __user *arg,
399 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t)))
436 void __user *arg,
450 if (copy_from_user(&dmhreq, arg, sizeof(xfs_fsop_setdm_handlereq_t)))
480 void __user *arg,
494 if (copy_from_user(&al_hreq, arg, sizeo
90 xfs_find_handle( unsigned int cmd, void __user *arg) argument
295 xfs_open_by_handle( xfs_mount_t *mp, void __user *arg, struct file *parfilp, struct inode *parinode) argument
383 xfs_readlink_by_handle( xfs_mount_t *mp, void __user *arg, struct file *parfilp, struct inode *parinode) argument
434 xfs_fssetdm_by_handle( xfs_mount_t *mp, void __user *arg, struct file *parfilp, struct inode *parinode) argument
478 xfs_attrlist_by_handle( xfs_mount_t *mp, void __user *arg, struct file *parfilp, struct inode *parinode) argument
611 xfs_attrmulti_by_handle( xfs_mount_t *mp, void __user *arg, struct file *parfilp, struct inode *parinode) argument
747 xfs_ioctl( bhv_desc_t *bdp, struct inode *inode, struct file *filp, int ioflags, u_long cmd, void *arg) argument
1019 xfs_ioc_space( bhv_desc_t *bdp, xfs_vnode_t *vp, struct file *filp, int ioflags, u_long cmd, void __user *arg) argument
1059 xfs_ioc_bulkstat( xfs_mount_t *mp, unsigned int cmd, void __user *arg) argument
1125 xfs_ioc_fsgeometry_v1( xfs_mount_t *mp, void __user *arg) argument
1142 xfs_ioc_fsgeometry( xfs_mount_t *mp, void __user *arg) argument
1226 xfs_ioc_xattr( xfs_vnode_t *vp, xfs_inode_t *ip, struct file *filp, unsigned int cmd, void __user *arg) argument
1369 xfs_ioc_getbmap( bhv_desc_t *bdp, struct file *filp, int ioflags, unsigned int cmd, void __user *arg) argument
1400 xfs_ioc_getbmapx( bhv_desc_t *bdp, void __user *arg) argument
1449 xfs_ioctl( bhv_desc_t *bdp, struct inode *inode, struct file *filp, int ioflags, u_long cmd, unsigned long arg) argument
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/mi/
H A Dmi-parse.c40 char *arg; local
88 arg = xmalloc ((len + 1) * sizeof (char));
97 arg[len] = parse_escape (&chp);
100 arg[len] = *chp++;
103 arg[len] = '\0';
118 arg = xmalloc ((len + 1) * sizeof (char));
119 strncpy (arg, start, len);
120 arg[len] = '\0';
124 /* Append arg to argv. */
126 argv[argc++] = arg;
[all...]
/freebsd-9.3-release/sys/geom/
H A Dgeom_ctl.c140 ap = geom_alloc_copyin(req, req->arg, req->narg * sizeof(*ap));
143 req->arg = NULL;
186 req->arg = ap;
199 ap = req->arg;
218 if (req->arg == NULL)
221 if (req->arg[i].flag & GCTL_PARAM_NAMEKERNEL)
222 g_free(req->arg[i].name);
223 if ((req->arg[i].flag & GCTL_PARAM_VALUEKERNEL) &&
224 req->arg[i].len > 0)
225 g_free(req->arg[
376 gctl_get_class(struct gctl_req *req, char const *arg) argument
392 gctl_get_geom(struct gctl_req *req, struct g_class *mpr, char const *arg) argument
414 gctl_get_provider(struct gctl_req *req, char const *arg) argument
430 g_ctl_req(void *arg, int flag __unused) argument
[all...]
/freebsd-9.3-release/sys/pc98/cbus/
H A Dpckbd.c60 static void pckbd_isa_intr(void *arg);
159 pckbd_isa_intr(void *arg) argument
161 keyboard_t *kbd = arg;
228 pckbd_timeout(void *arg) argument
248 kbd = (keyboard_t *)arg;
260 timeout(pckbd_timeout, arg, hz/10);
365 int arg[2]; local
384 arg[0] = -1;
385 arg[1] = -1;
387 if (pckbd_probe(PC98KBD_DEFAULT, arg, flag
400 pckbd_probe(int unit, void *arg, int flags) argument
422 pckbd_init(int unit, keyboard_t **kbdp, void *arg, int flags) argument
493 pckbd_intr(keyboard_t *kbd, void *arg) argument
703 pckbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg) argument
[all...]
/freebsd-9.3-release/usr.bin/last/
H A Dlast.c65 typedef struct arg { struct
70 int type; /* type of arg */
71 struct arg *next; /* linked list pointer */
415 addarg(int type, char *arg) argument
423 cur->name = arg;
434 hostconv(char *arg) argument
440 if (!(argdot = strchr(arg, '.')))
457 ttyconv(char *arg) argument
465 if (strlen(arg) == 2) {
469 if (!strcmp(arg, "c
489 dateconv(char *arg) argument
[all...]
/freebsd-9.3-release/contrib/cvs/contrib/
H A Dlog.in106 my $arg = shift @ARGV;
108 if ($arg eq '-m') {
110 } elsif ($arg eq '-u') {
112 } elsif ($arg eq '-f') {
115 } elsif ($arg eq '-s') {
117 } elsif ($arg eq '-V') {
122 @files = split(/ /, $arg);
/freebsd-9.3-release/contrib/ngatm/sscop/
H A Dcommon.c314 parse_param(struct sscop_param *param, u_int *pmask, int opt, char *arg) argument
341 if((p = strchr(arg, '=')) == NULL)
345 errx(1, "argument to -%c %s empty", opt, arg);
348 errx(1, "bad number in -%c %s=%s", opt, arg, p);
351 if(strcmp(arg, "cc") == 0) {
354 } else if(strcmp(arg, "poll") == 0) {
357 } else if(strcmp(arg, "ka") == 0) {
360 } else if(strcmp(arg, "nr") == 0) {
363 } else if(strcmp(arg, "idle") == 0) {
367 errx(1, "bad timer name '%s'", arg);
[all...]
/freebsd-9.3-release/crypto/heimdal/tests/gss/
H A Dcheck-spnego.in151 for arg in \
160 echo "no NTLM acceptor cred ${arg}"
163 $arg \
170 echo "no NTLM initiator cred ${arg}"
173 $arg \
180 echo "no krb5 acceptor cred ${arg}"
183 $arg \
190 echo "no krb5 initiator cred ${arg}"
193 $arg \
/freebsd-9.3-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_labels.c80 ctf_label_iter(ctf_file_t *fp, ctf_label_f *func, void *arg) argument
102 if ((rc = func(lname, &linfo, arg)) != 0)
115 label_info_cb(const char *lname, const ctf_lblinfo_t *linfo, void *arg) argument
121 if (strcmp(lname, ((linfo_cb_arg_t *)arg)->lca_name) == 0) {
125 if (((linfo_cb_arg_t *)arg)->lca_info != NULL)
126 bcopy(linfo, ((linfo_cb_arg_t *)arg)->lca_info,
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dlfsr.c36 isc_lfsrreseed_t reseed, void *arg)
47 lfsr->arg = arg;
50 reseed(lfsr, arg);
71 lfsr->reseed(lfsr, lfsr->arg);
111 lfsr->reseed(lfsr, lfsr->arg);
34 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, isc_uint32_t tap, unsigned int count, isc_lfsrreseed_t reseed, void *arg) argument
/freebsd-9.3-release/contrib/groff/contrib/mm/
H A DNOTES11 COVER [arg]
12 MT [arg [addressee]]
13 The arg is part of a filename in mm/*.MT or mm/*.cov.
66 cov*abs-arg I Argument to abstract.
90 7 arg 7
91 8 arg 8
92 9 arg 9
/freebsd-9.3-release/tools/regression/kthread/kld/
H A Dkthrdlk.c61 thr_suspender(void *arg) argument
63 struct thread *td = (struct thread *) arg;
88 thr_resumer(void *arg) argument
90 struct thread *td = (struct thread *) arg;
112 thr_getsuspended(void *arg) argument
179 void *arg)
178 kthrdlk_handler(module_t mod, int what, void *arg) argument
/freebsd-9.3-release/usr.sbin/ppp/
H A Dlog.c426 log_ShowLevel(struct cmdargs const *arg) argument
430 prompt_Printf(arg->prompt, "Log: ");
433 prompt_Printf(arg->prompt, " %s", log_Name(i));
435 prompt_Printf(arg->prompt, "\nLocal:");
437 if (log_IsKeptLocal(i, arg->prompt->logmask) & LOG_KEPT_LOCAL)
438 prompt_Printf(arg->prompt, " %s", log_Name(i));
440 prompt_Printf(arg->prompt, "\n");
446 log_SetLevel(struct cmdargs const *arg) argument
451 argc = arg->argc - arg
518 log_ShowWho(struct cmdargs const *arg) argument
[all...]

Completed in 301 milliseconds

1234567891011>>