Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 42) sorted by relevance

12

/components/dfs/dfs_v2/filesystems/procfs/
A Dprocfs.c43 if (entry->fops && entry->fops->open) in dfs_procfs_open()
64 if (entry && entry->fops && entry->fops->close) in dfs_procfs_close()
79 if (entry && entry->fops && entry->fops->read) in dfs_procfs_read()
94 if (entry && entry->fops && entry->fops->write) in dfs_procfs_write()
109 if (entry && entry->fops && entry->fops->ioctl) in dfs_procfs_ioctl()
126 if (entry) in dfs_procfs_getdents()
213 if (entry && entry->fops && entry->fops->poll) in dfs_procfs_poll()
228 if (entry && entry->fops && entry->fops->flush) in dfs_procfs_flush()
257 if (entry) in dfs_procfs_readlink()
259 if (S_ISLNK(entry->mode) && entry->data) in dfs_procfs_readlink()
[all …]
A Dproc.c155 if (entry->single_show) in proc_open()
165 seq_ops->show = entry->single_show; in proc_open()
176 return dfs_seq_open(file, entry->seq_ops); in proc_open()
184 if (seq && entry->single_show && seq->ops) in proc_close()
677 if (entry) in msh_proc_symlink()
679 proc_release(entry); in msh_proc_symlink()
698 if (entry) in msh_proc_echo()
700 proc_release(entry); in msh_proc_echo()
719 struct proc_dentry *entry = proc_mkdir(argv[i], 0); in msh_proc_mkdir() local
720 if (entry) in msh_proc_mkdir()
[all …]
A Dproc_pid.c266 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in proc_pid_fd_getdents() local
271 lwp = lwp_from_pid_locked(entry->pid); in proc_pid_fd_getdents()
/components/net/lwip/lwip-2.1.2/src/core/
A Ddns.c476 iterator_fn(entry->name, &entry->addr, iterator_arg); in dns_local_iterate()
479 entry = entry->next; in dns_local_iterate()
525 entry = entry->next; in dns_lookup_local()
569 entry = entry->next; in dns_local_removehost()
574 entry = entry->next; in dns_local_removehost()
790 (u16_t)(entry->server_idx), entry->name)); in dns_send()
863 entry->txid, entry->name, entry->server_idx)); in dns_send()
1107 entry->tmr = 1; in dns_check_entry()
1139 entry->tmr = entry->retries; in dns_check_entry()
1152 if ((entry->ttl == 0) || (--entry->ttl == 0)) { in dns_check_entry()
[all …]
/components/net/lwip/lwip-2.0.3/src/core/
A Ddns.c465 iterator_fn(entry->name, &entry->addr, iterator_arg); in dns_local_iterate()
468 entry = entry->next; in dns_local_iterate()
514 entry = entry->next; in dns_lookup_local()
558 entry = entry->next; in dns_local_removehost()
563 entry = entry->next; in dns_local_removehost()
762 (u16_t)(entry->server_idx), entry->name)); in dns_send()
824 entry->txid, entry->name, entry->server_idx)); in dns_send()
1038 entry->tmr = 1; in dns_check_entry()
1070 entry->tmr = entry->retries; in dns_check_entry()
1083 if ((entry->ttl == 0) || (--entry->ttl == 0)) { in dns_check_entry()
[all …]
/components/lwp/
A Dlwp_futex_table.c18 struct shared_futex_entry *entry = &futex->entry; in futex_global_table_add() local
19 futex->entry.key.mobj = key->mobj; in futex_global_table_add()
20 futex->entry.key.offset = key->offset; in futex_global_table_add()
22 RT_UTHASH_ADD(_futex_hash_head, key, sizeof(struct shared_futex_key), entry); in futex_global_table_add()
30 struct shared_futex_entry *entry; in futex_global_table_find() local
32 RT_UTHASH_FIND(_futex_hash_head, key, sizeof(struct shared_futex_key), entry); in futex_global_table_find()
33 if (entry) in futex_global_table_find()
36 found_futex = rt_container_of(entry, struct rt_futex, entry); in futex_global_table_find()
51 struct shared_futex_entry *entry; in futex_global_table_delete() local
54 if (entry) in futex_global_table_delete()
[all …]
A Dlwp_futex.c219 futex_global_table_delete(&futex->entry.key); in _sftx_destroy()
786 rt_inline int _fetch_robust_entry(struct robust_list **entry, in _fetch_robust_entry() argument
802 *entry = (void *)(uentry & ~1UL); in _fetch_robust_entry()
878 struct robust_list *entry = RT_NULL; in lwp_futex_exit_robust_list() local
892 if (_fetch_robust_entry(&entry, &head->list.next, &pi)) in lwp_futex_exit_robust_list()
913 while (entry != &head->list) in lwp_futex_exit_robust_list()
915 rc = _fetch_robust_entry(&next_entry, &entry->next, &next_pi); in lwp_futex_exit_robust_list()
916 if (entry != pending) in lwp_futex_exit_robust_list()
918 if (_handle_futex_death((int *)((size_t)entry + futex_offset), thread, pi, in lwp_futex_exit_robust_list()
924 entry = next_entry; in lwp_futex_exit_robust_list()
A Dlwp_futex_internal.h41 struct shared_futex_entry entry; member
/components/net/lwip/lwip-1.4.1/src/core/
A Ddns.c342 if (entry != NULL) { in dns_init_local()
343 entry->name = (char*)entry + sizeof(struct local_hostlist_entry); in dns_init_local()
366 while(entry != NULL) { in dns_lookup_local()
370 entry = entry->next; in dns_lookup_local()
398 while (entry != NULL) { in dns_local_removehost()
407 free_entry = entry; in dns_local_removehost()
408 entry = entry->next; in dns_local_removehost()
412 last_entry = entry; in dns_local_removehost()
413 entry = entry->next; in dns_local_removehost()
436 if (entry == NULL) { in dns_local_addhost()
[all …]
/components/drivers/ipc/
A Dwaitqueue.c87 struct rt_wqueue_node *entry; in rt_wqueue_wakeup() local
99 entry = rt_list_entry(node, struct rt_wqueue_node, list); in rt_wqueue_wakeup()
100 if (entry->wakeup(entry, key) == 0) in rt_wqueue_wakeup()
106 entry->polling_thread->error = RT_EOK; in rt_wqueue_wakeup()
107 if (!rt_thread_resume(entry->polling_thread)) in rt_wqueue_wakeup()
111 rt_list_remove(&(entry->list)); in rt_wqueue_wakeup()
143 struct rt_wqueue_node *entry; in rt_wqueue_wakeup_all() local
155 entry = rt_list_entry(node, struct rt_wqueue_node, list); in rt_wqueue_wakeup_all()
156 if (entry->wakeup(entry, key) == 0) in rt_wqueue_wakeup_all()
162 entry->polling_thread->error = RT_EOK; in rt_wqueue_wakeup_all()
[all …]
/components/net/lwip-nat/
A Dipv4_nat.c113 ip_nat_entry_t entry; member
541 in_if = nat_entry.cmn->cfg->entry.in_if; in ip_nat_input()
630 if (nat_config->entry.out_if == NULL) { in ip_nat_out()
1014 NULL != nat_entry->common.cfg->entry.out_if); in ip_nat_dbg_dump_icmp_nat_entry()
1044 NULL != nat_entry->common.cfg->entry.out_if); in ip_nat_dbg_dump_tcp_nat_entry()
1074 NULL != nat_entry->common.cfg->entry.out_if); in ip_nat_dbg_dump_udp_nat_entry()
1117 ip_nat_dbg_dump_ip(&(cur->entry.source_net)); in ip_nat_dbg_dump_remove()
1119 ip_nat_dbg_dump_ip(&(cur->entry.source_netmask)); in ip_nat_dbg_dump_remove()
1121 ip_nat_dbg_dump_ip(&(cur->entry.in_if->ip_addr)); in ip_nat_dbg_dump_remove()
1123 ip_nat_dbg_dump_ip(&(cur->entry.dest_net)); in ip_nat_dbg_dump_remove()
[all …]
A DREADME.md9 Use following code to add a NAT entry:
/components/dfs/dfs_v2/src/
A Ddfs_dentry.c232 struct dfs_dentry *entry = RT_NULL; in _dentry_hash_lookup() local
237 rt_list_for_each_entry(entry, &hash_head.head[_dentry_hash(mnt, path)], hashlist) in _dentry_hash_lookup()
239 if (entry->mnt == mnt && !strcmp(entry->pathname, path)) in _dentry_hash_lookup()
241 dfs_dentry_ref(entry); in _dentry_hash_lookup()
243 return entry; in _dentry_hash_lookup()
501 struct dfs_dentry *entry = RT_NULL; in dfs_dentry_dump() local
506 rt_list_for_each_entry(entry, &hash_head.head[index], hashlist) in dfs_dentry_dump()
508 …dentry: %s%s @ %p, ref_count = %zd\n", entry->mnt->fullpath, entry->pathname, entry, (size_t)rt_at… in dfs_dentry_dump()
/components/drivers/phy/
A Dmdio.c16 struct rt_list_node *entry; in rt_mdio_get_bus_by_name() local
25 rt_list_for_each(entry, &mdio_list) in rt_mdio_get_bus_by_name()
27 bus = rt_container_of(entry, struct mii_bus, node); in rt_mdio_get_bus_by_name()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dmultilink.c308 char entry[32]; in make_bundle_links() local
313 slprintf(entry, sizeof(entry), "%s;", db_key); in make_bundle_links()
314 p = entry; in make_bundle_links()
324 l = rec.dsize + strlen(entry); in make_bundle_links()
328 slprintf(p, l, "%s%s", rec.dptr, entry); in make_bundle_links()
340 if (p != entry) in make_bundle_links()
347 char entry[32]; in remove_bundle_link() local
353 slprintf(entry, sizeof(entry), "%s;", db_key); in remove_bundle_link()
362 p = strstr(rec.dptr, entry); in remove_bundle_link()
364 q = p + strlen(entry); in remove_bundle_link()
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dmultilink.c308 char entry[32]; in make_bundle_links() local
313 slprintf(entry, sizeof(entry), "%s;", db_key); in make_bundle_links()
314 p = entry; in make_bundle_links()
324 l = rec.dsize + strlen(entry); in make_bundle_links()
328 slprintf(p, l, "%s%s", rec.dptr, entry); in make_bundle_links()
340 if (p != entry) in make_bundle_links()
347 char entry[32]; in remove_bundle_link() local
353 slprintf(entry, sizeof(entry), "%s;", db_key); in remove_bundle_link()
362 p = strstr(rec.dptr, entry); in remove_bundle_link()
364 q = p + strlen(entry); in remove_bundle_link()
/components/libc/cplusplus/os/
A Dcxx_Thread.cpp30 Thread::Thread(void (*entry)(void *p), in Thread()
36 : _entry(entry), _param(p), started(false) in Thread()
A Dcxx_thread.h35 Thread(void (*entry)(void *p),
/components/drivers/pic/
A Dpic-gicv3-its.c796 rt_uint64_t *entry; in gicv3_its_irq_alloc_msi() local
798 entry = tbl->base; in gicv3_its_irq_alloc_msi()
799 entry += device_id / (tbl->page_size / GITS_LVL1_ENTRY_SIZE); in gicv3_its_irq_alloc_msi()
801 if (*entry) in gicv3_its_irq_alloc_msi()
803 lvl2_dte = (void *)(*entry - PV_OFFSET); in gicv3_its_irq_alloc_msi()
827 *entry = rt_cpu_to_le64((rt_uint64_t)rt_kmem_v2p(lvl2_dte) | GITS_BASER_VALID); in gicv3_its_irq_alloc_msi()
831 rt_hw_cpu_dcache_ops(RT_HW_CACHE_FLUSH, entry, sizeof(*entry)); in gicv3_its_irq_alloc_msi()
954 rt_uint64_t *entry; in its_map_release() local
956 entry = tbl->base + (map->device_id / (tbl->page_size / GITS_LVL1_ENTRY_SIZE)); in its_map_release()
957 *entry = rt_cpu_to_le64(0); in its_map_release()
[all …]
/components/drivers/usb/cherryusb/osal/
A Dusb_osal_rtthread.c13 …_create(const char *name, uint32_t stack_size, uint32_t prio, usb_thread_entry_t entry, void *args) in usb_osal_thread_create() argument
16 htask = rt_thread_create(name, entry, args, stack_size, prio, 10); in usb_osal_thread_create()
/components/dfs/dfs_v1/filesystems/nfs/
A Ddfs_nfs.c42 entry3 *entry; member
916 dir->entry = NULL; in nfs_opendir()
930 if (dir->entry == NULL) in nfs_readdir()
957 dir->entry = dir->res.READDIR3res_u.resok.reply.entries; in nfs_readdir()
959 if (dir->eof == TRUE && dir->entry == NULL) in nfs_readdir()
962 dir->cookie = dir->entry->cookie; in nfs_readdir()
963 strncpy(name, dir->entry->name, NAME_MAX - 1); in nfs_readdir()
964 dir->entry = dir->entry->nextentry; in nfs_readdir()
/components/drivers/pci/msi/
A Dmsi.c798 struct rt_pci_msix_entry *entry; in msix_capability_init() local
846 entry = entries; in msix_capability_init()
851 msi_affinity_init(desc, desc->msix.index, affinities[entry->index]); in msix_capability_init()
854 entry->irq = desc->irq; in msix_capability_init()
855 ++entry; in msix_capability_init()
/components/drivers/usb/cherryusb/common/
A Dusb_osal.h43 …create(const char *name, uint32_t stack_size, uint32_t prio, usb_thread_entry_t entry, void *args);
/components/dfs/dfs_v1/filesystems/elmfat/
A D00history.txt208 Fixed creation of an entry with LFN fails on too many SFN collisions. (appeared at R0.07)
214 Fixed a hard error in the disk I/O layer can collapse the directory entry.
215 …Fixed LFN entry is not deleted when delete/rename an object with lossy converted SFN. (appeared at…
300 …Fixed exFAT FAT entry can be collapsed when write or lseek operation to the existing file is done.…
327 …Fixed reading a directory gets infinite loop when the last directory entry is not empty. (appeared…
/components/dfs/dfs_v2/filesystems/elmfat/
A D00history.txt208 Fixed creation of an entry with LFN fails on too many SFN collisions. (appeared at R0.07)
214 Fixed a hard error in the disk I/O layer can collapse the directory entry.
215 …Fixed LFN entry is not deleted when delete/rename an object with lossy converted SFN. (appeared at…
300 …Fixed exFAT FAT entry can be collapsed when write or lseek operation to the existing file is done.…
327 …Fixed reading a directory gets infinite loop when the last directory entry is not empty. (appeared…

Completed in 45 milliseconds

12