/kernel/liteos_a/kernel/extended/liteipc/ |
D | hm_liteipc.c | 129 LosProcessCB *pcb = OsCurrProcessGet(); in LiteIpcOpen() local 130 if (pcb->ipcInfo != NULL) { in LiteIpcOpen() 134 pcb->ipcInfo = LiteIpcPoolCreate(); in LiteIpcOpen() 135 if (pcb->ipcInfo == NULL) { in LiteIpcOpen() 153 LITE_OS_SEC_TEXT STATIC INT32 DoIpcMmap(LosProcessCB *pcb, LosVmMapRegion *region) in DoIpcMmap() argument 160 VADDR_T uva = (VADDR_T)(UINTPTR)pcb->ipcInfo->pool.uvaddr; in DoIpcMmap() 161 VADDR_T kva = (VADDR_T)(UINTPTR)pcb->ipcInfo->pool.kvaddr; in DoIpcMmap() 163 (VOID)LOS_MuxAcquire(&pcb->vmSpace->regionMux); in DoIpcMmap() 178 … STATUS_T err = LOS_ArchMmuMap(&pcb->vmSpace->archMmu, uva + (i << PAGE_SHIFT), pa, 1, uflags); in DoIpcMmap() 190 (VOID)LOS_ArchMmuUnmap(&pcb->vmSpace->archMmu, uva + (i << PAGE_SHIFT), 1); in DoIpcMmap() [all …]
|
/kernel/liteos_a/kernel/extended/plimit/ |
D | los_ipclimit.c | 93 LosProcessCB *pcb = (LosProcessCB *)process; in OsIPCLimitMigrate() local 95 if (pcb == NULL) { in OsIPCLimitMigrate() 103 parentIpcLimit->mqCount -= pcb->limitStat.mqCount; in OsIPCLimitMigrate() 104 parentIpcLimit->shmSize -= pcb->limitStat.shmSize; in OsIPCLimitMigrate() 105 currIpcLimit->mqCount += pcb->limitStat.mqCount; in OsIPCLimitMigrate() 106 currIpcLimit->shmSize += pcb->limitStat.shmSize; in OsIPCLimitMigrate() 112 LosProcessCB *pcb = (LosProcessCB *)process; in OsIPCLimitAddProcessCheck() local 113 if ((ipcLimit->mqCount + pcb->limitStat.mqCount) >= ipcLimit->mqCountLimit) { in OsIPCLimitAddProcessCheck() 117 if ((ipcLimit->shmSize + pcb->limitStat.shmSize) >= ipcLimit->shmSizeLimit) { in OsIPCLimitAddProcessCheck() 126 LosProcessCB *pcb = (LosProcessCB *)process; in OsIPCLimitAddProcess() local [all …]
|
D | los_memlimit.c | 95 LosProcessCB *pcb = (LosProcessCB *)process; in OsMemLimiterMigrate() local 97 if (pcb == NULL) { in OsMemLimiterMigrate() 106 parentMemLimit->usage -= pcb->limitStat.memUsed; in OsMemLimiterMigrate() 107 currMemLimit->usage += pcb->limitStat.memUsed; in OsMemLimiterMigrate() 113 LosProcessCB *pcb = (LosProcessCB *)process; in OsMemLimitAddProcessCheck() local 114 if ((memLimit->usage + pcb->limitStat.memUsed) > memLimit->limit) { in OsMemLimitAddProcessCheck() 122 LosProcessCB *pcb = (LosProcessCB *)process; in OsMemLimitAddProcess() local 124 plimits->usage += pcb->limitStat.memUsed; in OsMemLimitAddProcess() 133 LosProcessCB *pcb = (LosProcessCB *)process; in OsMemLimitDelProcess() local 136 plimits->usage -= pcb->limitStat.memUsed; in OsMemLimitDelProcess()
|
/kernel/linux/linux-5.10/drivers/nfc/st-nci/ |
D | ndlc.c | 76 u8 pcb = PCB_TYPE_DATAFRAME | PCB_DATAFRAME_RETRANSMIT_NO | in ndlc_send() local 79 *(u8 *)skb_push(skb, 1) = pcb; in ndlc_send() 125 u8 pcb; in llt_ndlc_requeue_data_pending() local 128 pcb = skb->data[0]; in llt_ndlc_requeue_data_pending() 129 switch (pcb & PCB_TYPE_MASK) { in llt_ndlc_requeue_data_pending() 131 skb->data[0] = (pcb & ~PCB_SUPERVISOR_RETRANSMIT_MASK) | in llt_ndlc_requeue_data_pending() 135 skb->data[0] = (pcb & ~PCB_DATAFRAME_RETRANSMIT_MASK) | in llt_ndlc_requeue_data_pending() 139 pr_err("UNKNOWN Packet Control Byte=%d\n", pcb); in llt_ndlc_requeue_data_pending() 150 u8 pcb; in llt_ndlc_rcv_queue() local 157 pcb = skb->data[0]; in llt_ndlc_rcv_queue() [all …]
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_dummy.c | 109 struct snd_seq_port_callback pcb; in create_port() local 132 memset(&pcb, 0, sizeof(pcb)); in create_port() 133 pcb.owner = THIS_MODULE; in create_port() 134 pcb.event_input = dummy_input; in create_port() 135 pcb.private_free = dummy_free; in create_port() 136 pcb.private_data = rec; in create_port() 137 pinfo.kernel = &pcb; in create_port()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | process.c | 225 current_thread_info()->pcb.unique = 0; in flush_thread() 249 childti->pcb.ksp = (unsigned long) childstack; in copy_thread() 250 childti->pcb.flags = 1; /* set FEN, clear everything else */ in copy_thread() 260 childti->pcb.usp = 0; in copy_thread() 269 childti->pcb.unique = tls; in copy_thread() 272 childti->pcb.usp = usp ?: rdusp(); in copy_thread() 322 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread() 328 dest[32] = ti->pcb.unique; in dump_elf_thread() 367 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc() 397 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
|
D | ptrace.c | 113 addr = &task_thread_info(task)->pcb.usp; in get_reg_addr() 115 addr = &task_thread_info(task)->pcb.unique; in get_reg_addr()
|
D | traps.c | 381 current_thread_info()->pcb.flags |= 1; in do_entIF() 382 __reload_thread(¤t_thread_info()->pcb); in do_entIF()
|
/kernel/liteos_a/compat/posix/src/ |
D | misc.c | 165 LosProcessCB *pcb = OsCurrProcessGet(); in getrlimit() local 166 struct rlimit *resourceLimit = pcb->resourceLimit; in getrlimit() 199 LosProcessCB *pcb = OsCurrProcessGet(); in setrlimit() local 219 if (pcb->resourceLimit == NULL) { in setrlimit() 227 if (pcb->resourceLimit == NULL) { in setrlimit() 228 pcb->resourceLimit = resourceLimit; in setrlimit() 231 pcb->resourceLimit[resource].rlim_cur = rlim->rlim_cur; in setrlimit() 232 pcb->resourceLimit[resource].rlim_max = rlim->rlim_max; in setrlimit()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | vmm_proc.c | 53 LosProcessCB *pcb = NULL; in OsVmDumpSeqSpaces() local 61 pcb = OsGetPIDByAspace(space); in OsVmDumpSeqSpaces() 62 if (pcb == NULL) { in OsVmDumpSeqSpaces() 69 … pcb->processID, space, pcb->processName, space->base, space->size, spacePages); in OsVmDumpSeqSpaces()
|
D | process_proc.c | 192 static int ProcessMemInfoRead(struct SeqBuf *seqBuf, LosProcessCB *pcb) in ProcessMemInfoRead() argument 204 if (OsProcessIsInactive(pcb)) { in ProcessMemInfoRead() 209 (void)memcpy_s(vmSpace, sizeof(LosVmSpace), pcb->vmSpace, sizeof(LosVmSpace)); in ProcessMemInfoRead() 210 (void)memcpy_s(heap, sizeof(LosVmMapRegion), pcb->vmSpace->heap, sizeof(LosVmMapRegion)); in ProcessMemInfoRead() 225 static int ProcessCpupRead(struct SeqBuf *seqBuf, LosProcessCB *pcb) in ProcessCpupRead() argument 235 if (OsProcessIsInactive(pcb)) { in ProcessCpupRead() 240 (void)memcpy_s(processCpup, sizeof(OsCpupBase), pcb->processCpup, sizeof(OsCpupBase)); in ProcessCpupRead()
|
/kernel/linux/linux-5.10/arch/alpha/mm/ |
D | fault.c | 45 struct pcb_struct *pcb; in __load_new_mm_context() local 50 pcb = ¤t_thread_info()->pcb; in __load_new_mm_context() 51 pcb->asn = mmc & HARDWARE_ASN_MASK; in __load_new_mm_context() 52 pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; in __load_new_mm_context() 54 __reload_thread(pcb); in __load_new_mm_context()
|
D | init.c | 91 load_PCB(struct pcb_struct *pcb) in load_PCB() argument 94 pcb->ksp = sp; in load_PCB() 95 return __reload_thread(pcb); in load_PCB() 122 init_thread_info.pcb.ptbr = newptbr; in switch_to_system_map() 123 init_thread_info.pcb.flags = 1; /* set FEN, clear everything else */ in switch_to_system_map() 124 original_pcb_ptr = load_PCB(&init_thread_info.pcb); in switch_to_system_map()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | dhcps.c | 85 struct udp_pcb *pcb; member 128 LWIP_STATIC void dhcps_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, 402 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &dst_addr, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)… in handle_discover() 408 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, IP_ADDR_BROADCAST, DHCP_CLIENT_PORT, netif, &(netif->… in handle_discover() 428 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &client_ipaddr, DHCP_CLIENT_PORT, netif, &(netif->ip_… in handle_discover() 440 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, IP_ADDR_BROADCAST, DHCP_CLIENT_PORT, netif, &(netif->… in handle_discover() 619 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &dst_addr, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)… in handle_request() 622 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, IP_ADDR_BROADCAST, DHCP_CLIENT_PORT, netif, &(netif->… in handle_request() 644 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &ip_send, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)); in handle_request() 711 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &dst_addr, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)… in handle_inform() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | mmu_context.h | 30 __reload_thread(struct pcb_struct *pcb) in __reload_thread() argument 35 a0 = virt_to_phys(pcb); in __reload_thread() 162 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm() 240 task_thread_info(tsk)->pcb.ptbr in init_new_context() 254 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
|
D | switch_to.h | 11 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
|
D | processor.h | 50 ((tsk) == current ? rdusp() : task_thread_info(tsk)->pcb.usp)
|
D | thread_info.h | 16 struct pcb_struct pcb; /* palcode state */ member
|
/kernel/liteos_a/kernel/extended/container/ |
D | los_net_container.c | 303 STATIC VOID DoSetIppcbNetGroup(struct ip_pcb *pcb, struct net_group *group) in DoSetIppcbNetGroup() argument 305 pcb->group = group; in DoSetIppcbNetGroup() 308 STATIC struct net_group *DoGetNetGroupFromIppcb(struct ip_pcb *pcb) in DoGetNetGroupFromIppcb() argument 310 return pcb != NULL ? pcb->group : NULL; in DoGetNetGroupFromIppcb()
|
/kernel/linux/linux-5.10/net/nfc/ |
D | digital_technology.c | 77 #define DIGITAL_ISO_DEP_PCB_TYPE(pcb) ((pcb) & 0xC0) argument 81 #define DIGITAL_ISO_DEP_BLOCK_HAS_DID(pcb) ((pcb) & 0x08) argument 170 u8 pcb; in digital_in_iso_dep_pull_sod() local 176 pcb = *skb->data; in digital_in_iso_dep_pull_sod() 177 block_type = DIGITAL_ISO_DEP_PCB_TYPE(pcb); in digital_in_iso_dep_pull_sod() 185 if (DIGITAL_ISO_DEP_BLOCK_HAS_DID(pcb)) { in digital_in_iso_dep_pull_sod()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_mbox.c | 958 PCB_t *pcbp = phba->pcb; in lpfc_config_pcb_setup() 1287 offset = (uint8_t *)phba->pcb - (uint8_t *)phba->slim2p.virt; in lpfc_config_port() 1318 phba->pcb->type = TYPE_NATIVE_SLI2; in lpfc_config_port() 1319 phba->pcb->feature = FEATURE_INITIAL_SLI2; in lpfc_config_port() 1322 phba->pcb->mailBoxSize = sizeof(MAILBOX_t) + MAILBOX_EXT_SIZE; in lpfc_config_port() 1325 phba->pcb->mbAddrHigh = putPaddrHigh(pdma_addr); in lpfc_config_port() 1326 phba->pcb->mbAddrLow = putPaddrLow(pdma_addr); in lpfc_config_port() 1385 phba->pcb->hgpAddrHigh = putPaddrHigh(pdma_addr); in lpfc_config_port() 1386 phba->pcb->hgpAddrLow = putPaddrLow(pdma_addr); in lpfc_config_port() 1400 phba->pcb->hgpAddrLow = (bar_low & PCI_BASE_ADDRESS_MEM_MASK) + in lpfc_config_port() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
D | Makefile | 3 cx231xx-y += cx231xx-avcore.o cx231xx-417.o cx231xx-pcb-cfg.o cx231xx-vbi.o
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_dump.c | 400 LosProcessCB *pcb = OsGetPIDByAspace(space); in OsDumpAspace() local 402 if (pcb == NULL) { in OsDumpAspace() 409 PRINTK(" %-4d %#010x %-10.10s %#010x %#010x %d\n", pcb->processID, space, pcb->processName, in OsDumpAspace()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | grant-table.c | 647 struct gnttab_free_callback **pcb; in gnttab_cancel_free_callback() local 651 for (pcb = &gnttab_free_callback_list; *pcb; pcb = &(*pcb)->next) { in gnttab_cancel_free_callback() 652 if (*pcb == callback) { in gnttab_cancel_free_callback() 653 *pcb = callback->next; in gnttab_cancel_free_callback()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 2310 LosProcessCB *pcb = NULL; in LOS_GetUsedPIDList() local 2320 pcb = OS_PCB_FROM_PID(pid); in LOS_GetUsedPIDList() 2322 if (OsProcessIsUnused(pcb)) { in LOS_GetUsedPIDList() 2325 pidList[num] = pcb->processID; in LOS_GetUsedPIDList() 2342 LosProcessCB *pcb = OS_PCB_FROM_PID(pid); in LOS_GetFdTable() local 2343 struct files_struct *files = pcb->files; in LOS_GetFdTable()
|