/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-primax.c | 18 u8 *data, int size) in px_raw_event() 20 int idx = size; in px_raw_event() 37 * As long as it's in the size range, the upper level in px_raw_event() 47 hid_report_raw_event(hid, HID_INPUT_REPORT, data, size, 0); in px_raw_event() 17 px_raw_event(struct hid_device *hid, struct hid_report *report, u8 *data, int size) px_raw_event() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vboxvideo/ |
H A D | vbox_ttm.c | 16 resource_size_t base, size; in vbox_mm_init() local 21 size = pci_resource_len(pdev, 0); in vbox_mm_init() 24 devm_arch_phys_wc_add(&pdev->dev, base, size); in vbox_mm_init()
|
/kernel/linux/linux-6.6/tools/lib/ |
H A D | slab.c | 14 void *kmalloc(size_t size, gfp_t gfp) in kmalloc() argument 21 ret = malloc(size); in kmalloc() 26 memset(ret, 0, size); in kmalloc()
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | pid.c | 3 size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_pid() argument 7 size_t printed = scnprintf(bf, size, "%d", pid); in syscall_arg__scnprintf_pid() 15 printed += scnprintf(bf + printed, size - printed, in syscall_arg__scnprintf_pid()
|
H A D | waitid_options.c | 5 static size_t syscall_arg__scnprintf_waitid_options(char *bf, size_t size, in syscall_arg__scnprintf_waitid_options() argument 14 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_waitid_options() 24 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | sharded_mutex.c | 9 size_t size; in sharded_mutex__new() local 15 size = sizeof(*result) + sizeof(struct mutex) * (1 << bits); in sharded_mutex__new() 16 result = malloc(size); in sharded_mutex__new()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/ |
H A D | armada_drm.h | 19 __u32 size; member 27 __u64 size; member 36 __u32 size; member
|
H A D | sis_drm.h | 29 unsigned long size; member 33 unsigned long offset, size; member 36 unsigned long offset, size; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | nx-gzip-test.sh | 24 for size in 4K 64K 1M 64M 26 echo "Testing $size ($n) ..." 27 dd if=/dev/urandom of=$fname bs=$size count=1
|
/kernel/liteos_a/kernel/extended/perf/ |
H A D | perf_output_pri.h | 49 extern UINT32 OsPerfOutputInit(VOID *buf, UINT32 size); 50 extern UINT32 OsPerfOutputRead(CHAR *dest, UINT32 size); 51 extern UINT32 OsPerfOutputWrite(CHAR *data, UINT32 size);
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/drm/ |
H A D | armada_drm.h | 31 __u32 size; member 38 __u64 size; member 46 __u32 size; member
|
H A D | sis_drm.h | 42 unsigned long size; member 46 unsigned long offset, size; member 49 unsigned long offset, size; member
|
/kernel/liteos_m/testsuites/sample/kernel/lms/ |
H A D | It_los_lms_002.c | 40 UINT32 size = 20; /* mem size 20 */
in TestCase() local 43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary);
in TestCase() 46 PRINTK("0x%x\n", str[size + 1]); /* trigger read overflow at size + 1 */
in TestCase()
|
/kernel/liteos_m/testsuites/sample/kernel/mem/ |
H A D | It_los_mem_012.c | 39 UINT32 size;
in TestCase() local 45 size = 0x1000;
in TestCase() 46 p0 = LOS_MemAlloc(g_memPool, size);
in TestCase()
|
H A D | It_los_mem_016.c | 39 UINT32 size;
in TestCase() local 44 size = 0x500;
in TestCase() 45 p0 = LOS_MemRealloc(g_memPool, NULL, size);
in TestCase()
|
/kernel/uniproton/src/include/uapi/ |
H A D | prt_fs.h | 31 S32 (*readFunc)(S32 partition, uintptr_t offset, void *buf, U32 size); 33 S32 (*writeFunc)(S32 partition, uintptr_t offset, const void *buf, U32 size); 35 S32 (*eraseFunc)(S32 partition, uintptr_t offset, U32 size); 37 S32 readSize; /* size of a block read */ 38 S32 writeSize; /* size of a block write */ 39 S32 blockSize; /* size of an erasable block */ 41 S32 cacheSize; /* size of block caches */ 44 S32 lookaheadSize; /* lookahead size */ 56 * @param lengthArray List of partition size. For example:
|
/kernel/linux/linux-6.6/sound/pci/ctxfi/ |
H A D | ctvmem.h | 35 unsigned int size; /* size of this device virtual mem block */ member 44 unsigned int size; /* Available addr space in bytes */ member 51 int size);
|
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb_vmemmap.h | 29 * Return how many vmemmap size associated with a HugeTLB page that can be 34 int size = hugetlb_vmemmap_size(h) - HUGETLB_VMEMMAP_RESERVE_SIZE; in hugetlb_vmemmap_optimizable_size() local 38 return size > 0 ? size : 0; in hugetlb_vmemmap_optimizable_size()
|
/kernel/linux/linux-6.6/lib/xz/ |
H A D | xz_crc32.c | 49 XZ_EXTERN uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) in xz_crc32() argument 53 while (size != 0) { in xz_crc32() 55 --size; in xz_crc32()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
H A D | sis_drm.h | 42 unsigned long size; member 46 unsigned long offset, size; member 49 unsigned long offset, size; member
|
H A D | armada_drm.h | 31 __u32 size; member 38 __u64 size; member 46 __u32 size; member
|
/kernel/liteos_a/testsuites/unittest/extended/trace/smoke/ |
H A D | trace_test_004.cpp | 37 int size = 0x100; in TestCase() local 46 buffer = static_cast<char *>(malloc(size)); in TestCase() 52 len = read(fd, buffer, size); in TestCase()
|
/third_party/ffmpeg/libavcodec/ |
H A D | canopus.c | 31 const uint8_t *src, size_t size) in ff_canopus_parse_info_tag() 36 bytestream2_init(&gbc, src, size); in ff_canopus_parse_info_tag() 48 if (size == 0x18) in ff_canopus_parse_info_tag() 30 ff_canopus_parse_info_tag(AVCodecContext *avctx, const uint8_t *src, size_t size) ff_canopus_parse_info_tag() argument
|
H A D | dca_core_bsf.c | 36 bytestream2_init(&gb, pkt->data, pkt->size); in dca_core_filter() 46 if (core_size > 0 && core_size <= pkt->size) { in dca_core_filter() 47 pkt->size = core_size; in dca_core_filter()
|
H A D | sinewin_fixed_tablegen.h | 33 #define SINETABLE(size) \ 34 static SINETABLE_CONST DECLARE_ALIGNED(32, int, sine_##size##_fixed)[size]
|