tag | line | file | source code |
mp | 442 | drivers/block/aztcd.c | long azt_msf2hsg(struct msf *mp) |
mp | 445 | drivers/block/aztcd.c | if (mp->min >=70) printk("aztcd: Error msf2hsg address Minutes\n"); |
mp | 446 | drivers/block/aztcd.c | if (mp->sec >=60) printk("aztcd: Error msf2hsg address Seconds\n"); |
mp | 447 | drivers/block/aztcd.c | if (mp->frame>=75) printk("aztcd: Error msf2hsg address Frames\n"); |
mp | 449 | drivers/block/aztcd.c | return azt_bcd2bin(mp -> frame) |
mp | 450 | drivers/block/aztcd.c | + azt_bcd2bin(mp -> sec) * 75 |
mp | 451 | drivers/block/aztcd.c | + azt_bcd2bin(mp -> min) * 4500 |
mp | 230 | drivers/block/mcd.c | msf2hsg(struct msf *mp) |
mp | 232 | drivers/block/mcd.c | return bcd2bin(mp -> frame) |
mp | 233 | drivers/block/mcd.c | + bcd2bin(mp -> sec) * 75 |
mp | 234 | drivers/block/mcd.c | + bcd2bin(mp -> min) * 4500 |
mp | 2057 | drivers/scsi/53c7,8xx.c | {DT_help, "?", 0} , TOKEN(h,0), TOKEN(i,0), TOKEN(mp,2), |
mp | 135 | kernel/module.c | struct module *mp; |
mp | 152 | kernel/module.c | if ((mp = (struct module*) kmalloc(sspace, GFP_KERNEL)) == NULL) { |
mp | 155 | kernel/module.c | strcpy((char *)(mp + 1), name); /* why not? */ |
mp | 159 | kernel/module.c | kfree_s(mp, sspace); |
mp | 163 | kernel/module.c | mp->next = module_list; |
mp | 164 | kernel/module.c | mp->ref = NULL; |
mp | 165 | kernel/module.c | mp->symtab = NULL; |
mp | 166 | kernel/module.c | mp->name = (char *)(mp + 1); |
mp | 167 | kernel/module.c | mp->size = npages; |
mp | 168 | kernel/module.c | mp->addr = addr; |
mp | 169 | kernel/module.c | mp->state = MOD_UNINITIALIZED; |
mp | 170 | kernel/module.c | mp->cleanup = NULL; |
mp | 173 | kernel/module.c | module_list = mp; /* link it in */ |
mp | 176 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
mp | 188 | kernel/module.c | struct module *mp; |
mp | 215 | kernel/module.c | if ((mp = find_module(name)) == NULL) |
mp | 217 | kernel/module.c | if ((codesize + sizeof (int) + 4095) / 4096 > mp->size) |
mp | 219 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (int), code, codesize); |
mp | 220 | kernel/module.c | memset((char *)mp->addr + sizeof (int) + codesize, 0, |
mp | 221 | kernel/module.c | mp->size * 4096 - (codesize + sizeof (int))); |
mp | 224 | kernel/module.c | mp->cleanup = rt.cleanup; |
mp | 271 | kernel/module.c | mp->symtab = newtab; |
mp | 296 | kernel/module.c | ref->module = mp; |
mp | 306 | kernel/module.c | mp->state = MOD_RUNNING; |
mp | 314 | kernel/module.c | struct module *mp; |
mp | 324 | kernel/module.c | if ((mp = find_module(name)) == NULL) |
mp | 326 | kernel/module.c | if ((mp->ref != NULL) || (GET_USE_COUNT(mp) != 0)) |
mp | 328 | kernel/module.c | if (mp->state == MOD_RUNNING) |
mp | 329 | kernel/module.c | (*mp->cleanup)(); |
mp | 330 | kernel/module.c | mp->state = MOD_DELETED; |
mp | 364 | kernel/module.c | struct module *mp = module_list; |
mp | 368 | kernel/module.c | for (mp = module_list; mp; mp = mp->next) { |
mp | 369 | kernel/module.c | if (mp->symtab && mp->symtab->n_symbols) { |
mp | 371 | kernel/module.c | nmodsyms += mp->symtab->n_symbols + 1; |
mp | 385 | kernel/module.c | for (mp = module_list; mp; mp = mp->next) { |
mp | 386 | kernel/module.c | if (mp->state == MOD_RUNNING) { |
mp | 388 | kernel/module.c | isym.value = (unsigned long)mp; |
mp | 389 | kernel/module.c | sprintf(isym.name, "#%s", mp->name); |
mp | 393 | kernel/module.c | if (mp->symtab != NULL) { |
mp | 394 | kernel/module.c | for (i = mp->symtab->n_symbols, |
mp | 395 | kernel/module.c | from = mp->symtab->symbol; |
mp | 434 | kernel/module.c | struct module *mp; |
mp | 436 | kernel/module.c | for (mp = module_list ; mp ; mp = mp->next) { |
mp | 437 | kernel/module.c | if (mp->state == MOD_DELETED) |
mp | 439 | kernel/module.c | if (!strcmp(mp->name, name)) |
mp | 442 | kernel/module.c | return mp; |
mp | 446 | kernel/module.c | drop_refs(struct module *mp) |
mp | 454 | kernel/module.c | if (ref->module == mp) { |
mp | 474 | kernel/module.c | struct module *mp; |
mp | 481 | kernel/module.c | while ((mp = *mpp) != NULL) { |
mp | 482 | kernel/module.c | if (mp->state != MOD_DELETED) { |
mp | 483 | kernel/module.c | mpp = &mp->next; |
mp | 485 | kernel/module.c | if (GET_USE_COUNT(mp) != 0) { |
mp | 487 | kernel/module.c | mpp = &mp->next; |
mp | 489 | kernel/module.c | *mpp = mp->next; |
mp | 490 | kernel/module.c | if (mp->symtab) { |
mp | 491 | kernel/module.c | if (mp->symtab->n_refs) |
mp | 492 | kernel/module.c | drop_refs(mp); |
mp | 493 | kernel/module.c | if (mp->symtab->size) |
mp | 494 | kernel/module.c | kfree_s(mp->symtab, mp->symtab->size); |
mp | 496 | kernel/module.c | vfree(mp->addr); |
mp | 497 | kernel/module.c | kfree_s(mp, sizeof(struct module) + MOD_MAX_NAME); |
mp | 514 | kernel/module.c | struct module *mp; |
mp | 520 | kernel/module.c | for (mp = module_list ; mp && mp->next; mp = mp->next) { |
mp | 523 | kernel/module.c | q = mp->name; |
mp | 529 | kernel/module.c | sprintf(size, "%d", mp->size); |
mp | 538 | kernel/module.c | if (mp->state == MOD_UNINITIALIZED) |
mp | 540 | kernel/module.c | else if (mp->state == MOD_RUNNING) |
mp | 542 | kernel/module.c | else if (mp->state == MOD_DELETED) |
mp | 549 | kernel/module.c | if ((ref = mp->ref) != NULL) { |
mp | 572 | kernel/module.c | struct module *mp; |
mp | 577 | kernel/module.c | for (mp = module_list; mp; mp = mp->next) { |
mp | 578 | kernel/module.c | if ((mp->state == MOD_RUNNING) && |
mp | 579 | kernel/module.c | (mp->symtab != NULL) && (mp->symtab->n_symbols > 0)) { |
mp | 580 | kernel/module.c | for (i = mp->symtab->n_symbols, |
mp | 581 | kernel/module.c | sym = mp->symtab->symbol; |
mp | 590 | kernel/module.c | if (mp->name[0]) { |
mp | 592 | kernel/module.c | (long)sym->addr, sym->name, mp->name); |
mp | 633 | kernel/module.c | struct module *mp; |
mp | 658 | kernel/module.c | if (!(mp = (struct module*) kmalloc(MODSIZ, GFP_KERNEL))) { |
mp | 664 | kernel/module.c | memset(mp, 0, MODSIZ); |
mp | 665 | kernel/module.c | mp->state = MOD_RUNNING; /* Since it is resident... */ |
mp | 666 | kernel/module.c | mp->name = ""; /* This is still the "kernel" symbol table! */ |
mp | 667 | kernel/module.c | mp->symtab = intab; |
mp | 670 | kernel/module.c | mp->next = kernel_module.next; |
mp | 671 | kernel/module.c | kernel_module.next = mp; |
mp | 683 | kernel/module.c | mp = module_list; /* true when doing init_module! */ |
mp | 686 | kernel/module.c | if ((oldtab = mp->symtab) == (struct symbol_table*)0) { |
mp | 688 | kernel/module.c | mp->symtab = intab; |
mp | 701 | kernel/module.c | mp->symtab = intab; |
mp | 748 | kernel/module.c | if (link->ref->module == mp) |
mp | 752 | kernel/module.c | mp->symtab = newtab; |