tag | line | file | source code |
table | 182 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
table | 224 | drivers/block/triton.c | *table++ = addr; |
table | 225 | drivers/block/triton.c | *table++ = bcount; |
table | 232 | drivers/block/triton.c | *--table |= 0x80000000; /* set End-Of-Table (EOT) bit */ |
table | 2006 | drivers/char/console.c | console_driver.table = console_table; |
table | 2786 | drivers/char/cyclades.c | cy_serial_driver.table = serial_table; |
table | 4338 | drivers/char/istallion.c | stli_serial.table = stli_ttys; |
table | 1183 | drivers/char/keyboard.c | ttytab = console_driver.table; |
table | 235 | drivers/char/pty.c | pty_driver.table = pty_table; |
table | 255 | drivers/char/pty.c | pty_slave_driver.table = ttyp_table; |
table | 2684 | drivers/char/scc.c | scc_driver.table = scc_table; |
table | 2699 | drivers/char/serial.c | serial_driver.table = serial_table; |
table | 2876 | drivers/char/stallion.c | stl_serial.table = stl_ttys; |
table | 816 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
table | 852 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
table | 999 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
table | 1029 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
table | 1079 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
table | 1116 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
table | 35 | drivers/char/vt.c | #define VT_IS_IN_USE(i) (console_driver.table[i] && console_driver.table[i]->count) |
table | 70 | drivers/char/vt.c | extern int con_set_trans_old(unsigned char * table); |
table | 71 | drivers/char/vt.c | extern int con_get_trans_old(unsigned char * table); |
table | 72 | drivers/char/vt.c | extern int con_set_trans_new(unsigned short * table); |
table | 73 | drivers/char/vt.c | extern int con_get_trans_new(unsigned short * table); |
table | 116 | drivers/char/vt.c | if ( console_driver.table[i] ) |
table | 118 | drivers/char/vt.c | if ( row ) console_driver.table[i]->winsize.ws_row = row; |
table | 119 | drivers/char/vt.c | if ( col ) console_driver.table[i]->winsize.ws_col = col; |
table | 1146 | drivers/isdn/isdn_tty.c | m->tty_modem.table = m->modem_table; |
table | 92 | drivers/scsi/constants.c | const char **table = commands[ group(opcode) ]; |
table | 93 | drivers/scsi/constants.c | switch ((unsigned long) table) { |
table | 104 | drivers/scsi/constants.c | printk("%s ",table[opcode & 0x1f]); |
table | 160 | drivers/sound/audio.c | translate_bytes (const unsigned char *table, unsigned char *buff, int n) |
table | 168 | drivers/sound/audio.c | buff[i] = table[buff[i]]; |
table | 173 | drivers/sound/audio.c | translate_bytes (const void *table, void *buff, int n) |
table | 182 | drivers/sound/audio.c | : "b" ((long) table), "c" (n), "D" ((long) buff), "S" ((long) buff) |
table | 83 | include/linux/sysctl.h | typedef int ctl_handler (ctl_table *table, int *name, int nlen, |
table | 102 | include/linux/sysctl.h | extern int do_sysctl_strategy (ctl_table *table, |
table | 182 | include/linux/sysctl.h | struct ctl_table_header * register_sysctl_table(ctl_table * table, |
table | 184 | include/linux/sysctl.h | void unregister_sysctl_table(struct ctl_table_header * table); |
table | 116 | include/linux/tty_driver.h | struct tty_struct **table; |
table | 393 | kernel/module.c | sys_get_kernel_syms(struct kernel_sym *table) |
table | 412 | kernel/module.c | if (table != NULL) { |
table | 413 | kernel/module.c | to = table; |
table | 415 | kernel/module.c | if ((i = verify_area(VERIFY_WRITE, to, nmodsyms * sizeof(*table)))) |
table | 222 | kernel/sysctl.c | static inline int ctl_perm(ctl_table *table, int op) |
table | 224 | kernel/sysctl.c | return test_perm(table->mode, op); |
table | 230 | kernel/sysctl.c | ctl_table *table, void **context) |
table | 237 | kernel/sysctl.c | for ( ; table->ctl_name; table++) { |
table | 238 | kernel/sysctl.c | if (get_user(name) == table->ctl_name || |
table | 239 | kernel/sysctl.c | table->ctl_name == CTL_ANY) { |
table | 240 | kernel/sysctl.c | if (table->child) { |
table | 241 | kernel/sysctl.c | if (ctl_perm(table, 001)) |
table | 243 | kernel/sysctl.c | if (table->strategy) { |
table | 244 | kernel/sysctl.c | error = table->strategy( |
table | 245 | kernel/sysctl.c | table, name, nlen, |
table | 253 | kernel/sysctl.c | table = table->child; |
table | 256 | kernel/sysctl.c | error = do_sysctl_strategy(table, name, nlen, |
table | 266 | kernel/sysctl.c | int do_sysctl_strategy (ctl_table *table, |
table | 277 | kernel/sysctl.c | if (ctl_perm(table, op)) |
table | 280 | kernel/sysctl.c | if (table->strategy) { |
table | 281 | kernel/sysctl.c | rc = table->strategy(table, name, nlen, oldval, oldlenp, |
table | 291 | kernel/sysctl.c | if (table->data && table->maxlen) { |
table | 294 | kernel/sysctl.c | if (len > table->maxlen) |
table | 295 | kernel/sysctl.c | len = table->maxlen; |
table | 296 | kernel/sysctl.c | memcpy_tofs(oldval, table->data, len); |
table | 301 | kernel/sysctl.c | if (len > table->maxlen) |
table | 302 | kernel/sysctl.c | len = table->maxlen; |
table | 303 | kernel/sysctl.c | memcpy_fromfs(table->data, newval, len); |
table | 314 | kernel/sysctl.c | static int do_securelevel_strategy (ctl_table *table, |
table | 331 | kernel/sysctl.c | struct ctl_table_header *register_sysctl_table(ctl_table * table, |
table | 338 | kernel/sysctl.c | *tmp = ((struct ctl_table_header) {table, DNODE_NULL}); |
table | 344 | kernel/sysctl.c | register_proc_table(table, &proc_sys_root); |
table | 349 | kernel/sysctl.c | void unregister_sysctl_table(struct ctl_table_header * table) |
table | 351 | kernel/sysctl.c | DLIST_DELETE(table, ctl_entry); |
table | 353 | kernel/sysctl.c | unregister_proc_table(table->ctl_table, &proc_sys_root); |
table | 364 | kernel/sysctl.c | static void register_proc_table(ctl_table * table, struct proc_dir_entry *root) |
table | 368 | kernel/sysctl.c | for (; table->ctl_name; table++) { |
table | 370 | kernel/sysctl.c | if (!table->procname) |
table | 373 | kernel/sysctl.c | if (!table->proc_handler && |
table | 374 | kernel/sysctl.c | !table->child) |
table | 379 | kernel/sysctl.c | de->namelen = strlen(table->procname); |
table | 380 | kernel/sysctl.c | de->name = table->procname; |
table | 381 | kernel/sysctl.c | de->mode = table->mode; |
table | 389 | kernel/sysctl.c | de->data = (void *) table; |
table | 391 | kernel/sysctl.c | if (table->proc_handler) { |
table | 401 | kernel/sysctl.c | table->de = de; |
table | 404 | kernel/sysctl.c | register_proc_table(table->child, de); |
table | 408 | kernel/sysctl.c | static void unregister_proc_table(ctl_table * table, struct proc_dir_entry *root) |
table | 411 | kernel/sysctl.c | for (; table->ctl_name; table++) { |
table | 412 | kernel/sysctl.c | if (!(de = table->de)) |
table | 415 | kernel/sysctl.c | if (!table->child) { |
table | 419 | kernel/sysctl.c | unregister_proc_table(table->child, de); |
table | 432 | kernel/sysctl.c | struct ctl_table *table; |
table | 442 | kernel/sysctl.c | table = (struct ctl_table *) de->data; |
table | 443 | kernel/sysctl.c | if (!table || !table->proc_handler) |
table | 446 | kernel/sysctl.c | if (ctl_perm(table, op)) |
table | 450 | kernel/sysctl.c | error = (*table->proc_handler) (table, write, file, buf, &res); |
table | 473 | kernel/sysctl.c | int proc_dostring(ctl_table *table, int write, struct file *filp, |
table | 479 | kernel/sysctl.c | if (!table->data || !table->maxlen || !*lenp || |
table | 491 | kernel/sysctl.c | if (len >= table->maxlen) |
table | 492 | kernel/sysctl.c | len = table->maxlen-1; |
table | 493 | kernel/sysctl.c | memcpy_fromfs(table->data, buffer, len); |
table | 494 | kernel/sysctl.c | ((char *) table->data)[len] = 0; |
table | 497 | kernel/sysctl.c | len = strlen(table->data) + 1; |
table | 498 | kernel/sysctl.c | if (len > table->maxlen) |
table | 499 | kernel/sysctl.c | len = table->maxlen; |
table | 503 | kernel/sysctl.c | memcpy_tofs(buffer, table->data, len-1); |
table | 516 | kernel/sysctl.c | int proc_dointvec(ctl_table *table, int write, struct file *filp, |
table | 523 | kernel/sysctl.c | if (!table->data || !table->maxlen || !*lenp || |
table | 529 | kernel/sysctl.c | i = (int *) table->data; |
table | 530 | kernel/sysctl.c | vleft = table->maxlen / sizeof(int); |
table | 591 | kernel/sysctl.c | int proc_dointvec_minmax(ctl_table *table, int write, struct file *filp, |
table | 598 | kernel/sysctl.c | if (!table->data || !table->maxlen || !*lenp || |
table | 604 | kernel/sysctl.c | i = (int *) table->data; |
table | 605 | kernel/sysctl.c | min = (int *) table->extra1; |
table | 606 | kernel/sysctl.c | max = (int *) table->extra2; |
table | 607 | kernel/sysctl.c | vleft = table->maxlen / sizeof(int); |
table | 675 | kernel/sysctl.c | int proc_dostring(ctl_table *table, int write, struct file *filp, |
table | 681 | kernel/sysctl.c | int proc_dointvec(ctl_table *table, int write, struct file *filp, |
table | 687 | kernel/sysctl.c | int proc_dointvec_minmax(ctl_table *table, int write, struct file *filp, |
table | 701 | kernel/sysctl.c | int sysctl_string(ctl_table *table, int *name, int nlen, |
table | 707 | kernel/sysctl.c | if (!table->data || !table->maxlen) |
table | 712 | kernel/sysctl.c | l = strlen(table->data); |
table | 714 | kernel/sysctl.c | if (len >= table->maxlen) |
table | 715 | kernel/sysctl.c | len = table->maxlen; |
table | 716 | kernel/sysctl.c | memcpy_tofs(oldval, table->data, len); |
table | 722 | kernel/sysctl.c | if (len > table->maxlen) |
table | 723 | kernel/sysctl.c | len = table->maxlen; |
table | 724 | kernel/sysctl.c | memcpy_fromfs(table->data, newval, len); |
table | 725 | kernel/sysctl.c | if (len == table->maxlen) |
table | 727 | kernel/sysctl.c | ((char *) table->data)[len] = 0; |
table | 737 | kernel/sysctl.c | int sysctl_intvec(ctl_table *table, int *name, int nlen, |
table | 747 | kernel/sysctl.c | if (!table->extra1 && !table->extra2) |
table | 750 | kernel/sysctl.c | if (newlen > table->maxlen) |
table | 751 | kernel/sysctl.c | newlen = table->maxlen; |
table | 755 | kernel/sysctl.c | min = (int *) table->extra1; |
table | 756 | kernel/sysctl.c | max = (int *) table->extra2; |