Fork me on GitHub
arg               201 drivers/block/floppy.c 	creq.arg = FDC_TR_MOTOR;
arg               227 drivers/block/floppy.c 	creq.arg = current_fdd;
arg               247 drivers/block/floppy.c 	creq.arg = FDC_TR_DEFAULT;
arg               295 drivers/block/floppy.c 	creq.arg = FDC_TR_DEFAULT;
arg               353 drivers/block/floppy.c 	creq.arg = FDC_TR_DEFAULT;
arg               589 drivers/block/floppy.c 		creq.arg = FDC_TR_DEFAULT;
arg               701 drivers/block/floppy.c 		creq.arg = FDC_TR_DEFAULT;
arg               750 drivers/block/floppy.c int fdc_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               767 drivers/block/floppy.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(struct hd_geometry)))) {
arg               770 drivers/block/floppy.c 			geom = (struct hd_geometry *)arg;
arg               779 drivers/block/floppy.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned int)))) {
arg               782 drivers/block/floppy.c 			*(int *)arg = fdd_sizes[MINOR(i->rdev)] * 2;
arg               135 drivers/block/ide.c 		creq.arg = 0;
arg               152 drivers/block/ide.c 		creq.arg = 0;
arg               433 drivers/block/ide.c void ide0_timer(unsigned int arg)
arg               440 drivers/block/ide.c void ide1_timer(unsigned int arg)
arg               729 drivers/block/ide.c int ide_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               744 drivers/block/ide.c 		return ide->drive[drive].fsop->ioctl(i, cmd, arg);
arg               164 drivers/block/ide_cd.c 			creq.arg = 0;
arg               178 drivers/block/ide_cd.c 			creq.arg = 0;
arg               319 drivers/block/ide_cd.c void ide_cd_timer(unsigned int arg)
arg               485 drivers/block/ide_cd.c int ide_cd_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               195 drivers/block/ide_hd.c 			creq.arg = 0;
arg               209 drivers/block/ide_hd.c 			creq.arg = 0;
arg               345 drivers/block/ide_hd.c 			creq.arg = 0;
arg               359 drivers/block/ide_hd.c 			creq.arg = 0;
arg               386 drivers/block/ide_hd.c int ide_hd_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               411 drivers/block/ide_hd.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(struct hd_geometry)))) {
arg               414 drivers/block/ide_hd.c 			geom = (struct hd_geometry *)arg;
arg               424 drivers/block/ide_hd.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned int)))) {
arg               428 drivers/block/ide_hd.c 				*(int *)arg = (unsigned int)ide->drive[drive].nr_sects;
arg               430 drivers/block/ide_hd.c 				*(int *)arg = (unsigned int)ide->drive[drive].part_table[minor - 1].nr_sects;
arg               140 drivers/block/ramdisk.c int ramdisk_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               151 drivers/block/ramdisk.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(struct hd_geometry)))) {
arg               154 drivers/block/ramdisk.c 			geom = (struct hd_geometry *)arg;
arg               164 drivers/block/ramdisk.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned int)))) {
arg               167 drivers/block/ramdisk.c 			*(int *)arg = rd_sizes[MINOR(i->rdev)] * 2;
arg               933 drivers/char/console.c 	creq.arg = 0;
arg               113 drivers/char/fb.c int fb_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg                29 drivers/char/tty.c static void wait_vtime_off(unsigned int arg)
arg                31 drivers/char/tty.c 	unsigned int *fn = (unsigned int *)arg;
arg               560 drivers/char/tty.c 						creq.arg = (unsigned int)&tty->cooked_q;
arg               589 drivers/char/tty.c 						creq.arg = (unsigned int)&tty->cooked_q;
arg               702 drivers/char/tty.c int tty_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               719 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(struct termios)))) {
arg               722 drivers/char/tty.c 			memcpy_b((struct termios *)arg, &tty->termios, sizeof(struct termios));
arg               730 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct termios)))) {
arg               733 drivers/char/tty.c 			set_termios(tty, (struct termios *)arg);
arg               741 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct termios)))) {
arg               744 drivers/char/tty.c 			set_termios(tty, (struct termios *)arg);
arg               752 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct termios)))) {
arg               755 drivers/char/tty.c 			set_termios(tty, (struct termios *)arg);
arg               764 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(struct termio)))) {
arg               767 drivers/char/tty.c 			termios2termio(&tty->termios, (struct termio *)arg);
arg               775 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct termio)))) {
arg               778 drivers/char/tty.c 			set_termio(tty, (struct termio *)arg);
arg               786 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct termio)))) {
arg               789 drivers/char/tty.c 			set_termio(tty, (struct termio *)arg);
arg               797 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct termio)))) {
arg               800 drivers/char/tty.c 			set_termio(tty, (struct termio *)arg);
arg               806 drivers/char/tty.c 			switch(arg) {
arg               818 drivers/char/tty.c 			switch(arg) {
arg               843 drivers/char/tty.c 				if((arg == 1) && IS_SUPERUSER) {
arg               864 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(__pid_t)))) {
arg               867 drivers/char/tty.c 			memcpy_b((void *)arg, &tty->pgid, sizeof(__pid_t));
arg               875 drivers/char/tty.c 			if(arg < 1) {
arg               878 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(__pid_t)))) {
arg               881 drivers/char/tty.c 			memcpy_b(&tty->pgid, (void *)arg, sizeof(__pid_t));
arg               895 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(struct winsize)))) {
arg               898 drivers/char/tty.c 			memcpy_b((void *)arg, &tty->winsize, sizeof(struct winsize));
arg               907 drivers/char/tty.c 			struct winsize *ws = (struct winsize *)arg;
arg               910 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct winsize)))) {
arg               945 drivers/char/tty.c 			int val = *(unsigned char *)arg;
arg               946 drivers/char/tty.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(unsigned char)))) {
arg               961 drivers/char/tty.c 			return vt_ioctl(tty, cmd, arg);
arg                20 drivers/char/vt.c int vt_ioctl(struct tty *tty, int cmd, unsigned long int arg)
arg                34 drivers/char/vt.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned char)))) {
arg                37 drivers/char/vt.c 			memset_b((void *)arg, vc->led_status, sizeof(char));
arg                41 drivers/char/vt.c 			if(arg > 7) {
arg                44 drivers/char/vt.c 			vc->led_status = arg;
arg                53 drivers/char/vt.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned char)))) {
arg                56 drivers/char/vt.c 			memset_b((void *)arg, KB_101, sizeof(char));
arg                60 drivers/char/vt.c 			if(arg != KD_TEXT && arg != KD_GRAPHICS) {
arg                63 drivers/char/vt.c 			if(vc->vc_mode != arg) {
arg                64 drivers/char/vt.c 				vc->vc_mode = arg;
arg                65 drivers/char/vt.c 				if(arg == KD_GRAPHICS) {
arg                74 drivers/char/vt.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned char)))) {
arg                77 drivers/char/vt.c 			memset_b((void *)arg, vc->vc_mode, sizeof(char));
arg                81 drivers/char/vt.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned char)))) {
arg                84 drivers/char/vt.c 			memset_b((void *)arg, tty->kbd.mode, sizeof(unsigned char));
arg                88 drivers/char/vt.c 			if(arg != K_RAW && arg != K_XLATE && arg != K_MEDIUMRAW) {
arg                89 drivers/char/vt.c 				arg = K_XLATE;
arg                91 drivers/char/vt.c 			tty->kbd.mode = arg;
arg                97 drivers/char/vt.c 			struct kbentry *k = (struct kbentry *)arg;
arg               116 drivers/char/vt.c 			int *val = (int *)arg;
arg               117 drivers/char/vt.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned int)))) {
arg               132 drivers/char/vt.c 			struct vt_mode *vt_mode = (struct vt_mode *)arg;
arg               142 drivers/char/vt.c 			struct vt_mode *vt_mode = (struct vt_mode *)arg;
arg               158 drivers/char/vt.c 			struct vt_stat *vt_stat = (struct vt_stat *)arg;
arg               178 drivers/char/vt.c 				if(arg != VT_ACKACQ) {
arg               182 drivers/char/vt.c 				if(arg) {
arg               195 drivers/char/vt.c 				if(!arg || arg > NR_VCONSOLES) {
arg               198 drivers/char/vt.c 				vconsole_select(--arg);
arg               208 drivers/char/vt.c 			if(!arg || arg > NR_VCONSOLES) {
arg               452 drivers/video/fbcon.c 		creq.arg = (unsigned int)vc;
arg               457 drivers/video/fbcon.c void fbcon_screen_off(unsigned int arg)
arg               462 drivers/video/fbcon.c 	vc = (struct vconsole *)arg;
arg               542 drivers/video/fbcon.c void fbcon_cursor_blink(unsigned int arg)
arg               548 drivers/video/fbcon.c 	vc = (struct vconsole *)arg;
arg               562 drivers/video/fbcon.c 	creq.arg = arg;
arg               243 drivers/video/vgacon.c 		creq.arg = 0;
arg               248 drivers/video/vgacon.c void vgacon_screen_off(unsigned int arg)
arg               310 drivers/video/vgacon.c void vgacon_cursor_blink(unsigned int arg)
arg               333 fs/devices.c   int blk_dev_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               339 fs/devices.c   			return d->fsop->ioctl(i, cmd, arg);
arg               172 fs/pipefs/pipe.c int pipefs_ioctl(struct inode *i, int cmd, unsigned long int arg)
arg               178 fs/pipefs/pipe.c 			if((errno = check_user_area(VERIFY_WRITE, (void *)arg, sizeof(unsigned int)))) {
arg               181 fs/pipefs/pipe.c 			memcpy_b((void *)arg, &i->i_size, sizeof(unsigned int));
arg               440 fs/procfs/data.c 	char *arg;
arg               456 fs/procfs/data.c 			arg = (char *)(addr + offset);
arg               457 fs/procfs/data.c 			if(size + strlen(arg) < (PAGE_SIZE - 1)) {
arg               458 fs/procfs/data.c 				size += sprintk(buffer + size, "%s", arg);
arg                32 include/fiwix/timer.h 	unsigned int arg;
arg                38 include/fiwix/timer.h 	unsigned int arg;
arg                85 kernel/multiboot.c static int parse_arg(const char *arg)
arg                90 kernel/multiboot.c 	if(!strcmp(arg, "--")) {
arg                95 kernel/multiboot.c 		if(!strncmp(arg, parm_table[n].name, strlen(parm_table[n].name))) {
arg                96 kernel/multiboot.c 			arg += strlen(parm_table[n].name);
arg                97 kernel/multiboot.c 			if(check_parm(&parm_table[n], arg)) {
arg                98 kernel/multiboot.c 				printk("WARNING: invalid value '%s' in the '%s' parameter.\n", arg, parm_table[n].name);
arg               103 kernel/multiboot.c 	printk("WARNING: invalid cmdline parameter: '%s'.\n", arg);
arg               110 kernel/multiboot.c 	char arg[CMDL_ARG_LEN];
arg               118 kernel/multiboot.c 				memcpy_b(arg, from, to - from);
arg               119 kernel/multiboot.c 				arg[to - from] = NULL;
arg               120 kernel/multiboot.c 				if(arg[0] != NULL) {
arg               121 kernel/multiboot.c 					if(parse_arg(arg)) {
arg               131 kernel/multiboot.c 				memcpy_b(arg, from, CMDL_ARG_LEN);
arg               132 kernel/multiboot.c 				arg[CMDL_ARG_LEN - 1] = NULL;
arg               133 kernel/multiboot.c 				printk("WARNING: invalid length of the cmdline parameter '%s'.\n", arg);
arg                18 kernel/syscalls/fcntl.c int sys_fcntl(int ufd, int cmd, unsigned long int arg)
arg                23 kernel/syscalls/fcntl.c 	printk("(pid %d) sys_fcntl(%d, %d, 0x%08x)\n", current->pid, ufd, cmd, arg);
arg                30 kernel/syscalls/fcntl.c 			if(arg >= OPEN_MAX) {
arg                33 kernel/syscalls/fcntl.c 			if((new_ufd = get_new_user_fd(arg)) < 0) {
arg                45 kernel/syscalls/fcntl.c 			current->fd_flags[ufd] = (arg & FD_CLOEXEC);
arg                51 kernel/syscalls/fcntl.c 			fd_table[current->fd[ufd]].flags |= arg & (O_APPEND | O_NONBLOCK);
arg                56 kernel/syscalls/fcntl.c 			if((errno = check_user_area(VERIFY_READ, (void *)arg, sizeof(struct flock)))) {
arg                59 kernel/syscalls/fcntl.c 			return posix_lock(ufd, cmd, (struct flock *)arg);
arg                15 kernel/syscalls/ioctl.c int sys_ioctl(unsigned int fd, int cmd, unsigned long int arg)
arg                21 kernel/syscalls/ioctl.c 	printk("(pid %d) sys_ioctl(%d, 0x%x, 0x%08x) -> ", current->pid, fd, cmd, arg);
arg                27 kernel/syscalls/ioctl.c 		errno = i->fsop->ioctl(i, cmd, arg);
arg               136 kernel/timer.c 	c->arg = creq->arg;
arg               164 kernel/timer.c 		if(c->fn == creq->fn && c->arg == creq->arg) {
arg               337 kernel/timer.c 	unsigned int arg;
arg               347 kernel/timer.c 		arg = callout_head->arg;
arg               352 kernel/timer.c 		fn(arg);