Home
last modified time | relevance | path

Searched refs:nelem (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/misc/sgi-gru/
H A Dgru_instructions.h142 unsigned long nelem; /* DW 3 */ member
365 ins->nelem = 1; in gru_vload_phys()
377 ins->nelem = 1; in gru_vstore_phys()
384 unsigned int tri0, unsigned char xtype, unsigned long nelem, in gru_vload() argument
390 ins->nelem = nelem; in gru_vload()
397 unsigned int tri0, unsigned char xtype, unsigned long nelem, in gru_vstore() argument
403 ins->nelem = nelem; in gru_vstore()
411 unsigned long nelem, unsigned long hints) in gru_ivload() argument
416 ins->nelem = nelem; in gru_ivload()
424 unsigned char xtype, unsigned long nelem, unsigned long hints) in gru_ivstore() argument
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/
H A Dwrap_sdram_config.c294 void socfpga_get_seq_ac_init(const u32 **init, unsigned int *nelem) in socfpga_get_seq_ac_init() argument
297 *nelem = ARRAY_SIZE(ac_rom_init); in socfpga_get_seq_ac_init()
300 void socfpga_get_seq_inst_init(const u32 **init, unsigned int *nelem) in socfpga_get_seq_inst_init() argument
303 *nelem = ARRAY_SIZE(inst_rom_init); in socfpga_get_seq_inst_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.h98 static inline size_t size_vstruct(size_t nelem, size_t elem_size, size_t base) in size_vstruct() argument
100 if (elem_size && nelem > (SIZE_MAX - base) / elem_size) in size_vstruct()
102 return base + nelem * elem_size; in size_vstruct()
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dprivcmd.c107 unsigned nelem, size_t size, in gather_array() argument
119 while (nelem--) { in gather_array()
151 static int traverse_pages(unsigned nelem, size_t size, in traverse_pages() argument
165 while (nelem--) { in traverse_pages()
187 static int traverse_pages_block(unsigned nelem, size_t size, in traverse_pages_block() argument
197 while (nelem) { in traverse_pages_block()
200 if (nr > nelem) in traverse_pages_block()
201 nr = nelem; in traverse_pages_block()
208 nelem -= nr; in traverse_pages_block()
/OK3568_Linux_fs/kernel/drivers/sbus/char/
H A Doradax.c403 static void dax_unlock_pages(struct dax_ctx *ctx, int ccb_index, int nelem) in dax_unlock_pages() argument
407 for (i = ccb_index; i < ccb_index + nelem; i++) { in dax_unlock_pages()
437 int nelem, u64 *err_va) in dax_lock_pages() argument
441 for (i = 0; i < nelem; i++) { in dax_lock_pages()
497 dax_unlock_pages(ctx, idx, nelem); in dax_lock_pages()
758 static void dax_prt_ccbs(struct dax_ccb *ccb, int nelem) in dax_prt_ccbs() argument
764 for (i = 0; i < nelem; i++) { in dax_prt_ccbs()
777 static int dax_preprocess_usr_ccbs(struct dax_ctx *ctx, int idx, int nelem) in dax_preprocess_usr_ccbs() argument
787 for (i = 0; i < nelem; i++) { in dax_preprocess_usr_ccbs()
/OK3568_Linux_fs/external/xserver/dix/
H A Dptrveloc.c196 int nelem = 1; in AccelSetProfileProperty() local
204 rc = XIPropToInt(val, &nelem, &ptr); in AccelSetProfileProperty()
241 int nelem = 1; in AccelSetDecelProperty() local
249 rc = XIPropToFloat(val, &nelem, &ptr); in AccelSetDecelProperty()
285 int nelem = 1; in AccelSetAdaptDecelProperty() local
293 rc = XIPropToFloat(val, &nelem, &ptr); in AccelSetAdaptDecelProperty()
332 int nelem = 1; in AccelSetScaleProperty() local
340 rc = XIPropToFloat(val, &nelem, &ptr); in AccelSetScaleProperty()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/tehuti/
H A Dtehuti.c928 static struct rxdb *bdx_rxdb_create(int nelem) in bdx_rxdb_create() argument
934 + (nelem * sizeof(int)) in bdx_rxdb_create()
935 + (nelem * sizeof(struct rx_map))); in bdx_rxdb_create()
938 db->elems = (void *)(db->stack + nelem); in bdx_rxdb_create()
939 db->nelem = nelem; in bdx_rxdb_create()
940 db->top = nelem; in bdx_rxdb_create()
941 for (i = 0; i < nelem; i++) in bdx_rxdb_create()
942 db->stack[i] = nelem - i - 1; /* to make first allocs in bdx_rxdb_create()
957 BDX_ASSERT((n < 0) || (n >= db->nelem)); in bdx_rxdb_addr_elem()
968 BDX_ASSERT((n >= db->nelem) || (n < 0)); in bdx_rxdb_free_elem()
[all …]
H A Dtehuti.h179 int nelem; member
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch189 calloc (grub_size_t size, grub_size_t nelem)
191 - return grub_zalloc (size * nelem);
194 + if (grub_mul (size, nelem, &sz))
H A D0005-calloc-Use-calloc-at-most-places.patch884 - arg_list = malloc (nelem * sizeof *arg_list);
885 + arg_list = calloc (nelem, sizeof *arg_list);
893 - arg_list = malloc (nelem * sizeof *arg_list);
894 + arg_list = calloc (nelem, sizeof *arg_list);
/OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dsdram.h17 void socfpga_get_seq_ac_init(const u32 **init, unsigned int *nelem);
18 void socfpga_get_seq_inst_init(const u32 **init, unsigned int *nelem);
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dsata_qstor.c269 unsigned int nelem; in qs_qc_prep() local
277 nelem = qs_fill_sg(qc); in qs_qc_prep()
288 *(__le32 *)(&buf[ 8]) = cpu_to_le32(nelem); in qs_qc_prep()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dvec.h289 unsigned nelem = v ? v->length () : 0; in reserve() local
291 v->embedded_init (alloc, nelem); in reserve()
389 unsigned nelem = v ? v->length () : 0; in reserve() local
392 v->embedded_init (alloc, nelem); in reserve()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dvec.h289 unsigned nelem = v ? v->length () : 0; in reserve() local
291 v->embedded_init (alloc, nelem); in reserve()
389 unsigned nelem = v ? v->length () : 0; in reserve() local
392 v->embedded_init (alloc, nelem); in reserve()
/OK3568_Linux_fs/u-boot/drivers/ddr/altera/
H A Dsequencer.c3583 unsigned int nelem = 0; in hc_initialize_rom_data() local
3587 socfpga_get_seq_inst_init(&rom_init, &nelem); in hc_initialize_rom_data()
3589 for (i = 0; i < nelem; i++) in hc_initialize_rom_data()
3592 socfpga_get_seq_ac_init(&rom_init, &nelem); in hc_initialize_rom_data()
3594 for (i = 0; i < nelem; i++) in hc_initialize_rom_data()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/
H A Dxml_crypto_api.h2791 const size_t nelem = sizeof(dsa_key_vals) / sizeof(dsa_key_vals[0]); in get_dsa_key_vals() local
2794 for (n = 0; n < nelem; n++) { in get_dsa_key_vals()
2809 const size_t nelem = sizeof(ecdsa_key_vals) / sizeof(ecdsa_key_vals[0]); in get_ecdsa_key_vals() local
2812 for (n = 0; n < nelem; n++) { in get_ecdsa_key_vals()
2824 const size_t nelem = sizeof(rsa_key_vals) / sizeof(rsa_key_vals[0]); in get_rsa_key_vals() local
2827 for (n = 0; n < nelem; n++) { in get_rsa_key_vals()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c751 static void *alloc_ring(struct device *dev, size_t nelem, size_t hwsize, in alloc_ring() argument
758 size_t hwlen = nelem * hwsize + stat_size; in alloc_ring()
770 void *swring = kcalloc(nelem, swsize, GFP_KERNEL); in alloc_ring()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c618 static void *alloc_ring(struct pci_dev *pdev, size_t nelem, size_t elem_size, in alloc_ring() argument
621 size_t len = nelem * elem_size; in alloc_ring()
628 s = kcalloc(nelem, sw_size, GFP_KERNEL); in alloc_ring()
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/
H A Dxf86drm.c3535 int id, type, nelem; in get_sysctl_pci_bus_info() local
3576 nelem = sscanf(sysctl_val, bus_fmt, &domain, &bus, &dev, &func); in get_sysctl_pci_bus_info()
3577 if (nelem != 4) in get_sysctl_pci_bus_info()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c657 static void *alloc_ring(struct device *dev, size_t nelem, size_t elem_size, in alloc_ring() argument
661 size_t len = nelem * elem_size + stat_size; in alloc_ring()
668 s = kcalloc_node(sw_size, nelem, GFP_KERNEL, node); in alloc_ring()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_dp.c1881 const int *array, int nelem) in snprintf_int_array() argument
1887 for (i = 0; i < nelem; i++) { in snprintf_int_array()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/include/
H A Darm_neon.h10840 #define __STRUCTN(t, sz, nelem) \ argument
10841 typedef struct t ## sz ## x ## nelem ## _t { \
10842 t ## sz ## _t val[nelem]; \
10843 } t ## sz ## x ## nelem ## _t;
/OK3568_Linux_fs/external/xserver/
H A DChangeLog125557 167 rc = XIPropToInt(val, &nelem, &ptr);
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...