Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 178) sorted by relevance

12345678

/lk-master/external/lib/fdt/include/
A Dlibfdt.h247 #define fdt_set_hdr_(name) \ argument
251 fdth->name = cpu_to_fdt32(val); \
656 const char *name,
689 const char *name, int *lenp);
691 const char *name, in fdt_get_property_w() argument
749 const char *name, int namelen, in fdt_getprop_namelen_w() argument
786 const char *name, int *lenp);
788 const char *name, int *lenp) in fdt_getprop_w() argument
818 const char *name, int namelen);
1219 const char *name, int namelen,
[all …]
/lk-master/lib/console/include/lib/console/
A Dcmd.h35 const char *name; member
42 #define STATIC_COMMAND_END(name) }; alignas(console_cmd_block) const console_cmd_block _cmd_block_#… argument
44 { #name, sizeof(_cmd_list) / sizeof(_cmd_list[0]), _cmd_list }
47 #define STATIC_COMMAND_START_NAMED(name) static const console_cmd _cmd_list_##name[] = { argument
49 #define STATIC_COMMAND_END_NAMED(name) }; alignas(console_cmd_block) const console_cmd_block _cmd_b… argument
51 { #name, sizeof(_cmd_list_##name) / sizeof(_cmd_list_##name[0]), _cmd_list_##name }
/lk-master/lib/fs/memfs/
A Dmemfs.c33 char *name; member
51 if (!strcmp(name, file->name)) in find_file()
76 free(file->name); in free_file()
111 name = trim_name(name); in memfs_create()
114 if (strchr(name, '/')) in memfs_create()
142 file->name = strdup(name); in memfs_create()
163 name = trim_name(name); in memfs_open()
183 name = trim_name(name); in memfs_remove()
316 name = trim_name(name); in memfs_opendir()
319 if (strcmp("", name)) in memfs_opendir()
[all …]
/lk-master/arch/arm64/include/arch/arm64/
A Dcache_loop.h17 .macro cache_way_set_op, op name
21 cbz w3, .Lfinished_\name
24 .Lloop1_\name:
29 b.lt .Lskip_\name // no data or unified cache at this level
40 .Lloop2_\name:
44 .Lloop3_\name:
49 b.ge .Lloop3_\name
52 b.ge .Lloop2_\name
53 .Lskip_\name:
57 b.gt .Lloop1_\name
[all …]
/lk-master/external/lib/lwip/core/
A Ddns.c176 char name[DNS_MAX_NAME_LENGTH]; member
324 namelen = strlen(init_entry->name); in dns_init_local()
330 MEMCPY((char*)entry->name, init_entry->name, namelen); in dns_init_local()
331 ((char*)entry->name)[namelen] = 0; in dns_init_local()
427 ((char*)entry->name)[namelen] = 0; in dns_local_addhost()
450 dns_lookup(const char *name) in dns_lookup() argument
470 (strcmp(name, dns_table[i].name) == 0)) { in dns_lookup()
571 (u16_t)(numdns), name)); in dns_send()
587 pHostname = name; in dns_send()
906 MEMCPY(pEntry->name, name, namelen); in dns_enqueue()
[all …]
A Dnetif.c98 netif->name[0] = 'l'; in netif_loopif_init()
99 netif->name[1] = 'o'; in netif_loopif_init()
201 netif->name[0], netif->name[1])); in netif_add()
290 netif_find(char *name) in netif_find() argument
295 if (name == NULL) { in netif_find()
299 num = name[2] - '0'; in netif_find()
303 name[0] == netif->name[0] && in netif_find()
304 name[1] == netif->name[1]) { in netif_find()
372 netif->name[0], netif->name[1], in netif_set_ipaddr()
392 netif->name[0], netif->name[1], in netif_set_gw()
[all …]
/lk-master/lib/sysparam/
A Dsysparam.c52 char *name; member
110 if (!param->name) { in sysparam_create()
116 memcpy(param->name, name, namelen); in sysparam_create()
123 free(param->name); in sysparam_create()
142 if (strcmp(name, param->name) == 0) in sysparam_find()
242 free(param->name); in sysparam_reload()
347 sum = crc32(sum, (const void *)param->name, strlen(param->name)); in sysparam_write()
358 memcpy(buf + pos, param->name, strlen(param->name)); in sysparam_write()
387 param = sysparam_create(name, strlen(name), value, len, 0); in sysparam_add()
410 free(param->name); in sysparam_remove()
[all …]
/lk-master/lib/sysparam/include/lib/
A Dsysparam.h23 ssize_t sysparam_length(const char *name);
24 ssize_t sysparam_read(const char *name, void *data, size_t len);
25 status_t sysparam_get_ptr(const char *name, const void **ptr, size_t *len);
28 status_t sysparam_add(const char *name, const void *value, size_t len);
29 status_t sysparam_remove(const char *name);
30 status_t sysparam_lock(const char *name);
/lk-master/external/lib/fdt/
A Dfdt_wip.c14 const char *name, int namelen, in fdt_setprop_inplace_namelen_partial() argument
21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument
39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace()
47 strlen(name), 0, in fdt_setprop_inplace()
59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument
64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property()
A Dfdt_overlay.c232 const char *name; in overlay_update_local_node_references() local
238 &name, &fixup_len); in overlay_update_local_node_references()
271 name, in overlay_update_local_node_references()
272 strlen(name), in overlay_update_local_node_references()
403 name, name_len, poffset, in overlay_fixup_one_phandle()
469 name = sep + 1; in overlay_fixup_phandle()
474 name_len = sep - name; in overlay_fixup_phandle()
563 const char *name; in overlay_apply_node() local
653 const char *name; in get_path_len() local
659 if (!name) in get_path_len()
[all …]
A Dfdt_rw.c189 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_()
213 namestroff = fdt_find_add_string_(fdt, name, &allocated); in fdt_add_property_()
224 fdt_del_last_string_(fdt, name); in fdt_add_property_()
246 newlen = strlen(name); in fdt_set_name()
253 memcpy(namep, name, newlen+1); in fdt_set_name()
298 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop()
324 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop()
333 const char *name, int namelen) in fdt_add_subnode_namelen() argument
365 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
366 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
[all …]
A Dfdt_ro.c243 const char *name) in fdt_subnode_offset() argument
245 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset()
308 nameptr = nh->name; in fdt_get_name()
410 name, namelen)) { in fdt_get_property_namelen_()
476 const char *name; in fdt_getprop_by_offset() local
482 if (!name) { in fdt_getprop_by_offset()
487 *namep = name; in fdt_getprop_by_offset()
503 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop()
537 return fdt_get_alias_namelen(fdt, name, strlen(name)); in fdt_get_alias()
544 const char *name; in fdt_get_path() local
[all …]
/lk-master/app/tests/
A Dfibo.c28 char name[32]; in fibo_thread() local
29 snprintf(name, sizeof(name), "fibo %lu", fibo - 1); in fibo_thread()
30 …t[0] = thread_create(name, &fibo_thread, (void *)(fibo - 1), DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in fibo_thread()
35 snprintf(name, sizeof(name), "fibo %lu", fibo - 2); in fibo_thread()
36 …t[1] = thread_create(name, &fibo_thread, (void *)(fibo - 2), DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in fibo_thread()
/lk-master/platform/rp20xx/
A Dvectab.c18 #define RP20XX_IRQ(name,num) \ argument
19 void name##_IRQHandler(void) __WEAK_ALIAS("rp20xx_dummy_irq");
24 #define RP20XX_IRQ(name,num) [name##_IRQn] = name##_IRQHandler, argument
/lk-master/kernel/vm/
A Dvmm.c29 strlcpy(_kernel_aspace.name, "kernel", sizeof(_kernel_aspace.name)); in vmm_init_preheap()
98 strlcpy(r->name, name, sizeof(r->name)); in alloc_region_struct()
295 if (!name) in vmm_reserve_space()
296 name = ""; in vmm_reserve_space()
336 if (!name) in vmm_alloc_physical()
337 name = ""; in vmm_alloc_physical()
395 if (!name) in vmm_alloc_contiguous()
469 if (!name) in vmm_alloc()
592 if (name) in vmm_create_aspace()
593 strlcpy(aspace->name, name, sizeof(aspace->name)); in vmm_create_aspace()
[all …]
/lk-master/lib/fdtwalk/
A Dfdtwalk.c84 const char *name = fdt_get_name(fdt, offset, NULL); in fdt_walk() local
85 if (!name) in fdt_walk()
89 name, depth, address_cells[depth], size_cells[depth]); in fdt_walk()
92 if (strncmp(name, "memory@", 7) == 0 && depth == 1) { in fdt_walk()
96 LTRACEF_LEVEL(2, "found '%s' reg prop len %d, ac %u, sc %u\n", name, lenp, in fdt_walk()
124 if (strncmp(name, "cpu@", 4) == 0 && depth == 2) { in fdt_walk()
129 LTRACEF_LEVEL(2, "found '%s' reg prop len %d, ac %u, sc %u\n", name, lenp, in fdt_walk()
148 if (strncmp(name, "pcie@", 5) == 0 || strncmp(name, "pci@", 4) == 0) { in fdt_walk()
157 LTRACEF_LEVEL(2, "found '%s' reg prop len %d, ac %u, sc %u\n", name, lenp, in fdt_walk()
169 LTRACEF_LEVEL(2, "found '%s' bus-range prop len %d, ac %u, sc %u\n", name, lenp, in fdt_walk()
/lk-master/external/platform/pico/common/pico_binary_info/include/pico/binary_info/
A Dcode.h14 …bi_decl(name, bi, section_prefix, attr) static const attr __attribute__((section(section_prefix __… argument
40 #define __bi_decl(bi, name, attr) argument
73 .name = _name, \
113 #define bi_program_name(name) bi_string(BINARY_INFO_TAG_RASPBERRY_PI, BINARY_INFO_ID_RP_PROGRAM_NAM… argument
121 …am_feature_group(tag, id, name) __bi_named_group(BINARY_INFO_TAG_RASPBERRY_PI, BINARY_INFO_ID_RP_P… argument
122 …p_with_flags(tag, id, name, flags) __bi_named_group(BINARY_INFO_TAG_RASPBERRY_PI, BINARY_INFO_ID_R… argument
134 #define bi_1pin_with_name(p0, name) bi_pin_mask_with_name(1u << (p0), name) argument
/lk-master/external/lib/lwip/include/lwip/
A Dnetdb.h100 struct hostent *lwip_gethostbyname(const char *name);
101 int lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf,
110 #define gethostbyname(name) lwip_gethostbyname(name) argument
111 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \ argument
112 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
/lk-master/platform/bcm28xx/
A Dplatform.c35 .name = "memory"
44 .name = "bcm peripherals"
74 .name = "memory"
83 .name = "bcm peripherals"
101 .name = "sdram",
131 const char *name = fdt_get_name(fdt, offset, NULL); in platform_early_init() local
132 if (!name) in platform_early_init()
136 if (strcmp(name, "memory") == 0) { in platform_early_init()
/lk-master/external/lib/lwip/netif/ppp/
A Dppp_oe.c266 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, sc->sc_state); in pppoe_find_softc_by_hunique()
271 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num); in pppoe_find_softc_by_hunique()
371 …snprintf(devname, sizeof(devname), "%c%c%"U16_F, sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc-… in pppoe_dispatch_disc_pkt()
470 …intf("%c%c%"U16_F": received unexpected PADR\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc-… in pppoe_dispatch_disc_pkt()
501 …intf("%c%c%"U16_F": received unexpected PADO\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc-… in pppoe_dispatch_disc_pkt()
536 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, in pppoe_dispatch_disc_pkt()
621 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, in pppoe_data_input()
655 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, etype, in pppoe_output()
739 …PPPDEBUG(LOG_DEBUG, ("pppoe: %c%c%"U16_F": timeout\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1… in pppoe_timeout()
877 …%c%c%"U16_F": could not establish connection\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc-… in pppoe_abort_connect()
[all …]
/lk-master/lib/ptable/include/lib/
A Dptable.h22 uint8_t name[MAX_FLASH_PTABLE_NAME_LEN]; member
28 status_t ptable_find(const char *name, struct ptable_entry *entry) __NONNULL((1));
30 status_t ptable_add(const char *name, uint64_t min_len, uint32_t flags) __NONNULL();
31 status_t ptable_remove(const char *name) __NONNULL();
/lk-master/lib/ptable/
A Dptable.c62 if (entry->name[i] == 0) in validate_entry()
432 entry->name); in ptable_allocate()
472 lastentry->name, in ptable_allocate()
622 if (!strncmp((char *)entry.name, PTABLE_PART_NAME, sizeof(entry.name))) { in ptable_scan()
670 if (strcmp(name, (void *)entry->name) == 0) { in ptable_find()
712 strlcpy((char *)ptable_entry.name, PTABLE_PART_NAME, sizeof(ptable_entry.name)); in ptable_create_default()
737 LTRACEF("name %s\n", name); in ptable_remove()
742 if (!name) in ptable_remove()
745 if (!strcmp(name, "ptable")) in ptable_remove()
752 if (strcmp(name, (void *)entry->name) == 0) { in ptable_remove()
[all …]
/lk-master/app/
A Dapp.c50 printf("starting app %s\n", app->name); in start_app()
51 …thread_t *t = thread_create(app->name, &app_thread_entry, (void *)app, DEFAULT_PRIORITY, stack_siz… in start_app()
61 status_t app_start_by_name(const char *name, bool detached) { in app_start_by_name() argument
66 if (!strcmp(app->name, name)) { in app_start_by_name()
79 printf("%s\n", app->name); in list_apps()
/lk-master/lib/bio/
A Dmem.c27 LTRACEF("bdev %s, buf %p, offset %lld, len %zu\n", bdev->name, buf, offset, len); in mem_bdev_read()
37 LTRACEF("bdev %s, buf %p, block %u, count %u\n", bdev->name, buf, block, count); in mem_bdev_read_block()
47 LTRACEF("bdev %s, buf %p, offset %lld, len %zu\n", bdev->name, buf, offset, len); in mem_bdev_write()
57 LTRACEF("bdev %s, buf %p, block %u, count %u\n", bdev->name, buf, block, count); in mem_bdev_write_block()
64 int create_membdev(const char *name, void *ptr, size_t len) { in create_membdev() argument
68 bio_initialize_bdev(&mem->dev, name, BLOCKSIZE, len / BLOCKSIZE, 0, NULL, in create_membdev()
/lk-master/kernel/include/kernel/
A Dvm.h55 const char *name; member
111 const char *name; member
187 char name[32]; member
203 char name[32]; member
227 status_t vmm_reserve_space(vmm_aspace_t *aspace, const char *name, size_t size, vaddr_t vaddr)
232 status_t vmm_alloc_physical(vmm_aspace_t *aspace, const char *name, size_t size, void **ptr, uint8_…
236 status_t vmm_alloc_contiguous(vmm_aspace_t *aspace, const char *name, size_t size, void **ptr, uint…
240 status_t vmm_alloc(vmm_aspace_t *aspace, const char *name, size_t size, void **ptr, uint8_t align_l…
250 status_t vmm_create_aspace(vmm_aspace_t **aspace, const char *name, uint flags)

Completed in 58 milliseconds

12345678