Home
last modified time | relevance | path

Searched full:pcb (Results 1 – 25 of 118) sorted by relevance

12345

/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c129 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/
Dlos_ipclimit.c93 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 …]
Dlos_memlimit.c95 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/
Dndlc.c76 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/
Dseq_dummy.c109 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/mm/
Dinit.c91 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()
98 /* Set up initial PCB, VPTB, and other such nicities. */
121 /* Also set up the real kernel PCB while we're at it. */ in switch_to_system_map()
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()
127 /* Save off the contents of the original PCB so that we can in switch_to_system_map()
130 Note that the PCB is supposed to be a physical address, but in switch_to_system_map()
Dfault.c45 struct pcb_struct *pcb; in __load_new_mm_context() local
50 pcb = &current_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()
/kernel/liteos_a/compat/posix/src/
Dmisc.c165 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/net/lwip-2.1/enhancement/src/
Ddhcps.c85 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/kernel/
Dprocess.c225 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()
/kernel/liteos_a/fs/proc/os_adapt/
Dvmm_proc.c53 LosProcessCB *pcb = NULL; in OsVmDumpSeqSpaces() local
61 pcb = OsGetPIDByAspace(space); in OsVmDumpSeqSpaces()
62 if (pcb == NULL) { in OsVmDumpSeqSpaces()
69pcb->processID, space, pcb->processName, space->base, space->size, spacePages); in OsVmDumpSeqSpaces()
Dprocess_proc.c192 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/boot/
Dmain.c49 * PCB for that. The kernel proper should replace this PCB with
68 /* Create the dummy PCB. */ in pal_init()
82 * a1 = return address, but we give the asm the vaddr of the PCB in pal_init()
83 * a2 = physical addr of PCB in pal_init()
Dbootp.c55 * PCB for that. The kernel proper should replace this PCB with
74 /* Create the dummy PCB. */ in pal_init()
88 * a1 = return address, but we give the asm the vaddr of the PCB in pal_init()
89 * a2 = physical addr of PCB in pal_init()
Dbootpz.c104 * PCB for that. The kernel proper should replace this PCB with
122 /* Create the dummy PCB. */ in pal_init()
136 * a1 = return address, but we give the asm the vaddr of the PCB in pal_init()
137 * a2 = physical addr of PCB in pal_init()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dmmu_context.h30 __reload_thread(struct pcb_struct *pcb) in __reload_thread() argument
35 a0 = virt_to_phys(pcb); in __reload_thread()
159 /* Always update the PCB ASN. Another thread may have allocated in ev5_switch_mm()
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()
/kernel/liteos_a/kernel/extended/container/
Dlos_net_container.c303 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/arch/arm/boot/dts/
Dstm32mp157c-dhcom-pdk2.dts7 * DHCOM PCB number: 587-200 or newer
8 * PDK2 PCB number: 516-400 or newer
Dstm32mp153c-dhcom-drc02.dts7 * DHCOM PCB number: 587-200 or newer
8 * DRC02 PCB number: 568-100 or newer
Dstm32mp157a-dhcor-avenger96.dts9 * DHCOR PCB number: 586-100 or newer
10 * Avenger96 PCB number: 588-200 or newer
/kernel/linux/linux-5.10/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c91 /* In case pcb zone is available, use the extrapolation rule with it */ in __ti_thermal_get_temp()
95 tmp -= pcb_temp; /* got a valid PCB temp */ in __ti_thermal_get_temp()
100 "Failed to read PCB state. Using defaults\n"); in __ti_thermal_get_temp()
159 data->pcb_tz = thermal_zone_get_zone_by_name("pcb"); in ti_thermal_build_data()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
Dcadence-nand-controller.txt21 board delay = RE#PAD delay + PCB trace to device + PCB trace from device
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dbttv.rst554 #) These cards have a number printed on the PCB just above the tuner metal box:
574 #) There is a print on the PCB:
654 - 50692 "TV/FM Tuner" (small PCB)
845 - TV-Boostar = Terratec Terra TV+ Version 1.0 (Bt848, tda9821) "ceb105.pcb"
852 - Face to Face Capture (Bt848 capture only) (PCB "VP-2848")
853 - Face To Face TV MAX (Bt848) (PCB "VP-8482 Rev1.3")
854 - Genie TV (Bt878) (PCB "VP-8790 Rev 2.1")
873 PCB PCI-ID Model-Name Eeprom Tuner Sound Country
942 - MD9592 = Avermedia TVphone98 (PCI_ID=1461:0003), PCB-Rev=M168II-B (w/TDA9873H)
962 - Terra TV+ Version 1.0 (Bt848), "ceb105.PCB" printed on the PCB, TDA9821
[all …]
/kernel/linux/linux-5.10/net/nfc/
Ddigital_technology.c77 #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()
186 pr_err("DID field in ISO_DEP PCB not supported\n"); in digital_in_iso_dep_pull_sod()
199 * Chaining not supported so skb->len + 1 PCB byte + 2 CRC bytes must in digital_in_iso_dep_push_sod()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_mbox.c947 * lpfc_config_pcb_setup - Set up IOCB rings in the Port Control Block (PCB)
951 * Block (PCB).
958 PCB_t *pcbp = phba->pcb; in lpfc_config_pcb_setup()
1208 * specified in the Port Control Block (PCB). It is an error to issue the
1261 * Block (PCB) in the driver memory. After this command is issued, the
1263 * the HBA. The HBA may copy the PCB information to internal storage for
1264 * subsequent use; the driver can not change the PCB information unless it
1287 offset = (uint8_t *)phba->pcb - (uint8_t *)phba->slim2p.virt; in lpfc_config_port()
1317 /* Now setup pcb */ in lpfc_config_port()
1318 phba->pcb->type = TYPE_NATIVE_SLI2; in lpfc_config_port()
[all …]

12345