Searched defs:array_size (Results 1 - 10 of 10) sorted by relevance
/drivers/staging/android/ |
H A D | lowmemorykiller.c | 76 int array_size = ARRAY_SIZE(lowmem_adj); local 81 if (lowmem_adj_size < array_size) 82 array_size = lowmem_adj_size; 83 if (lowmem_minfree_size < array_size) 84 array_size = lowmem_minfree_size; 85 for (i = 0; i < array_size; i++) { 192 int array_size = ARRAY_SIZE(lowmem_adj); local 194 if (lowmem_adj_size < array_size) 195 array_size = lowmem_adj_size; 197 if (array_size < [all...] |
/drivers/media/video/ |
H A D | v4l2-ioctl.c | 2345 static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, argument 2363 *array_size = sizeof(struct v4l2_plane) * buf->length; 2381 *array_size = sizeof(struct v4l2_ext_control) 2401 size_t array_size = 0; local 2433 err = check_array_args(cmd, parg, &array_size, &user_ptr, &kernel_ptr); 2445 mbuf = kmalloc(array_size, GFP_KERNEL); 2450 if (copy_from_user(mbuf, user_ptr, array_size)) 2462 if (copy_to_user(user_ptr, mbuf, array_size))
|
/drivers/crypto/amcc/ |
H A D | crypto4xx_core.c | 1026 int array_size) 1032 for (i = 0; i < array_size; i++) { 1024 crypto4xx_register_alg(struct crypto4xx_device *sec_dev, struct crypto4xx_alg_common *crypto_alg, int array_size) argument
|
/drivers/md/ |
H A D | dm-table.c | 585 static char **realloc_argv(unsigned *array_size, char **old_argv) argument 590 new_size = *array_size ? *array_size * 2 : 64; 593 memcpy(argv, old_argv, *array_size * sizeof(*argv)); 594 *array_size = new_size; 607 unsigned array_size = 0; local 616 argv = realloc_argv(&array_size, argv); 644 if ((*argc + 1) > array_size) { 645 argv = realloc_argv(&array_size, argv);
|
/drivers/media/video/tlg2300/ |
H A D | pd-video.c | 941 int array_size = ARRAY_SIZE(controls); local 943 for (; control < &controls[array_size]; control++)
|
/drivers/net/wireless/iwlegacy/ |
H A D | 3945.c | 124 u32 array_size; /* # of u32 entries in array */ local 182 array_size = il_read_targ_mem(il, base + (5 * sizeof(u32))); 184 if (IL_EVT_DISABLE && array_size == IL_EVT_DISABLE_SIZE) { 195 array_size);
|
/drivers/net/wireless/b43legacy/ |
H A D | main.c | 1786 size_t array_size) 1796 if (array_size < sizeof(iv->offset_size)) 1798 array_size -= sizeof(iv->offset_size); 1807 if (array_size < sizeof(iv->data.d32)) 1809 array_size -= sizeof(iv->data.d32); 1820 if (array_size < sizeof(iv->data.d16)) 1822 array_size -= sizeof(iv->data.d16); 1832 if (array_size) 1783 b43legacy_write_initvals(struct b43legacy_wldev *dev, const struct b43legacy_iv *ivals, size_t count, size_t array_size) argument
|
/drivers/net/wireless/b43/ |
H A D | main.c | 2608 size_t array_size) 2618 if (array_size < sizeof(iv->offset_size)) 2620 array_size -= sizeof(iv->offset_size); 2629 if (array_size < sizeof(iv->data.d32)) 2631 array_size -= sizeof(iv->data.d32); 2642 if (array_size < sizeof(iv->data.d16)) 2644 array_size -= sizeof(iv->data.d16); 2654 if (array_size) 2605 b43_write_initvals(struct b43_wldev *dev, const struct b43_iv *ivals, size_t count, size_t array_size) argument
|
/drivers/net/wireless/bcmdhd/ |
H A D | wl_cfg80211.c | 8542 u32 i, j, index, n_2g, n_5g, band, channel, array_size; local 8571 band = array_size = n_2g = n_5g = 0; 8587 array_size = ARRAYSIZE(__wl_2ghz_channels); 8593 array_size = ARRAYSIZE(__wl_5ghz_a_channels); 8601 for (j = 0; (j < *n_cnt && (*n_cnt < array_size)); j++) { 8611 if (index < array_size) {
|
/drivers/scsi/ |
H A D | aic7xxx_old.c | 8128 size_t array_size; local 8131 array_size = p->scb_data->maxscbs * sizeof(struct aic7xxx_hwscb); 8137 p->scb_data->hscbs = pci_alloc_consistent(p->pdev, array_size, 8141 p->scb_data->hscbs_dma_len = array_size;
|
Completed in 304 milliseconds