HelenOS sources
module 147 kernel/genarch/include/genarch/multiboot/multiboot2.h multiboot2_module_t module;
module 44 kernel/genarch/src/multiboot/multiboot2.c static void multiboot2_cmdline(const multiboot2_cmdline_t *module)
module 46 kernel/genarch/src/multiboot/multiboot2.c multiboot_cmdline(module->string);
module 49 kernel/genarch/src/multiboot/multiboot2.c static void multiboot2_module(const multiboot2_module_t *module)
module 52 kernel/genarch/src/multiboot/multiboot2.c init.tasks[init.cnt].paddr = module->start;
module 53 kernel/genarch/src/multiboot/multiboot2.c init.tasks[init.cnt].size = module->end - module->start;
module 55 kernel/genarch/src/multiboot/multiboot2.c CONFIG_TASK_NAME_BUFLEN, module->string);
module 57 kernel/genarch/src/multiboot/multiboot2.c CONFIG_TASK_ARGUMENTS_BUFLEN, module->string);
module 128 kernel/genarch/src/multiboot/multiboot2.c multiboot2_module(&tag->module);
module 118 uspace/app/bdsh/cmds/mod_cmds.c int help_module(int module, unsigned int extended)
module 122 uspace/app/bdsh/cmds/mod_cmds.c mod += module;
module 136 uspace/app/bdsh/cmds/mod_cmds.c int run_module(int module, char *argv[], iostate_t *new_iostate)
module 141 uspace/app/bdsh/cmds/mod_cmds.c mod += module;
module 72 uspace/app/bdsh/compl.c module_t *module;
module 251 uspace/app/bdsh/compl.c cs->module = modules;
module 344 uspace/app/bdsh/compl.c if (cs->module != NULL) {
module 345 uspace/app/bdsh/compl.c while (*compl == NULL && cs->module->name != NULL) {
module 347 uspace/app/bdsh/compl.c if (compl_match_prefix(cs, cs->module->name)) {
module 348 uspace/app/bdsh/compl.c odlink_t *alias_link = odict_find_eq(&alias_dict, (void *)cs->module->name, NULL);
module 350 uspace/app/bdsh/compl.c asprintf(compl, "%s ", cs->module->name);
module 356 uspace/app/bdsh/compl.c cs->module++;
module 365 uspace/app/bdsh/compl.c odlink_t *alias_link = odict_find_eq(&alias_dict, (void *)cs->module->name, NULL);
module 76 uspace/app/sbi/src/ancr.c void ancr_module_process(stree_program_t *prog, stree_module_t *module)
module 81 uspace/app/sbi/src/ancr.c (void) module;
module 82 uspace/app/sbi/src/ancr.c node = list_first(&prog->module->members);
module 95 uspace/app/sbi/src/ancr.c node = list_next(&prog->module->members, node);
module 34 uspace/app/sbi/src/ancr.h void ancr_module_process(stree_program_t *prog, stree_module_t *module);
module 78 uspace/app/sbi/src/builtin/bi_console.c list_append(&bi->program->module->members, modm);
module 88 uspace/app/sbi/src/imode.c program->module = stree_module_new();
module 98 uspace/app/sbi/src/imode.c ancr_module_process(program, program->module);
module 104 uspace/app/sbi/src/imode.c ancr_module_process(program, program->module);
module 85 uspace/app/sbi/src/main.c program->module = stree_module_new();
module 95 uspace/app/sbi/src/main.c ancr_module_process(program, program->module);
module 111 uspace/app/sbi/src/main.c ancr_module_process(program, program->module);
module 116 uspace/app/sbi/src/main.c stype_module(&stype, program->module);
module 109 uspace/app/sbi/src/parse.c parse->cur_mod = parse->program->module;
module 45 uspace/app/sbi/src/stree.c stree_module_t *module;
module 47 uspace/app/sbi/src/stree.c module = calloc(1, sizeof(stree_module_t));
module 48 uspace/app/sbi/src/stree.c if (module == NULL) {
module 53 uspace/app/sbi/src/stree.c list_init(&module->members);
module 54 uspace/app/sbi/src/stree.c return module;
module 827 uspace/app/sbi/src/stree_t.h stree_module_t *module;
module 115 uspace/app/sbi/src/stype.c void stype_module(stype_t *stype, stree_module_t *module)
module 126 uspace/app/sbi/src/stype.c mbr_n = list_first(&module->members);
module 139 uspace/app/sbi/src/stype.c mbr_n = list_next(&module->members, mbr_n);
module 34 uspace/app/sbi/src/stype.h void stype_module(stype_t *stype, stree_module_t *module);
module 203 uspace/app/sbi/src/symbol.c node = list_first(&prog->module->members);
module 237 uspace/app/sbi/src/symbol.c node = list_next(&prog->module->members, node);
module 331 uspace/app/sbi/src/symbol.c node = list_first(&prog->module->members);
module 344 uspace/app/sbi/src/symbol.c node = list_next(&prog->module->members, node);
module 152 uspace/app/vuhid/main.c static void print_help(const char *name, const char *module)
module 154 uspace/app/vuhid/main.c if (module == NULL) {
module 166 uspace/app/vuhid/main.c printf("HELP for module %s\n", module);
module 65 uspace/lib/c/generic/rtld/module.c module_t *module;
module 67 uspace/lib/c/generic/rtld/module.c module = calloc(1, sizeof(module_t));
module 68 uspace/lib/c/generic/rtld/module.c if (module == NULL) {
module 73 uspace/lib/c/generic/rtld/module.c module->id = rtld_get_next_id(rtld);
module 74 uspace/lib/c/generic/rtld/module.c module->dyn.soname = "[program]";
module 76 uspace/lib/c/generic/rtld/module.c module->rtld = rtld;
module 77 uspace/lib/c/generic/rtld/module.c module->exec = true;
module 78 uspace/lib/c/generic/rtld/module.c module->local = true;
module 85 uspace/lib/c/generic/rtld/module.c module->tdata = (void *) (tls->p_vaddr + bias);
module 86 uspace/lib/c/generic/rtld/module.c module->tdata_size = tls->p_filesz;
module 87 uspace/lib/c/generic/rtld/module.c module->tbss_size = tls->p_memsz - tls->p_filesz;
module 88 uspace/lib/c/generic/rtld/module.c module->tls_align = tls->p_align;
module 90 uspace/lib/c/generic/rtld/module.c module->tdata = NULL;
module 91 uspace/lib/c/generic/rtld/module.c module->tdata_size = 0;
module 92 uspace/lib/c/generic/rtld/module.c module->tbss_size = 0;
module 93 uspace/lib/c/generic/rtld/module.c module->tls_align = 1;
module 96 uspace/lib/c/generic/rtld/module.c list_append(&module->modules_link, &rtld->modules);
module 99 uspace/lib/c/generic/rtld/module.c *rmodule = module;
module 70 uspace/lib/c/include/types/rtld/module.h struct module **deps;
module 70 uspace/lib/posix/include/libc/types/rtld/module.h struct module **deps;
module 139 uspace/lib/trackmod/protracker.c static errno_t protracker_load_patterns(FILE *f, trackmod_module_t *module)
module 147 uspace/lib/trackmod/protracker.c cells = module->channels * protracker_pattern_rows;
module 155 uspace/lib/trackmod/protracker.c for (i = 0; i < module->patterns; i++) {
module 156 uspace/lib/trackmod/protracker.c module->pattern[i].rows = protracker_pattern_rows;
module 157 uspace/lib/trackmod/protracker.c module->pattern[i].channels = module->channels;
module 158 uspace/lib/trackmod/protracker.c module->pattern[i].data = calloc(sizeof(trackmod_cell_t), cells);
module 159 uspace/lib/trackmod/protracker.c if (module->pattern[i].data == NULL) {
module 174 uspace/lib/trackmod/protracker.c &module->pattern[i].data[j]);
module 193 uspace/lib/trackmod/protracker.c trackmod_module_t *module)
module 201 uspace/lib/trackmod/protracker.c for (i = 0; i < module->instrs; i++) {
module 202 uspace/lib/trackmod/protracker.c module->instr[i].samples = 1;
module 203 uspace/lib/trackmod/protracker.c module->instr[i].sample = calloc(1, sizeof(trackmod_sample_t));
module 204 uspace/lib/trackmod/protracker.c if (module->instr[i].sample == NULL) {
module 210 uspace/lib/trackmod/protracker.c sample = &module->instr[i].sample[0];
module 260 uspace/lib/trackmod/protracker.c trackmod_module_t *module = NULL;
module 318 uspace/lib/trackmod/protracker.c module = trackmod_module_new();
module 319 uspace/lib/trackmod/protracker.c if (module == NULL) {
module 325 uspace/lib/trackmod/protracker.c module->channels = channels;
module 327 uspace/lib/trackmod/protracker.c module->instrs = samples;
module 328 uspace/lib/trackmod/protracker.c module->instr = calloc(sizeof(trackmod_instr_t), samples);
module 329 uspace/lib/trackmod/protracker.c if (module->instr == NULL) {
module 335 uspace/lib/trackmod/protracker.c module->patterns = patterns;
module 336 uspace/lib/trackmod/protracker.c module->pattern = calloc(sizeof(trackmod_pattern_t), patterns);
module 337 uspace/lib/trackmod/protracker.c if (module->pattern == NULL) {
module 344 uspace/lib/trackmod/protracker.c module->ord_list_len = order_list->order_list_len;
module 345 uspace/lib/trackmod/protracker.c module->ord_list = calloc(sizeof(size_t), module->ord_list_len);
module 346 uspace/lib/trackmod/protracker.c if (module->ord_list == NULL) {
module 353 uspace/lib/trackmod/protracker.c module->ord_list[i] = order_list->order_list[i];
module 358 uspace/lib/trackmod/protracker.c module->restart_pos = order_list->mark;
module 362 uspace/lib/trackmod/protracker.c rc = protracker_load_patterns(f, module);
module 367 uspace/lib/trackmod/protracker.c rc = protracker_load_samples(f, sample, module);
module 373 uspace/lib/trackmod/protracker.c module->def_bpm = protracker_def_bpm;
module 374 uspace/lib/trackmod/protracker.c module->def_tpr = protracker_def_tpr;
module 376 uspace/lib/trackmod/protracker.c *rmodule = module;
module 379 uspace/lib/trackmod/protracker.c if (module != NULL)
module 380 uspace/lib/trackmod/protracker.c trackmod_module_destroy(module);
module 134 uspace/lib/trackmod/trackmod.c void trackmod_module_destroy(trackmod_module_t *module)
module 139 uspace/lib/trackmod/trackmod.c if (module->instr != NULL) {
module 140 uspace/lib/trackmod/trackmod.c for (i = 0; i < module->instrs; i++)
module 141 uspace/lib/trackmod/trackmod.c trackmod_instr_destroy(&module->instr[i]);
module 142 uspace/lib/trackmod/trackmod.c free(module->instr);
module 146 uspace/lib/trackmod/trackmod.c if (module->pattern != NULL) {
module 147 uspace/lib/trackmod/trackmod.c for (i = 0; i < module->patterns; i++)
module 148 uspace/lib/trackmod/trackmod.c trackmod_pattern_destroy(&module->pattern[i]);
module 149 uspace/lib/trackmod/trackmod.c free(module->pattern);
module 152 uspace/lib/trackmod/trackmod.c free(module->ord_list);
module 153 uspace/lib/trackmod/trackmod.c free(module);
module 177 uspace/lib/trackmod/trackmod.c pat_idx = modplay->module->ord_list[modplay->ord_idx];
module 178 uspace/lib/trackmod/trackmod.c return &modplay->module->pattern[pat_idx];
module 277 uspace/lib/trackmod/trackmod.c iidx = (cell->instr - 1) % modplay->module->instrs;
module 278 uspace/lib/trackmod/trackmod.c instr = &modplay->module->instr[iidx];
module 332 uspace/lib/trackmod/trackmod.c next_pat = &modplay->module->pattern[next_idx];
module 638 uspace/lib/trackmod/trackmod.c for (i = 0; i < modplay->module->channels; i++) {
module 664 uspace/lib/trackmod/trackmod.c if (ord_idx >= modplay->module->ord_list_len)
module 665 uspace/lib/trackmod/trackmod.c ord_idx = modplay->module->restart_pos;
module 694 uspace/lib/trackmod/trackmod.c for (i = 0; i < modplay->module->channels; i++) {
module 708 uspace/lib/trackmod/trackmod.c for (i = 0; i < modplay->module->channels; i++) {
module 785 uspace/lib/trackmod/trackmod.c errno_t trackmod_modplay_create(trackmod_module_t *module,
module 794 uspace/lib/trackmod/trackmod.c modplay->module = module;
module 802 uspace/lib/trackmod/trackmod.c modplay->tpr = module->def_tpr;
module 803 uspace/lib/trackmod/trackmod.c modplay->bpm = module->def_bpm;
module 805 uspace/lib/trackmod/trackmod.c modplay->chan = calloc(module->channels,
module 963 uspace/lib/trackmod/trackmod.c for (chan = 0; chan < modplay->module->channels; chan++) {
module 165 uspace/lib/trackmod/types/trackmod.h trackmod_module_t *module;
module 55 uspace/lib/trackmod/xm.c static errno_t trackmod_xm_load_order_list(xm_hdr_t *xm_hdr, trackmod_module_t *module)
module 61 uspace/lib/trackmod/xm.c module->ord_list_len = uint16_t_le2host(xm_hdr->song_len);
module 62 uspace/lib/trackmod/xm.c if (module->ord_list_len > xm_pat_ord_table_size) {
module 68 uspace/lib/trackmod/xm.c module->ord_list = calloc(sizeof(size_t), module->ord_list_len);
module 69 uspace/lib/trackmod/xm.c if (module->ord_list == NULL) {
module 75 uspace/lib/trackmod/xm.c for (i = 0; i < module->ord_list_len; i++) {
module 76 uspace/lib/trackmod/xm.c module->ord_list[i] = xm_hdr->pat_ord_table[i];
module 79 uspace/lib/trackmod/xm.c module->restart_pos = uint16_t_le2host(xm_hdr->restart_pos);
module 80 uspace/lib/trackmod/xm.c if (module->restart_pos >= module->ord_list_len) {
module 164 uspace/lib/trackmod/xm.c static errno_t trackmod_xm_load_patterns(FILE *f, trackmod_module_t *module)
module 178 uspace/lib/trackmod/xm.c module->pattern = calloc(sizeof(trackmod_pattern_t), module->patterns);
module 179 uspace/lib/trackmod/xm.c if (module->pattern == NULL) {
module 184 uspace/lib/trackmod/xm.c for (i = 0; i < module->patterns; i++) {
module 208 uspace/lib/trackmod/xm.c module->pattern[i].rows = rows;
module 209 uspace/lib/trackmod/xm.c module->pattern[i].channels = module->channels;
module 210 uspace/lib/trackmod/xm.c module->pattern[i].data = calloc(sizeof(trackmod_cell_t),
module 211 uspace/lib/trackmod/xm.c rows * module->channels);
module 213 uspace/lib/trackmod/xm.c if (module->pattern[i].data == NULL) {
module 231 uspace/lib/trackmod/xm.c &module->pattern[i]);
module 284 uspace/lib/trackmod/xm.c trackmod_module_t *module)
module 302 uspace/lib/trackmod/xm.c module->instrs = uint16_t_le2host(xm_hdr->instruments);
module 303 uspace/lib/trackmod/xm.c module->instr = calloc(module->instrs, sizeof(trackmod_instr_t));
module 304 uspace/lib/trackmod/xm.c if (module->instr == NULL)
module 307 uspace/lib/trackmod/xm.c for (i = 0; i < module->instrs; i++) {
module 328 uspace/lib/trackmod/xm.c module->instr[i].key_smp[j] =
module 332 uspace/lib/trackmod/xm.c module->instr[i].samples = samples;
module 333 uspace/lib/trackmod/xm.c module->instr[i].sample = calloc(samples,
module 335 uspace/lib/trackmod/xm.c if (module->instr[i].sample == NULL) {
module 347 uspace/lib/trackmod/xm.c sample = &module->instr[i].sample[j];
module 427 uspace/lib/trackmod/xm.c trackmod_module_t *module = NULL;
module 452 uspace/lib/trackmod/xm.c module = trackmod_module_new();
module 453 uspace/lib/trackmod/xm.c if (module == NULL) {
module 459 uspace/lib/trackmod/xm.c module->channels = uint16_t_le2host(xm_hdr.channels);
module 460 uspace/lib/trackmod/xm.c module->patterns = uint16_t_le2host(xm_hdr.patterns);
module 461 uspace/lib/trackmod/xm.c module->ord_list_len = uint16_t_le2host(xm_hdr.song_len);
module 466 uspace/lib/trackmod/xm.c module->def_bpm = uint16_t_le2host(xm_hdr.def_bpm);
module 467 uspace/lib/trackmod/xm.c module->def_tpr = uint16_t_le2host(xm_hdr.def_tempo);
module 475 uspace/lib/trackmod/xm.c rc = trackmod_xm_load_order_list(&xm_hdr, module);
module 479 uspace/lib/trackmod/xm.c rc = trackmod_xm_load_patterns(f, module);
module 483 uspace/lib/trackmod/xm.c rc = trackmod_xm_load_instruments(&xm_hdr, f, module);
module 489 uspace/lib/trackmod/xm.c *rmodule = module;
module 492 uspace/lib/trackmod/xm.c if (module != NULL)
module 493 uspace/lib/trackmod/xm.c trackmod_module_destroy(module);
HelenOS homepage, sources at GitHub