Home
last modified time | relevance | path

Searched refs:text_size (Results 1 – 5 of 5) sorted by relevance

/kernel/module/
Dstrict_rwx.c39 PAGE_ALIGN(layout->text_size) >> PAGE_SHIFT); in frob_text()
45 set_memory((unsigned long)layout->base + layout->text_size, in frob_rodata()
46 (layout->ro_size - layout->text_size) >> PAGE_SHIFT); in frob_rodata()
66 WARN_ON(!PAGE_ALIGNED(layout->text_size)) || in layout_check_misalignment()
Dkallsyms.c273 nextval = (unsigned long)mod->init_layout.base + mod->init_layout.text_size; in find_kallsyms_symbol()
275 nextval = (unsigned long)mod->core_layout.base + mod->core_layout.text_size; in find_kallsyms_symbol()
Dmain.c1501 mod->core_layout.text_size = mod->core_layout.size; in layout_sections()
1535 mod->init_layout.text_size = mod->init_layout.size; in layout_sections()
2552 mod->init_layout.text_size = 0; in do_init_module()
3159 if (!within(addr, mod->init_layout.base, mod->init_layout.text_size) in __module_text_address()
3160 && !within(addr, mod->core_layout.base, mod->core_layout.text_size)) in __module_text_address()
/kernel/printk/
Dprintk.c1080 unsigned int text_size; in setup_log_buf() local
1149 text_size = add_to_rb(&printk_rb_dynamic, &r); in setup_log_buf()
1150 if (text_size > free) in setup_log_buf()
1153 free -= text_size; in setup_log_buf()
1166 text_size = add_to_rb(&printk_rb_dynamic, &r); in setup_log_buf()
1167 if (text_size > free) in setup_log_buf()
1170 free -= text_size; in setup_log_buf()
Dprintk_ringbuffer.c1679 static unsigned int count_lines(const char *text, unsigned int text_size) in count_lines() argument
1681 unsigned int next_size = text_size; in count_lines()
1691 next_size = text_size - (next - text); in count_lines()