Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreboot/coreboot
/ memset
Function
memset
src/lib/memset.c:5–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#include <string.h>
4
5
void *memset(void *s, int c, size_t n)
6
{
7
int i;
8
char *ss = (char *) s;
9
10
for (i = 0; i < (int)n; i++)
11
ss[i] = c;
12
13
return s;
14
}
Callers
15
fb_new_framebuffer_info
Function · 0.70
rmodule_clear_bss
Function · 0.70
truncate_bitmap_buffer
Function · 0.70
render_text_to_bitmap_buffer
Function · 0.70
alloc_cbfs_preload_context
Function · 0.70
cbfs_prog_stage_load
Function · 0.70
nhlt_init
Function · 0.70
nhlt_serialize_oem_overrides
Function · 0.70
gcov_exit
Function · 0.70
__gcov_flush
Function · 0.70
imdr_create_empty
Function · 0.70
imd_cursor_init
Function · 0.70
Calls
no outgoing calls
Tested by
15
setup_acpigen
Function · 0.40
test_strncpy
Function · 0.40
test_strcpy
Function · 0.40
clear_cbmem
Function · 0.40
clear_region_file
Function · 0.40
setup_test
Function · 0.40
test_bootmem_write_mem_table
Function · 0.40
setup_test
Function · 0.40
test_mktime
Function · 0.40
test_rtc_mktime_with_rtc_to_tm
Function · 0.40
test_leap_day_secday
Function · 0.40
test_memset_full_range
Function · 0.40