/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm2-space.c | 31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() argument 35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions() 36 if (space->session_tbl[i]) in tpm2_flush_sessions() 37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions() 41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) in tpm2_init_space() argument 43 space->context_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 44 if (!space->context_buf) in tpm2_init_space() 47 space->session_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 48 if (space->session_buf == NULL) { in tpm2_init_space() 49 kfree(space in tpm2_init_space() 59 tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) tpm2_del_space() argument 166 struct tpm_space *space = &chip->work_space; tpm2_flush_space() local 178 struct tpm_space *space = &chip->work_space; tpm2_load_space() local 224 tpm2_map_to_phandle(struct tpm_space *space, void *handle) tpm2_map_to_phandle() argument 241 struct tpm_space *space = &chip->work_space; tpm2_map_command() local 265 tpm_find_and_validate_cc(struct tpm_chip *chip, struct tpm_space *space, const void *cmd, size_t len) tpm_find_and_validate_cc() argument 300 tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, size_t cmdsiz) tpm2_prepare_space() argument 340 struct tpm_space *space = &chip->work_space; tpm2_add_session() local 354 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc) tpm2_map_to_vhandle() argument 377 struct tpm_space *space = &chip->work_space; tpm2_map_response_header() local 437 struct tpm_space *space = &chip->work_space; tpm2_map_response_body() local 493 struct tpm_space *space = &chip->work_space; tpm2_save_space() local 534 tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, void *buf, size_t *bufsiz) tpm2_commit_space() argument [all...] |
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm2-space.c | 31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() argument 35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions() 36 if (space->session_tbl[i]) in tpm2_flush_sessions() 37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions() 41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) in tpm2_init_space() argument 43 space->context_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 44 if (!space->context_buf) in tpm2_init_space() 47 space->session_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 48 if (space->session_buf == NULL) { in tpm2_init_space() 49 kfree(space in tpm2_init_space() 59 tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) tpm2_del_space() argument 166 struct tpm_space *space = &chip->work_space; tpm2_flush_space() local 178 struct tpm_space *space = &chip->work_space; tpm2_load_space() local 224 tpm2_map_to_phandle(struct tpm_space *space, void *handle) tpm2_map_to_phandle() argument 241 struct tpm_space *space = &chip->work_space; tpm2_map_command() local 265 tpm_find_and_validate_cc(struct tpm_chip *chip, struct tpm_space *space, const void *cmd, size_t len) tpm_find_and_validate_cc() argument 300 tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, size_t cmdsiz) tpm2_prepare_space() argument 340 struct tpm_space *space = &chip->work_space; tpm2_add_session() local 354 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc) tpm2_map_to_vhandle() argument 377 struct tpm_space *space = &chip->work_space; tpm2_map_response_header() local 437 struct tpm_space *space = &chip->work_space; tpm2_map_response_body() local 493 struct tpm_space *space = &chip->work_space; tpm2_save_space() local 534 tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, void *buf, size_t *bufsiz) tpm2_commit_space() argument [all...] |
/kernel/liteos_a/kernel/base/vm/ |
H A D | los_vm_dump.c | 87 INT32 OsRegionOverlapCheckUnlock(LosVmSpace *space, LosVmMapRegion *region) in OsRegionOverlapCheckUnlock() argument 94 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsRegionOverlapCheckUnlock() 102 "flags:%#x base:%p size:%08x space:%p\n" in OsRegionOverlapCheckUnlock() 103 "flags:%#x base:%p size:%08x space:%p", in OsRegionOverlapCheckUnlock() 104 region->regionFlags, region->range.base, region->range.size, region->space, in OsRegionOverlapCheckUnlock() 105 regionTemp->regionFlags, regionTemp->range.base, regionTemp->range.size, regionTemp->space); in OsRegionOverlapCheckUnlock() 108 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsRegionOverlapCheckUnlock() 113 UINT32 OsShellCmdProcessVmUsage(LosVmSpace *space) in OsShellCmdProcessVmUsage() argument 120 if (space == NULL) { in OsShellCmdProcessVmUsage() 124 if (space in OsShellCmdProcessVmUsage() 148 LosVmSpace *space = NULL; OsKProcessPmUsage() local 184 OsShellCmdProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm) OsShellCmdProcessPmUsage() argument 200 OsUProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm) OsUProcessPmUsage() argument 256 OsGetPIDByAspace(const LosVmSpace *space) OsGetPIDByAspace() argument 278 OsCountRegionPages(LosVmSpace *space, LosVmMapRegion *region, UINT32 *pssPages) OsCountRegionPages() argument 312 OsCountAspacePages(LosVmSpace *space) OsCountAspacePages() argument 380 OsDumpRegion2(LosVmSpace *space, LosVmMapRegion *region) OsDumpRegion2() argument 396 OsDumpAspace(LosVmSpace *space) OsDumpAspace() argument 429 LosVmSpace *space = NULL; OsDumpAllAspace() local 439 OsRegionOverlapCheck(LosVmSpace *space, LosVmMapRegion *region) OsRegionOverlapCheck() argument 456 LosVmSpace *space = LOS_SpaceGet(vaddr); OsDumpPte() local [all...] |
H A D | los_vm_syscall.c | 133 /* user mode calls mmap to release heap physical memory without releasing heap virtual space */ in LOS_MMap() 190 VOID *OsShrinkHeap(VOID *addr, LosVmSpace *space) in OsShrinkHeap() argument 195 oldBrk = LOS_Align(space->heapNow, PAGE_SIZE); in OsShrinkHeap() 197 return (void *)(UINTPTR)space->heapNow; in OsShrinkHeap() 199 space->heapNow = (VADDR_T)(UINTPTR)addr; in OsShrinkHeap() 205 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoBrk() local 213 return (void *)(UINTPTR)space->heapNow; in LOS_DoBrk() 216 if ((UINTPTR)addr < (UINTPTR)space->heapBase) { in LOS_DoBrk() 220 size = (UINTPTR)addr - (UINTPTR)space->heapBase; in LOS_DoBrk() 222 alignAddr = (CHAR *)(UINTPTR)(space in LOS_DoBrk() 285 LosVmSpace *space = OsCurrProcessGet()->vmSpace; LOS_DoMprotect() local 360 LosVmSpace *space = OsCurrProcessGet()->vmSpace; OsMremapCheck() local 415 LosVmSpace *space = OsCurrProcessGet()->vmSpace; LOS_DoMremap() local 506 LosVmSpace *space = NULL; LOS_DumpMemRegion() local [all...] |
H A D | los_vm_map.c | 140 VM_ERR("Create mutex for vm space failed, status: %d", retval); in OsVmSpaceInitCommon() 212 LosVmSpace *space = LOS_MemAlloc(m_aucSysMem0, sizeof(LosVmSpace)); in OsCreateUserVmSpace() local 213 if (space == NULL) { in OsCreateUserVmSpace() 219 (VOID)LOS_MemFree(m_aucSysMem0, space); in OsCreateUserVmSpace() 224 retVal = OsUserVmSpaceInit(space, ttb); in OsCreateUserVmSpace() 227 (VOID)LOS_MemFree(m_aucSysMem0, space); in OsCreateUserVmSpace() 231 LOS_ListAdd(&space->archMmu.ptList, &(vmPage->node)); in OsCreateUserVmSpace() 233 return space; in OsCreateUserVmSpace() 451 OsDumpAspace(region->space); in OsInsertRegion() 480 LosVmSpace *space in LOS_PaddrQuery() local 594 OsFilePagesRemove(LosVmSpace *space, LosVmMapRegion *region) OsFilePagesRemove() argument 613 LOS_RegionFree(LosVmSpace *space, LosVmMapRegion *region) global() argument 651 OsVmRegionDup(LosVmSpace *space, LosVmMapRegion *oldRegion, VADDR_T vaddr, size_t size) global() argument 695 LosVmSpace *space = oldRegion->space; global() local 714 OsVmRegionAdjust(LosVmSpace *space, VADDR_T newRegionStart, size_t size) global() argument 741 OsRegionsRemove(LosVmSpace *space, VADDR_T regionBase, size_t size) global() argument 813 OsIsRegionCanExpand(LosVmSpace *space, LosVmMapRegion *region, size_t size) global() argument 830 OsUnMMap(LosVmSpace *space, VADDR_T addr, size_t size) global() argument 847 OsVmSpaceAllRegionFree(LosVmSpace *space) global() argument 868 OsVmSpaceRegionFree(LosVmSpace *space) global() argument 886 LOS_VmSpaceFree(LosVmSpace *space) global() argument 924 LOS_IsRangeInSpace(const LosVmSpace *space, VADDR_T vaddr, size_t size) global() argument 944 LOS_VmSpaceReserve(LosVmSpace *space, size_t size, VADDR_T vaddr) global() argument 965 LOS_VaddrToPaddrMmap(LosVmSpace *space, VADDR_T vaddr, PADDR_T paddr, size_t len, UINT32 flags) global() argument 1019 LosVmSpace *space = &g_vMallocSpace; global() local 1072 LosVmSpace *space = &g_vMallocSpace; global() local [all...] |
H A D | los_vm_fault.c | 106 LosVmSpace *space = region->space; in OsDoReadFault() local 108 ret = LOS_ArchMmuQuery(&space->archMmu, vaddr, NULL, NULL); in OsDoReadFault() 126 ret = LOS_ArchMmuMap(&space->archMmu, vaddr, paddr, 1, in OsDoReadFault() 180 LosVmSpace *space = NULL; in OsDoCowFault() local 188 space = region->space; in OsDoCowFault() 189 ret = LOS_ArchMmuQuery(&space->archMmu, (VADDR_T)vmPgFault->vaddr, &oldPaddr, NULL); in OsDoCowFault() 191 oldPage = OsCowUnmapOrg(&space->archMmu, region, vmPgFault); in OsDoCowFault() 230 ret = LOS_ArchMmuMap(&space in OsDoCowFault() 262 LosVmSpace *space = region->space; OsDoSharedFault() local 341 LosVmSpace *space = LOS_SpaceGet(vaddr); OsVmPageFaultHandler() local [all...] |
/kernel/liteos_a/fs/proc/os_adapt/ |
H A D | vmm_proc.c | 46 LosVmSpace *space = NULL; in OsVmDumpSeqSpaces() local 58 LOS_DL_LIST_FOR_EACH_ENTRY(space, aspaceList, LosVmSpace, node) { in OsVmDumpSeqSpaces() 59 (VOID)LOS_MuxAcquire(&space->regionMux); in OsVmDumpSeqSpaces() 60 spacePages = OsCountAspacePages(space); in OsVmDumpSeqSpaces() 61 pcb = OsGetPIDByAspace(space); in OsVmDumpSeqSpaces() 63 (VOID)LOS_MuxRelease(&space->regionMux); in OsVmDumpSeqSpaces() 69 pcb->processID, space, pcb->processName, space->base, space->size, spacePages); in OsVmDumpSeqSpaces() 75 RB_SCAN_SAFE(&space in OsVmDumpSeqSpaces() [all...] |
/kernel/liteos_a/kernel/base/include/ |
H A D | los_vm_dump.h | 60 INT32 OsRegionOverlapCheckUnlock(LosVmSpace *space, LosVmMapRegion *region); 61 UINT32 OsShellCmdProcessVmUsage(LosVmSpace *space); 62 UINT32 OsShellCmdProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm); 63 UINT32 OsUProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm); 65 VOID OsDumpAspace(LosVmSpace *space); 66 UINT32 OsCountRegionPages(LosVmSpace *space, LosVmMapRegion *region, UINT32 *pssPages); 67 UINT32 OsCountAspacePages(LosVmSpace *space); 71 INT32 OsRegionOverlapCheck(LosVmSpace *space, LosVmMapRegion *region); 73 LosProcessCB *OsGetPIDByAspace(const LosVmSpace *space);
|
H A D | los_vm_map.h | 87 LosVmSpace *space; member 93 UINT8 forkFlags; /**< vm space fork flags: COPY, ZERO, */ 112 LOS_DL_LIST node; /**< vm space dl list */ 115 VADDR_T base; /**< vm space base addr */ 116 UINT32 size; /**< vm space size */ 117 VADDR_T heapBase; /**< vm space heap base address */ 118 VADDR_T heapNow; /**< vm space heap base now */ 120 VADDR_T mapBase; /**< vm space mapping area base */ 121 UINT32 mapSize; /**< vm space mapping area size */ 271 BOOL LOS_IsRangeInSpace(const LosVmSpace *space, VADDR_ [all...] |
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
H A D | ipmi_dmi.c | 25 unsigned int space; /* addr space for si, intf# for ssif */ member 36 unsigned int space, in dmi_add_platform_ipmi() 71 p.space = space; in dmi_add_platform_ipmi() 82 info->space = space; in dmi_add_platform_ipmi() 100 int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space, in ipmi_dmi_get_slave_addr() argument 107 info->space == space in ipmi_dmi_get_slave_addr() 35 dmi_add_platform_ipmi(unsigned long base_addr, unsigned int space, u8 slave_addr, int irq, int offset, int type) dmi_add_platform_ipmi() argument 129 int space = IPMI_IO_ADDR_SPACE; dmi_decode_ipmi() local [all...] |
/kernel/linux/linux-6.6/drivers/char/ipmi/ |
H A D | ipmi_dmi.c | 25 unsigned int space; /* addr space for si, intf# for ssif */ member 36 unsigned int space, in dmi_add_platform_ipmi() 71 p.space = space; in dmi_add_platform_ipmi() 82 info->space = space; in dmi_add_platform_ipmi() 100 int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space, in ipmi_dmi_get_slave_addr() argument 107 info->space == space in ipmi_dmi_get_slave_addr() 35 dmi_add_platform_ipmi(unsigned long base_addr, unsigned int space, u8 slave_addr, int irq, int offset, int type) dmi_add_platform_ipmi() argument 129 int space = IPMI_IO_ADDR_SPACE; dmi_decode_ipmi() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
H A D | cgs_common.h | 108 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 117 typedef void (*cgs_write_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ 134 cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field)) 169 #define cgs_read_ind_register(dev,space,index) \ 170 CGS_CALL(read_ind_register,dev,space,index) 171 #define cgs_write_ind_register(dev,space,index,value) \ 172 CGS_CALL(write_ind_register,dev,space,index,value)
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/ |
H A D | cgs_common.h | 108 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 117 typedef void (*cgs_write_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ 134 cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field)) 169 #define cgs_read_ind_register(dev,space,index) \ 170 CGS_CALL(read_ind_register,dev,space,index) 171 #define cgs_write_ind_register(dev,space,index,value) \ 172 CGS_CALL(write_ind_register,dev,space,index,value)
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_buffer.c | 80 * tty_buffer_space_avail - return unused buffer space 93 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail() local 94 return max(space, 0); in tty_buffer_space_avail() 251 * Make at least size bytes of linear space available for the tty 319 int space = __tty_buffer_request_room(port, goal, flags); in tty_insert_flip_string_fixed_flag() local 321 if (unlikely(space == 0)) in tty_insert_flip_string_fixed_flag() 323 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag() 325 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag() 326 tb->used += space; in tty_insert_flip_string_fixed_flag() 327 copied += space; in tty_insert_flip_string_fixed_flag() 354 int space = tty_buffer_request_room(port, goal); tty_insert_flip_string_flags() local 413 int space = __tty_buffer_request_room(port, size, TTYB_NORMAL); tty_prepare_flip_string() local [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | acpi-ext.c | 16 * Device CSRs that do not appear in PCI config space should be described 20 * describe the location and size of CSR space. 62 struct csr_space *space = data; in find_csr_space() local 71 space->base = addr.address.minimum; in find_csr_space() 72 space->length = addr.address.address_length; in find_csr_space() 80 struct csr_space space = { 0, 0 }; in hp_crs_locate() local 82 acpi_walk_resources(obj, METHOD_NAME__CRS, find_csr_space, &space); in hp_crs_locate() 83 if (!space.length) in hp_crs_locate() 86 *base = space.base; in hp_crs_locate() 87 *length = space in hp_crs_locate() [all...] |
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | acpi-ext.c | 16 * Device CSRs that do not appear in PCI config space should be described 20 * describe the location and size of CSR space. 62 struct csr_space *space = data; in find_csr_space() local 71 space->base = addr.address.minimum; in find_csr_space() 72 space->length = addr.address.address_length; in find_csr_space() 80 struct csr_space space = { 0, 0 }; in hp_crs_locate() local 82 acpi_walk_resources(obj, METHOD_NAME__CRS, find_csr_space, &space); in hp_crs_locate() 83 if (!space.length) in hp_crs_locate() 86 *base = space.base; in hp_crs_locate() 87 *length = space in hp_crs_locate() [all...] |
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
H A D | bts.c | 371 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local 382 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset() 383 pad = space; in bts_buffer_reset() 384 if (space > handle->size) { in bts_buffer_reset() 385 space = handle->size; in bts_buffer_reset() 386 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset() 388 if (space <= BTS_SAFETY_MARGIN) { in bts_buffer_reset() 389 /* See if next phys buffer has more space */ in bts_buffer_reset() 403 if (next_space > space || !spac in bts_buffer_reset() [all...] |
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | bts.c | 377 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local 388 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset() 389 pad = space; in bts_buffer_reset() 390 if (space > handle->size) { in bts_buffer_reset() 391 space = handle->size; in bts_buffer_reset() 392 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset() 394 if (space <= BTS_SAFETY_MARGIN) { in bts_buffer_reset() 395 /* See if next phys buffer has more space */ in bts_buffer_reset() 409 if (next_space > space || !spac in bts_buffer_reset() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_vgpu.c | 39 * A primary function introduced here is so-called "address space ballooning" 47 * To reduce the complexity, Intel GVT-g introduces "address space ballooning", 143 struct drm_mm_node space[4]; member 156 "deballoon space: range [0x%llx - 0x%llx] %llu KiB.\n", in vgt_deballoon_space() 183 vgt_deballoon_space(ggtt, &bl_info.space[i]); in intel_vgt_deballoon() 198 "balloon space: range [ 0x%lx - 0x%lx ] %lu KiB.\n", in vgt_balloon_space() 214 * graphic address space allocated to other vGPUs, by marking these spaces as 223 * of its graphic space being zero. Yet there are some portions ballooned out( 225 * host point of view, the graphic address space is partitioned by multiple 295 ret = vgt_balloon_space(ggtt, &bl_info.space[ in intel_vgt_balloon() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_vgpu.c | 39 * A primary function introduced here is so-called "address space ballooning" 47 * To reduce the complexity, Intel GVT-g introduces "address space ballooning", 143 struct drm_mm_node space[4]; member 156 "deballoon space: range [0x%llx - 0x%llx] %llu KiB.\n", in vgt_deballoon_space() 183 vgt_deballoon_space(ggtt, &bl_info.space[i]); in intel_vgt_deballoon() 198 "balloon space: range [ 0x%lx - 0x%lx ] %lu KiB.\n", in vgt_balloon_space() 214 * graphic address space allocated to other vGPUs, by marking these spaces as 223 * of its graphic space being zero. Yet there are some portions ballooned out( 225 * host point of view, the graphic address space is partitioned by multiple 295 ret = vgt_balloon_space(ggtt, &bl_info.space[ in intel_vgt_balloon() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_buffer.c | 84 * tty_buffer_space_avail - return unused buffer space 96 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail() local 98 return max(space, 0); in tty_buffer_space_avail() 253 * Make at least @size bytes of linear space available for the tty buffer. 309 size_t space = __tty_buffer_request_room(port, goal, need_flags); in __tty_insert_flip_string_flags() local 312 if (unlikely(space == 0)) in __tty_insert_flip_string_flags() 315 memcpy(char_buf_ptr(tb, tb->used), chars, space); in __tty_insert_flip_string_flags() 318 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in __tty_insert_flip_string_flags() 319 flags += space; in __tty_insert_flip_string_flags() 321 memset(flag_buf_ptr(tb, tb->used), flags[0], space); in __tty_insert_flip_string_flags() 356 size_t space = __tty_buffer_request_room(port, size, false); tty_prepare_flip_string() local [all...] |
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | tlb-funcs.S | 22 .space 64 28 .space FASTPATH_SIZE * 4 33 .space FASTPATH_SIZE * 4 38 .space FASTPATH_SIZE * 4
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | tlb-funcs.S | 22 .space 64 28 .space FASTPATH_SIZE * 4 33 .space FASTPATH_SIZE * 4 38 .space FASTPATH_SIZE * 4
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring.c | 16 unsigned int space; in intel_ring_update_space() local 18 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space() 20 ring->space = space; in intel_ring_update_space() 21 return space; in intel_ring_update_space() 199 /* Would completion of this request free enough space? */ in wait_for_space() 217 GEM_BUG_ON(ring->space < bytes); in wait_for_space() 241 * Not enough space for the basic request. So need to in intel_ring_begin() 249 * The base request will fit but the reserved space in intel_ring_begin() 258 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring.c | 21 unsigned int space; in intel_ring_update_space() local 23 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space() 25 ring->space = space; in intel_ring_update_space() 26 return space; in intel_ring_update_space() 208 /* Would completion of this request free enough space? */ in wait_for_space() 226 GEM_BUG_ON(ring->space < bytes); in wait_for_space() 250 * Not enough space for the basic request. So need to in intel_ring_begin() 258 * The base request will fit but the reserved space in intel_ring_begin() 267 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() [all...] |