Home
last modified time | relevance | path

Searched refs:size (Results 1551 - 1575 of 40656) sorted by relevance

1...<<61626364656667686970>>...1627

/kernel/linux/linux-5.10/arch/x86/um/
H A Dldt.c59 unsigned long size; in read_ldt() local
70 size = LDT_ENTRY_SIZE*LDT_DIRECT_ENTRIES; in read_ldt()
71 if (size > bytecount) in read_ldt()
72 size = bytecount; in read_ldt()
73 if (copy_to_user(ptr, ldt->u.entries, size)) in read_ldt()
75 bytecount -= size; in read_ldt()
76 ptr += size; in read_ldt()
81 size = PAGE_SIZE; in read_ldt()
82 if (size > bytecount) in read_ldt()
83 size in read_ldt()
238 int i, size, k, order; ldt_get_host_info() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/
H A Dmtdblock.c87 "at 0x%lx, size 0x%x\n", mtd->name, in write_cached_data()
118 pr_debug("mtdblock: write on \"%s\" at 0x%lx, size 0x%x\n", in do_cached_write()
127 unsigned int size = sect_size - offset; in do_cached_write() local
128 if( size > len ) in do_cached_write()
129 size = len; in do_cached_write()
131 if (size == sect_size) { in do_cached_write()
137 ret = erase_write (mtd, pos, size, buf); in do_cached_write()
167 memcpy (mtdblk->cache_data + offset, buf, size); in do_cached_write()
171 buf += size; in do_cached_write()
172 pos += size; in do_cached_write()
201 unsigned int size = sect_size - offset; do_cached_read() local
[all...]
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dphysmem_info.c186 static void die_oom(unsigned long size, unsigned long align, unsigned long min, unsigned long max) in die_oom() argument
197 size, align, min, max); in die_oom()
217 void physmem_reserve(enum reserved_range_type type, unsigned long addr, unsigned long size) in physmem_reserve() argument
220 physmem_info.reserved[type].end = addr + size; in physmem_reserve()
229 static bool __physmem_alloc_intersects(unsigned long addr, unsigned long size, in __physmem_alloc_intersects() argument
238 if (intersects(addr, size, res_addr, res_size)) { in __physmem_alloc_intersects()
243 return ipl_report_certs_intersects(addr, size, intersection_start); in __physmem_alloc_intersects()
246 static unsigned long __physmem_alloc_range(unsigned long size, unsigned long align, in __physmem_alloc_range() argument
261 if (round_up(min, align) + size > pos) in __physmem_alloc_range()
263 addr = round_down(pos - size, alig in __physmem_alloc_range()
282 physmem_alloc_range(enum reserved_range_type type, unsigned long size, unsigned long align, unsigned long min, unsigned long max, bool die_on_oom) physmem_alloc_range() argument
295 physmem_alloc_top_down(enum reserved_range_type type, unsigned long size, unsigned long align) physmem_alloc_top_down() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
H A Dsolo6x10-p2m.c29 void *sys_addr, u32 ext_addr, u32 size, in solo_p2m_dma()
37 if (WARN_ON_ONCE(!size)) in solo_p2m_dma()
40 dma_addr = pci_map_single(solo_dev->pdev, sys_addr, size, in solo_p2m_dma()
45 ret = solo_p2m_dma_t(solo_dev, wr, dma_addr, ext_addr, size, in solo_p2m_dma()
48 pci_unmap_single(solo_dev->pdev, dma_addr, size, in solo_p2m_dma()
125 dma_addr_t dma_addr, u32 ext_addr, u32 size, in solo_p2m_fill_desc()
129 WARN_ON_ONCE(!size); in solo_p2m_fill_desc()
131 desc->cfg = SOLO_P2M_COPY_SIZE(size >> 2); in solo_p2m_fill_desc()
137 desc->ctrl |= SOLO_P2M_PCI_INC(size >> 2) | in solo_p2m_fill_desc()
146 dma_addr_t dma_addr, u32 ext_addr, u32 size, in solo_p2m_dma_t()
28 solo_p2m_dma(struct solo_dev *solo_dev, int wr, void *sys_addr, u32 ext_addr, u32 size, int repeat, u32 ext_size) solo_p2m_dma() argument
124 solo_p2m_fill_desc(struct solo_p2m_desc *desc, int wr, dma_addr_t dma_addr, u32 ext_addr, u32 size, int repeat, u32 ext_size) solo_p2m_fill_desc() argument
145 solo_p2m_dma_t(struct solo_dev *solo_dev, int wr, dma_addr_t dma_addr, u32 ext_addr, u32 size, int repeat, u32 ext_size) solo_p2m_dma_t() argument
204 solo_p2m_test(struct solo_dev *solo_dev, int base, int size) solo_p2m_test() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c38 * is guaranteed for power of 2 cache line size.
47 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc() argument
55 if (size > SYM_MEM_CLUSTER_SIZE) in ___sym_malloc()
58 while (size > s) { in ___sym_malloc()
85 printf("___sym_malloc(%d) = %p\n", size, (void *) a); in ___sym_malloc()
93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree() argument
102 printf("___sym_mfree(%p, %d)\n", ptr, size); in ___sym_mfree()
105 if (size > SYM_MEM_CLUSTER_SIZE) in ___sym_mfree()
108 while (size > s) { in ___sym_mfree()
145 static void *__sym_calloc2(m_pool_p mp, int size, cha argument
166 __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) __sym_mfree() argument
299 __sym_calloc_dma(m_pool_ident_t dev_dmat, int size, char *name) __sym_calloc_dma() argument
322 __sym_mfree_dma(m_pool_ident_t dev_dmat, void *m, int size, char *name) __sym_mfree_dma() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c56 size_t size, dma_addr_t *dma_handle, in mlx5_dma_zalloc_coherent_node()
67 cpu_handle = dma_alloc_coherent(device, size, dma_handle, in mlx5_dma_zalloc_coherent_node()
74 static int mlx5_buf_alloc_node(struct mlx5_core_dev *dev, int size, in mlx5_buf_alloc_node() argument
79 buf->size = size; in mlx5_buf_alloc_node()
81 buf->page_shift = (u8)get_order(size) + PAGE_SHIFT; in mlx5_buf_alloc_node()
87 buf->frags->buf = mlx5_dma_zalloc_coherent_node(dev, size, in mlx5_buf_alloc_node()
106 int size, struct mlx5_frag_buf *buf) in mlx5_buf_alloc()
108 return mlx5_buf_alloc_node(dev, size, buf, dev->priv.numa_node); in mlx5_buf_alloc()
114 dma_free_coherent(mlx5_core_dma_dev(dev), buf->size, bu in mlx5_buf_free()
55 mlx5_dma_zalloc_coherent_node(struct mlx5_core_dev *dev, size_t size, dma_addr_t *dma_handle, int node) mlx5_dma_zalloc_coherent_node() argument
105 mlx5_buf_alloc(struct mlx5_core_dev *dev, int size, struct mlx5_frag_buf *buf) mlx5_buf_alloc() argument
121 mlx5_frag_buf_alloc_node(struct mlx5_core_dev *dev, int size, struct mlx5_frag_buf *buf, int node) mlx5_frag_buf_alloc_node() argument
166 int size = buf->size; mlx5_frag_buf_free() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtdblock.c87 "at 0x%lx, size 0x%x\n", mtd->name, in write_cached_data()
118 pr_debug("mtdblock: write on \"%s\" at 0x%lx, size 0x%x\n", in do_cached_write()
127 unsigned int size = sect_size - offset; in do_cached_write() local
128 if( size > len ) in do_cached_write()
129 size = len; in do_cached_write()
131 if (size == sect_size) { in do_cached_write()
137 ret = erase_write (mtd, pos, size, buf); in do_cached_write()
167 memcpy (mtdblk->cache_data + offset, buf, size); in do_cached_write()
171 buf += size; in do_cached_write()
172 pos += size; in do_cached_write()
201 unsigned int size = sect_size - offset; do_cached_read() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c38 * is guaranteed for power of 2 cache line size.
47 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc() argument
55 if (size > SYM_MEM_CLUSTER_SIZE) in ___sym_malloc()
58 while (size > s) { in ___sym_malloc()
85 printf("___sym_malloc(%d) = %p\n", size, (void *) a); in ___sym_malloc()
93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree() argument
102 printf("___sym_mfree(%p, %d)\n", ptr, size); in ___sym_mfree()
105 if (size > SYM_MEM_CLUSTER_SIZE) in ___sym_mfree()
108 while (size > s) { in ___sym_mfree()
145 static void *__sym_calloc2(m_pool_p mp, int size, cha argument
166 __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) __sym_mfree() argument
299 __sym_calloc_dma(m_pool_ident_t dev_dmat, int size, char *name) __sym_calloc_dma() argument
322 __sym_mfree_dma(m_pool_ident_t dev_dmat, void *m, int size, char *name) __sym_mfree_dma() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dio.h46 #define build_mmio_read(name, size, type, reg, barrier) \
48 { type ret; asm volatile("mov" size " %1,%0":reg (ret) \
51 #define build_mmio_write(name, size, type, reg, barrier) \
53 { asm volatile("mov" size " %0,%1": :reg (val), \
112 extern int valid_phys_addr_range(phys_addr_t addr, size_t size);
113 extern int valid_mmap_phys_addr_range(unsigned long pfn, size_t size);
173 extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size);
175 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size);
177 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_val);
179 extern void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size);
355 phys_mem_access_encrypted(unsigned long phys_addr, unsigned long size) phys_mem_access_encrypted() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-p2m.c29 void *sys_addr, u32 ext_addr, u32 size, in solo_p2m_dma()
37 if (WARN_ON_ONCE(!size)) in solo_p2m_dma()
40 dma_addr = dma_map_single(&solo_dev->pdev->dev, sys_addr, size, in solo_p2m_dma()
45 ret = solo_p2m_dma_t(solo_dev, wr, dma_addr, ext_addr, size, in solo_p2m_dma()
48 dma_unmap_single(&solo_dev->pdev->dev, dma_addr, size, in solo_p2m_dma()
125 dma_addr_t dma_addr, u32 ext_addr, u32 size, in solo_p2m_fill_desc()
129 WARN_ON_ONCE(!size); in solo_p2m_fill_desc()
131 desc->cfg = SOLO_P2M_COPY_SIZE(size >> 2); in solo_p2m_fill_desc()
137 desc->ctrl |= SOLO_P2M_PCI_INC(size >> 2) | in solo_p2m_fill_desc()
146 dma_addr_t dma_addr, u32 ext_addr, u32 size, in solo_p2m_dma_t()
28 solo_p2m_dma(struct solo_dev *solo_dev, int wr, void *sys_addr, u32 ext_addr, u32 size, int repeat, u32 ext_size) solo_p2m_dma() argument
124 solo_p2m_fill_desc(struct solo_p2m_desc *desc, int wr, dma_addr_t dma_addr, u32 ext_addr, u32 size, int repeat, u32 ext_size) solo_p2m_fill_desc() argument
145 solo_p2m_dma_t(struct solo_dev *solo_dev, int wr, dma_addr_t dma_addr, u32 ext_addr, u32 size, int repeat, u32 ext_size) solo_p2m_dma_t() argument
204 solo_p2m_test(struct solo_dev *solo_dev, int base, int size) solo_p2m_test() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/um/
H A Dldt.c59 unsigned long size; in read_ldt() local
70 size = LDT_ENTRY_SIZE*LDT_DIRECT_ENTRIES; in read_ldt()
71 if (size > bytecount) in read_ldt()
72 size = bytecount; in read_ldt()
73 if (copy_to_user(ptr, ldt->u.entries, size)) in read_ldt()
75 bytecount -= size; in read_ldt()
76 ptr += size; in read_ldt()
81 size = PAGE_SIZE; in read_ldt()
82 if (size > bytecount) in read_ldt()
83 size in read_ldt()
238 int i, size, k, order; ldt_get_host_info() local
[all...]
/kernel/liteos_a/syscall/
H A Dsyscall_pub.h70 #define DUP_FROM_USER_(ptr, size, copy, ...) \
72 if (ptr != NULL && (size) != 0) { \
73 ptr = DupUserMem(ptr, size, copy); \
82 DUP_FROM_USER(ptr, size, ...) can not deal with "char *";
85 #define DUP_FROM_USER(ptr, size, ...) \
86 DUP_FROM_USER_(ptr, size, 1, ##__VA_ARGS__)
88 #define DUP_FROM_USER_NOCOPY(ptr, size, ...) \
89 DUP_FROM_USER_(ptr, size, 0, ##__VA_ARGS__)
91 #define DUP_TO_USER(ptr, size, ...) \
93 if (ptr != NULL && (size) !
[all...]
/third_party/backends/sanei/
H A Dsanei_config.c251 int size=0; in sanei_configure_attach() local
316 size=config->descriptors[i]->size; in sanei_configure_attach()
317 value = malloc (size); in sanei_configure_attach()
319 count = config->descriptors[i]->size / sizeof (SANE_Word); in sanei_configure_attach()
334 size=config->descriptors[i]->size; in sanei_configure_attach()
335 value = malloc (size); in sanei_configure_attach()
337 count = config->descriptors[i]->size / sizeof (SANE_Bool); in sanei_configure_attach()
368 size in sanei_configure_attach()
[all...]
/third_party/gn/src/gn/
H A Dstring_utils.cc25 size_t size, in ErrInsideStringToken()
34 static_cast<int>(size)); in ErrInsideStringToken()
122 token, identifier.data() - token.value().data() - 1, identifier.size(), in AppendInterpolatedIdentifier()
143 size_t size, in AppendStringInterpolation()
159 while (*i < size && input[*i] != '}') { in AppendStringInterpolation()
163 if (*i == size) { in AppendStringInterpolation()
192 while (*i < size && Tokenizer::IsIdentifierContinuingChar(input[*i])) in AppendStringInterpolation()
211 size_t size, in AppendHexByte()
217 if (*i + 3 >= size || input[*i + 1] != 'x' || !std::isxdigit(input[*i + 2]) || in AppendHexByte()
242 DCHECK(literal.value().size() > in ExpandStringLiteral()
23 ErrInsideStringToken(const Token& token, size_t offset, size_t size, const std::string& msg, const std::string& help = std::string()) ErrInsideStringToken() argument
140 AppendStringInterpolation(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendStringInterpolation() argument
208 AppendHexByte(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendHexByte() argument
247 size_t size = literal.value().size() - 2; ExpandStringLiteral() local
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dassembler.cc99 explicit DefaultAssemblerBuffer(int size) in DefaultAssemblerBuffer() argument
101 std::max(AssemblerBase::kMinimalBufferSize, size))) { in DefaultAssemblerBuffer()
103 ZapCode(reinterpret_cast<Address>(buffer_.start()), buffer_.size()); in DefaultAssemblerBuffer()
109 int size() const override { return static_cast<int>(buffer_.size()); }
112 DCHECK_LT(size(), new_size);
122 ExternalAssemblerBufferImpl(byte* start, int size) in ExternalAssemblerBufferImpl() argument
123 : start_(start), size_(size) {} in ExternalAssemblerBufferImpl()
127 int size() const override { return size_; }
168 int size) { in ExternalAssemblerBuffer()
167 ExternalAssemblerBuffer(void* start, int size) ExternalAssemblerBuffer() argument
173 NewAssemblerBuffer(int size) NewAssemblerBuffer() argument
318 int size = pc_offset() - offset; WriteCodeComments() local
[all...]
/third_party/node/deps/v8/src/utils/
H A Dmemcopy.h34 V8_EXPORT_PRIVATE void MemMove(void* dest, const void* src, size_t size);
35 using MemMoveFunction = void (*)(void* dest, const void* src, size_t size);
39 V8_INLINE void MemCopy(void* dest, const void* src, size_t size) { in MemCopy() argument
40 MemMove(dest, src, size); in MemCopy()
44 size_t size);
52 V8_INLINE void MemCopy(void* dest, const void* src, size_t size) { in MemCopy() argument
54 reinterpret_cast<const uint8_t*>(src), size); in MemCopy() local
57 size_t size) { in MemMove()
58 memmove(dest, src, size); in MemMove()
65 size_t size);
56 MemMove(void* dest, const void* src, size_t size) MemMove() argument
73 MemCopy(void* dest, const void* src, size_t size) MemCopy() argument
75 reinterpret_cast<const uint8_t*>(src), size); MemCopy() local
77 MemMove(void* dest, const void* src, size_t size) MemMove() argument
83 MemCopy(void* dest, const void* src, size_t size) MemCopy() argument
114 MemMove(void* dest, const void* src, size_t size) MemMove() argument
[all...]
/third_party/libcoap/src/
H A Dcoap_mem.c37 * The maximum size of a string on platforms that allocate fixed-size
46 * fixed-size memory blocks.
54 * fixed-size memory blocks.
62 * fixed-size memory blocks.
70 * fixed-size memory blocks. Default is #COAP_MAX_RESOURCES * 4.
79 * and values on platforms that allocate fixed-size memory blocks.
88 * The maximum size of attribute names or values and values on
89 * platforms that allocate fixed-size memory blocks.
97 * fixed-size memor
409 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument
435 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument
465 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument
471 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument
492 coap_malloc_type(coap_memory_tag_t type, size_t size) coap_malloc_type() argument
497 coap_realloc_type(coap_memory_tag_t type, void *p, size_t size) coap_realloc_type() argument
[all...]
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dutils.c120 static void AddMem(void* ptr, size_t size) { in AddMem() argument
127 b->size_ = size; in AddMem()
128 total_mem += size; in AddMem()
129 total_mem_allocated += size; in AddMem()
135 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); in AddMem()
170 // Returns 0 in case of overflow of nmemb * size.
171 static int CheckSizeArgumentsOverflow(uint64_t nmemb, size_t size) { in CheckSizeArgumentsOverflow() argument
172 const uint64_t total_size = nmemb * size; in CheckSizeArgumentsOverflow()
174 if ((uint64_t)size > WEBP_MAX_ALLOCABLE_MEMORY / nmemb) return 0; in CheckSizeArgumentsOverflow()
194 void* WebPSafeMalloc(uint64_t nmemb, size_t size) { in WebPSafeMalloc() argument
204 WebPSafeCalloc(uint64_t nmemb, size_t size) WebPSafeCalloc() argument
224 WebPMalloc(size_t size) WebPMalloc() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
H A DGPUTestExpectationsParser_unittest.cpp208 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P()
209 if (parser.getErrorMessages().size() >= 1) in TEST_P()
225 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P()
226 if (parser.getErrorMessages().size() >= 1) in TEST_P()
240 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P()
241 if (parser.getErrorMessages().size() >= 1) in TEST_P()
270 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P()
271 if (parser.getErrorMessages().size() >= 1) in TEST_P()
285 EXPECT_EQ(parser.getErrorMessages().size(), 1u); in TEST_P()
286 if (parser.getErrorMessages().size() > in TEST_P()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos.h259 * @size: Number of bytes to allocate
264 void * os_zalloc(size_t size);
269 * @size: Number of bytes in each member
272 * This function can be used as a wrapper for os_zalloc(nmemb * size) when an
278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() argument
280 if (size && nmemb > (~(size_t) 0) / size) in os_calloc()
282 return os_zalloc(nmemb * size); in os_calloc()
306 * @size: Size of the buffer to allocate
311 void * os_malloc(size_t size);
560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument
566 os_realloc_array(void *ptr, size_t nmemb, size_t size) os_realloc_array() argument
580 os_remove_in_array(void *ptr, size_t nmemb, size_t size, size_t idx) os_remove_in_array() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos.h259 * @size: Number of bytes to allocate
264 void * os_zalloc(size_t size);
269 * @size: Number of bytes in each member
272 * This function can be used as a wrapper for os_zalloc(nmemb * size) when an
278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() argument
280 if (size && nmemb > (~(size_t) 0) / size) in os_calloc()
282 return os_zalloc(nmemb * size); in os_calloc()
306 * @size: Size of the buffer to allocate
311 void * os_malloc(size_t size);
560 os_snprintf_error(size_t size, int res) os_snprintf_error() argument
566 os_realloc_array(void *ptr, size_t nmemb, size_t size) os_realloc_array() argument
580 os_remove_in_array(void *ptr, size_t nmemb, size_t size, size_t idx) os_remove_in_array() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dwr.c55 void **seg, int *size, void **cur_edge) in set_eth_seg()
84 *size += stride / 16; in set_eth_seg()
88 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_eth_seg()
91 mlx5r_memcpy_send_wqe(&qp->sq, cur_edge, seg, size, in set_eth_seg()
99 *size += sizeof(struct mlx5_wqe_eth_seg) / 16; in set_eth_seg()
164 int size = (mr->mmkey.ndescs + mr->meta_ndescs) * mr->desc_size; in set_reg_umr_seg() local
169 umr->xlt_octowords = cpu_to_be16(mlx5r_umr_get_xlt_octo(size)); in set_reg_umr_seg()
200 /* KLMs take twice the size of MTTs */ in set_reg_mkey_seg()
243 static u8 calc_sig(void *wqe, int size) in calc_sig() argument
249 for (i = 0; i < size; in calc_sig()
54 set_eth_seg(const struct ib_send_wr *wr, struct mlx5_ib_qp *qp, void **seg, int *size, void **cur_edge) set_eth_seg() argument
416 set_sig_data_segment(const struct ib_send_wr *send_wr, struct ib_mr *sig_mr, struct ib_sig_attrs *sig_attrs, struct mlx5_ib_qp *qp, void **seg, int *size, void **cur_edge) set_sig_data_segment() argument
528 set_sig_mkey_segment(struct mlx5_mkey_seg *seg, struct ib_mr *sig_mr, int access_flags, u32 size, u32 length, u32 pdn) set_sig_mkey_segment() argument
546 set_sig_umr_segment(struct mlx5_wqe_umr_ctrl_seg *umr, u32 size) set_sig_umr_segment() argument
557 set_pi_umr_wr(const struct ib_send_wr *send_wr, struct mlx5_ib_qp *qp, void **seg, int *size, void **cur_edge) set_pi_umr_wr() argument
608 set_psv_wr(struct ib_sig_domain *domain, u32 psv_idx, void **seg, int *size) set_psv_wr() argument
635 set_reg_wr(struct mlx5_ib_qp *qp, const struct ib_reg_wr *wr, void **seg, int *size, void **cur_edge, bool check_not_free) set_reg_wr() argument
692 set_linv_wr(struct mlx5_ib_qp *qp, void **seg, int *size, void **cur_edge) set_linv_wr() argument
724 mlx5r_begin_wqe(struct mlx5_ib_qp *qp, void **seg, struct mlx5_wqe_ctrl_seg **ctrl, unsigned int *idx, int *size, void **cur_edge, int nreq, __be32 general_id, bool send_signaled, bool solicited) mlx5r_begin_wqe() argument
748 begin_wqe(struct mlx5_ib_qp *qp, void **seg, struct mlx5_wqe_ctrl_seg **ctrl, const struct ib_send_wr *wr, unsigned int *idx, int *size, void **cur_edge, int nreq) begin_wqe() argument
758 mlx5r_finish_wqe(struct mlx5_ib_qp *qp, struct mlx5_wqe_ctrl_seg *ctrl, void *seg, u8 size, void *cur_edge, unsigned int idx, u64 wr_id, int nreq, u8 fence, u32 mlx5_opcode) mlx5r_finish_wqe() argument
787 handle_rdma_op(const struct ib_send_wr *wr, void **seg, int *size) handle_rdma_op() argument
794 handle_local_inv(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, struct mlx5_wqe_ctrl_seg **ctrl, void **seg, int *size, void **cur_edge, unsigned int idx) handle_local_inv() argument
803 handle_reg_mr(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, struct mlx5_wqe_ctrl_seg **ctrl, void **seg, int *size, void **cur_edge, unsigned int idx) handle_reg_mr() argument
812 handle_psv(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, struct mlx5_wqe_ctrl_seg **ctrl, void **seg, int *size, void **cur_edge, unsigned int *idx, int nreq, struct ib_sig_domain *domain, u32 psv_index, u8 next_fence) handle_psv() argument
843 handle_reg_mr_integrity(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, struct mlx5_wqe_ctrl_seg **ctrl, void **seg, int *size, void **cur_edge, unsigned int *idx, int nreq, u8 fence, u8 next_fence) handle_reg_mr_integrity() argument
931 handle_qpt_rc(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, struct mlx5_wqe_ctrl_seg **ctrl, void **seg, int *size, void **cur_edge, unsigned int *idx, int nreq, u8 fence, u8 next_fence, int *num_sge) handle_qpt_rc() argument
982 handle_qpt_uc(const struct ib_send_wr *wr, void **seg, int *size) handle_qpt_uc() argument
994 handle_qpt_hw_gsi(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, void **seg, int *size, void **cur_edge) handle_qpt_hw_gsi() argument
1004 handle_qpt_ud(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, void **seg, int *size, void **cur_edge) handle_qpt_ud() argument
1060 int size; mlx5_ib_post_send() local
[all...]
/kernel/linux/linux-6.6/drivers/vfio/
H A Dvfio_iommu_type1.c92 size_t size; /* Map size (bytes) */ member
108 int size; /* of batch currently */ member
147 * Then maximum bitmap size supported is 2^31 bits divided by 2^3 bits/byte,
166 dma_addr_t start, size_t size) in vfio_find_dma()
173 if (start + size <= dma->iova) in vfio_find_dma()
175 else if (start >= dma->iova + dma->size) in vfio_find_dma()
185 dma_addr_t start, u64 size) in vfio_find_dma_first_node()
194 if (start < dma->iova + dma->size) { in vfio_find_dma_first_node()
204 if (res && size in vfio_find_dma_first_node()
165 vfio_find_dma(struct vfio_iommu *iommu, dma_addr_t start, size_t size) vfio_find_dma() argument
184 vfio_find_dma_first_node(struct vfio_iommu *iommu, dma_addr_t start, u64 size) vfio_find_dma_first_node() argument
1195 vfio_iova_dirty_bitmap(u64 __user *bitmap, struct vfio_iommu *iommu, dma_addr_t iova, size_t size, size_t pgsize) vfio_iova_dirty_bitmap() argument
1288 u64 size = unmap->size; vfio_dma_do_unmap() local
1463 size_t size = map_size; vfio_pin_map_dma() local
1563 size_t size = map->size; vfio_dma_do_map() local
1704 size_t size; vfio_iommu_replay() local
1792 size_t size; vfio_iommu_replay() local
2672 vfio_iommu_iova_add_cap(struct vfio_info_cap *caps, struct vfio_iommu_type1_info_cap_iova_range *cap_iovas, size_t size) vfio_iommu_iova_add_cap() argument
2698 size_t size; vfio_iommu_iova_build_caps() local
[all...]
/kernel/linux/linux-5.10/arch/nios2/mm/
H A Dioremap.c23 unsigned long size, unsigned long phys_addr, in remap_area_pte()
32 end = address + size; in remap_area_pte()
51 unsigned long size, unsigned long phys_addr, in remap_area_pmd()
57 end = address + size; in remap_area_pmd()
77 unsigned long size, unsigned long flags) in remap_area_pages()
81 unsigned long end = address + size; in remap_area_pages()
119 void __iomem *ioremap(unsigned long phys_addr, unsigned long size) in ioremap() argument
126 /* Don't allow wraparound or zero size */ in ioremap()
127 last_addr = phys_addr + size - 1; in ioremap()
129 if (!size || last_add in ioremap()
22 remap_area_pte(pte_t *pte, unsigned long address, unsigned long size, unsigned long phys_addr, unsigned long flags) remap_area_pte() argument
50 remap_area_pmd(pmd_t *pmd, unsigned long address, unsigned long size, unsigned long phys_addr, unsigned long flags) remap_area_pmd() argument
76 remap_area_pages(unsigned long address, unsigned long phys_addr, unsigned long size, unsigned long flags) remap_area_pages() argument
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dcacheinfo.c55 return this_leaf ? this_leaf->size : 0; in get_cache_size()
68 unsigned int level, unsigned int size, in ci_leaf_init()
73 this_leaf->size = size; in ci_leaf_init()
88 if (sets > 0 && size > 0 && line_size > 0) in ci_leaf_init()
89 this_leaf->ways_of_associativity = (size / sets) / line_size; in ci_leaf_init()
95 unsigned int size, sets, line_size; in fill_cacheinfo() local
97 if (!of_property_read_u32(node, "cache-size", &size) && in fill_cacheinfo()
98 !of_property_read_u32(node, "cache-block-size", in fill_cacheinfo()
67 ci_leaf_init(struct cacheinfo *this_leaf, enum cache_type type, unsigned int level, unsigned int size, unsigned int sets, unsigned int line_size) ci_leaf_init() argument
[all...]

Completed in 27 milliseconds

1...<<61626364656667686970>>...1627