Home
last modified time | relevance | path

Searched refs:space (Results 76 - 100 of 1226) sorted by relevance

12345678910>>...50

/kernel/linux/linux-6.6/drivers/edac/
H A Di5400_edac.c962 int space, n; in calculate_dimm_size() local
966 space = PAGE_SIZE; in calculate_dimm_size()
967 mem_buffer = p = kmalloc(space, GFP_KERNEL); in calculate_dimm_size()
985 n = snprintf(p, space, "---------------------------" in calculate_dimm_size()
988 space -= n; in calculate_dimm_size()
991 space = PAGE_SIZE; in calculate_dimm_size()
993 n = snprintf(p, space, "dimm %2d ", dimm); in calculate_dimm_size()
995 space -= n; in calculate_dimm_size()
1000 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in calculate_dimm_size()
1002 space in calculate_dimm_size()
[all...]
/kernel/liteos_a/kernel/base/vm/
H A Dshm.c345 STATIC VOID ShmVmmMapping(LosVmSpace *space, LOS_DL_LIST *pageList, VADDR_T vaddr, UINT32 regionFlags) in ShmVmmMapping() argument
355 ret = LOS_ArchMmuMap(&space->archMmu, va, pa, 1, regionFlags); in ShmVmmMapping()
363 VOID OsShmFork(LosVmSpace *space, LosVmMapRegion *oldRegion, LosVmMapRegion *newRegion) in OsShmFork() argument
377 ShmVmmMapping(space, &seg->node, newRegion->range.base, newRegion->regionFlags); in OsShmFork()
382 VOID OsShmRegionFree(LosVmSpace *space, LosVmMapRegion *region) in OsShmRegionFree() argument
393 LOS_ArchMmuUnmap(&space->archMmu, region->range.base, region->range.size >> PAGE_SHIFT); in OsShmRegionFree()
400 seg->ds.shm_lpid = LOS_GetCurrProcessID(); /* may not be the space's PID. */ in OsShmRegionFree()
533 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in ShmatVmmAlloc() local
545 (VOID)LOS_MuxAcquire(&space->regionMux); in ShmatVmmAlloc()
547 region = LOS_RegionAlloc(space, in ShmatVmmAlloc()
751 LosVmSpace *space = OsCurrProcessGet()->vmSpace; ShmDt() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Dpadlock-sha.c82 unsigned int space; in padlock_sha1_finup() local
94 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
95 if (space) { in padlock_sha1_finup()
96 if (count > space) { in padlock_sha1_finup()
97 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup()
101 count -= space; in padlock_sha1_finup()
102 in += space; in padlock_sha1_finup()
143 unsigned int space; in padlock_sha256_finup() local
155 space = SHA256_BLOCK_SIZE - leftover; in padlock_sha256_finup()
156 if (space) { in padlock_sha256_finup()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Dpadlock-sha.c83 unsigned int space; in padlock_sha1_finup() local
95 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
96 if (space) { in padlock_sha1_finup()
97 if (count > space) { in padlock_sha1_finup()
98 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup()
102 count -= space; in padlock_sha1_finup()
103 in += space; in padlock_sha1_finup()
144 unsigned int space; in padlock_sha256_finup() local
156 space = SHA256_BLOCK_SIZE - leftover; in padlock_sha256_finup()
157 if (space) { in padlock_sha256_finup()
[all...]
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpmrm-dev.c10 struct tpm_space space; member
24 rc = tpm2_init_space(&priv->space, TPM2_SPACE_BUFFER_SIZE); in tpmrm_open()
30 tpm_common_open(file, chip, &priv->priv, &priv->space); in tpmrm_open()
41 tpm2_del_space(fpriv->chip, &priv->space); in tpmrm_release()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_transport.h28 * space of this size will be left at the end of the
57 scsi_transport_reserve_target(struct scsi_transport_template * t, int space) in scsi_transport_reserve_target() argument
61 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target()
64 scsi_transport_reserve_device(struct scsi_transport_template * t, int space) in scsi_transport_reserve_device() argument
68 t->device_size = t->device_private_offset + space; in scsi_transport_reserve_device()
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_transport.h28 * space of this size will be left at the end of the
57 scsi_transport_reserve_target(struct scsi_transport_template * t, int space) in scsi_transport_reserve_target() argument
61 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target()
64 scsi_transport_reserve_device(struct scsi_transport_template * t, int space) in scsi_transport_reserve_device() argument
68 t->device_size = t->device_private_offset + space; in scsi_transport_reserve_device()
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpmrm-dev.c10 struct tpm_space space; member
24 rc = tpm2_init_space(&priv->space, TPM2_SPACE_BUFFER_SIZE); in tpmrm_open()
30 tpm_common_open(file, chip, &priv->priv, &priv->space); in tpmrm_open()
41 tpm2_del_space(fpriv->chip, &priv->space); in tpmrm_release()
/third_party/skia/modules/skparagraph/src/
H A DRun.cpp414 void Run::addSpacesAtTheEnd(SkScalar space, Cluster* cluster) { in scaleFontWithCompressionConfig() argument
416 fAdvance.fX += space; in scaleFontWithCompressionConfig()
418 cluster->space(space); in scaleFontWithCompressionConfig()
421 SkScalar Run::addSpacesEvenly(SkScalar space) { in scaleFontWithCompressionConfig() argument
424 shift += space / PARAM_TWO; in scaleFontWithCompressionConfig()
428 fHalfLetterspacings[i] = space / PARAM_TWO; in scaleFontWithCompressionConfig()
429 shift += space; in scaleFontWithCompressionConfig()
432 shift -= space / PARAM_TWO; in scaleFontWithCompressionConfig()
440 SkScalar Run::addSpacesEvenly(SkScalar space, Cluste in scaleFontWithCompressionConfig() argument
462 addSpacesEvenly(SkScalar space, Cluster* cluster) scaleFontWithCompressionConfig() argument
498 extendClusterWidth(Cluster* cluster, SkScalar space) scaleFontWithCompressionConfig() argument
[all...]
/kernel/linux/linux-5.10/drivers/pnp/
H A Dinterface.c55 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() argument
59 "%i-bit address decoding\n", space, in pnp_print_port()
67 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() argument
72 pnp_printf(buffer, "%sirq ", space); in pnp_print_irq()
100 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() argument
106 pnp_printf(buffer, "%sdma ", space); in pnp_print_dma()
152 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() argument
158 space, (unsigned long long) mem->min, in pnp_print_mem()
188 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() argument
193 pnp_print_port(buffer, space, in pnp_print_option()
[all...]
/kernel/linux/linux-6.6/drivers/pnp/
H A Dinterface.c56 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() argument
60 "%i-bit address decoding\n", space, in pnp_print_port()
68 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() argument
73 pnp_printf(buffer, "%sirq ", space); in pnp_print_irq()
101 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() argument
107 pnp_printf(buffer, "%sdma ", space); in pnp_print_dma()
153 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() argument
159 space, (unsigned long long) mem->min, in pnp_print_mem()
189 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() argument
194 pnp_print_port(buffer, space, in pnp_print_option()
[all...]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dio.h33 * The legacy I/O space defined by the ia64 architecture supports only 65536 ports, but
45 #define IO_SPACE_BASE(space) ((space) << IO_SPACE_BITS)
51 unsigned long mmio_base; /* base in MMIO space */
63 * 0x000000001SPPPPPP PIO cookie (S=space number, P..P=port)
118 struct io_space *space; in __ia64_mk_io_addr() local
121 space = &io_space[IO_SPACE_NR(port)]; in __ia64_mk_io_addr()
123 if (space->sparse) in __ia64_mk_io_addr()
128 return (void *) (space->mmio_base | offset); in __ia64_mk_io_addr()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dio-workarounds.c112 #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) \
116 bus = iowa_##space##_find_bus(aa); \
122 #define DEF_PCI_AC_NORET(name, at, al, space, aa) \
126 bus = iowa_##space##_find_bus(aa); \
141 #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) .name = iowa_##name,
142 #define DEF_PCI_AC_NORET(name, at, al, space, aa) .name = iowa_##name,
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dio.h29 * The legacy I/O space defined by the ia64 architecture supports only 65536 ports, but
41 #define IO_SPACE_BASE(space) ((space) << IO_SPACE_BITS)
47 unsigned long mmio_base; /* base in MMIO space */
59 * 0x000000001SPPPPPP PIO cookie (S=space number, P..P=port)
106 struct io_space *space; in __ia64_mk_io_addr() local
109 space = &io_space[IO_SPACE_NR(port)]; in __ia64_mk_io_addr()
111 if (space->sparse) in __ia64_mk_io_addr()
116 return (void *) (space->mmio_base | offset); in __ia64_mk_io_addr()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dio-workarounds.c102 #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) \
106 bus = iowa_##space##_find_bus(aa); \
112 #define DEF_PCI_AC_NORET(name, at, al, space, aa) \
116 bus = iowa_##space##_find_bus(aa); \
131 #define DEF_PCI_AC_RET(name, ret, at, al, space, aa) .name = iowa_##name,
132 #define DEF_PCI_AC_NORET(name, at, al, space, aa) .name = iowa_##name,
/kernel/linux/linux-5.10/net/ceph/
H A Dpagelist.c102 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space) in ceph_pagelist_reserve() argument
104 if (space <= pl->room) in ceph_pagelist_reserve()
106 space -= pl->room; in ceph_pagelist_reserve()
107 space = (space + PAGE_SIZE - 1) >> PAGE_SHIFT; /* conv to num pages */ in ceph_pagelist_reserve()
109 while (space > pl->num_pages_free) { in ceph_pagelist_reserve()
/kernel/linux/linux-6.6/fs/btrfs/
H A DMakefile30 export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \
33 uuid-tree.o props.o free-space-tree.o tree-checker.o space-info.o \
34 block-rsv.o delalloc-space.o block-group.o discard.o reflink.o \
44 btrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \
47 tests/free-space-tree-tests.o tests/extent-map-tests.o
/kernel/linux/linux-6.6/net/ceph/
H A Dpagelist.c102 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space) in ceph_pagelist_reserve() argument
104 if (space <= pl->room) in ceph_pagelist_reserve()
106 space -= pl->room; in ceph_pagelist_reserve()
107 space = (space + PAGE_SIZE - 1) >> PAGE_SHIFT; /* conv to num pages */ in ceph_pagelist_reserve()
109 while (space > pl->num_pages_free) { in ceph_pagelist_reserve()
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_queue.c43 * The queue is flushed automatically on insufficient space or once the
48 * nine_queue_alloc returns NULL on insufficent space.
173 /* Gets a a pointer to slice of memory with size @space.
175 * Returns NULL on @space > NINE_QUEUE_SIZE. */
177 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space) in nine_queue_alloc() argument
182 if (space > NINE_QUEUE_SIZE) in nine_queue_alloc()
187 if ((cmdbuf->offset + space > NINE_QUEUE_SIZE) || in nine_queue_alloc()
195 DBG("cmdbuf=%p space=%d\n", cmdbuf, space); in nine_queue_alloc()
197 /* at this pointer there's always a free queue with sufficient space availabl in nine_queue_alloc()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_font_test.cpp454 * @tc.desc: test for space character of glyph ID.
463 const char* space = " "; in HWTEST_F() local
464 uint32_t count = OH_Drawing_FontCountText(font, space, strlen(space), OH_Drawing_TextEncoding::TEXT_ENCODING_UTF8); in HWTEST_F()
465 EXPECT_EQ(strlen(space), count); in HWTEST_F()
467 OH_Drawing_FontTextToGlyphs(font, space, strlen(space), OH_Drawing_TextEncoding::TEXT_ENCODING_UTF8, in HWTEST_F()
566 * @tc.desc: test for space character of glyph ID.
575 const char* space = " "; in HWTEST_F() local
576 uint32_t count = OH_Drawing_FontCountText(font, space, strle in HWTEST_F()
609 const char* space = " "; HWTEST_F() local
697 const char* space = " "; HWTEST_F() local
[all...]
/third_party/gptfdisk/
H A Dgptcurses.cc90 // unpartitioned space on the disk.
210 // Identify the spaces on the disk, a "space" being defined as a partition
225 // Returns a pointer to the space being displayed
227 Space *space; in ShowSpace() local
233 space = firstSpace; in ShowSpace()
234 while ((space != NULL) && (i < spaceNum)) { in ShowSpace()
235 space = space->nextSpace; in ShowSpace()
238 if ((space != NULL) && (lineNum < (LINES - 5))) { in ShowSpace()
240 if (space in ShowSpace()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_rpc.c59 u32 space = 0; in vpu_rpc_send_cmd_buf() local
67 space = vpu_rpc_check_buffer_space(desc, true); in vpu_rpc_send_cmd_buf()
68 if (space < (((cmd->hdr.num + 1) << 2) + 16)) in vpu_rpc_send_cmd_buf()
103 u32 space = 0; in vpu_rpc_check_msg() local
108 space = vpu_rpc_check_buffer_space(desc, 0); in vpu_rpc_check_msg()
109 space = (space >> 2); in vpu_rpc_check_msg()
111 if (space) { in vpu_rpc_check_msg()
114 if (msgnum <= space) in vpu_rpc_check_msg()
/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_component.cpp69 RefPtr<BoxComponent> space = AceType::MakeRefPtr<BoxComponent>(); in Initialize() local
70 space->SetDeliverMinToChild(false); in Initialize()
71 space->SetAlignment(Alignment::CENTER); in Initialize()
72 // the space between text and triangle is 8dp from doc. in Initialize()
78 space->SetPadding(spaceEdge); in Initialize()
79 space->SetChild(icon); in Initialize()
124 row->AppendChild(space); in Initialize()
128 row->AppendChild(space); in Initialize()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dtipc_config.h227 * of the request failure. To simplify error processing (and to save space)
260 static inline int TLV_OK(const void *tlv, __u16 space) in TLV_OK() argument
271 return (space >= TLV_SPACE(0)) && in TLV_OK()
272 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()
275 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) in TLV_CHECK() argument
277 return TLV_OK(tlv, space) && in TLV_CHECK()
328 void *data, __u32 space) in TLV_LIST_INIT()
331 list->tlv_space = space; in TLV_LIST_INIT()
327 TLV_LIST_INIT(struct tlv_list_desc *list, void *data, __u32 space) TLV_LIST_INIT() argument
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dtipc_config.h223 * of the request failure. To simplify error processing (and to save space)
256 static inline int TLV_OK(const void *tlv, __u16 space) in TLV_OK() argument
267 return (space >= TLV_SPACE(0)) && in TLV_OK()
268 (__be16_to_cpu(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK()
271 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) in TLV_CHECK() argument
273 return TLV_OK(tlv, space) && in TLV_CHECK()
324 void *data, __u32 space) in TLV_LIST_INIT()
327 list->tlv_space = space; in TLV_LIST_INIT()
323 TLV_LIST_INIT(struct tlv_list_desc *list, void *data, __u32 space) TLV_LIST_INIT() argument

Completed in 17 milliseconds

12345678910>>...50