Searched refs:nr_slots (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/arch/arm/mach-omap1/
H A Dboard-sx1-mmc.c40 .nr_slots = 1,
H A Dboard-palmte.c189 .nr_slots = 1,
H A Dboard-nokia770.c201 .nr_slots = 1,
/linux-master/fs/fat/
H A Ddir.c281 wchar_t **unicode, unsigned char *nr_slots)
301 *nr_slots = slots;
335 *nr_slots = 0;
470 unsigned char nr_slots; local
481 nr_slots = 0;
490 &unicode, &nr_slots);
515 if (nr_slots) {
527 nr_slots++; /* include the de */
528 sinfo->slot_off = cpos - nr_slots * sizeof(*de);
529 sinfo->nr_slots
279 fat_parse_long(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de, wchar_t **unicode, unsigned char *nr_slots) argument
561 unsigned char nr_slots; local
994 __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots) argument
1034 int err = 0, nr_slots; local
1198 fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, int *nr_cluster, struct msdos_dir_entry **de, struct buffer_head **bh, loff_t *i_pos) argument
1281 fat_add_entries(struct inode *dir, void *slots, int nr_slots, struct fat_slot_info *sinfo) argument
[all...]
H A Dnamei_vfat.c582 struct msdos_dir_slot *slots, int *nr_slots)
596 *nr_slots = 0;
624 *nr_slots = usize / 13;
625 for (ps = slots, i = *nr_slots; i > 0; i--, ps++) {
641 (*nr_slots)++;
662 int err, nr_slots; local
673 slots, &nr_slots);
677 err = fat_add_entries(dir, slots, nr_slots, sinfo);
579 vfat_build_slots(struct inode *dir, const unsigned char *name, int len, int is_dir, int cluster, struct timespec64 *ts, struct msdos_dir_slot *slots, int *nr_slots) argument
H A Dfat.h136 int nr_slots; /* number of slots + 1(de) in filename */ member in struct:fat_slot_info
337 extern int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c57 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
65 if (slot == ring->nr_slots - 1)
119 return (ring->nr_slots - ring->used_slots);
124 B43legacy_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1));
125 if (slot == ring->nr_slots - 1)
476 for (i = 0; i < ring->nr_slots; i++) {
487 ring->used_slots = ring->nr_slots;
568 for (i = 0; i < ring->nr_slots; i++) {
610 int nr_slots; local
619 nr_slots
[all...]
H A Ddma.h135 int nr_slots; member in struct:b43legacy_dmaring
/linux-master/include/linux/platform_data/
H A Dmmc-omap.h17 unsigned nr_slots:2; member in struct:omap_mmc_platform_data
/linux-master/fs/afs/
H A Ddir_edit.c21 * slot. nr_slots is between 1 and 9.
23 static int afs_find_contig_bits(union afs_xdr_dir_block *block, unsigned int nr_slots) argument
39 mask = (1 << nr_slots) - 1;
52 if (bit > 64 - nr_slots)
69 int bit, unsigned int nr_slots)
73 mask = (1 << nr_slots) - 1;
90 int bit, unsigned int nr_slots)
94 mask = (1 << nr_slots) - 1;
68 afs_set_contig_bits(union afs_xdr_dir_block *block, int bit, unsigned int nr_slots) argument
89 afs_clear_contig_bits(union afs_xdr_dir_block *block, int bit, unsigned int nr_slots) argument
H A Ddir.c405 unsigned offset, next, curr, nr_slots; local
447 nr_slots = afs_dir_calc_slots(nlen);
448 next = offset + nr_slots;
459 for (tmp = 1; tmp < nr_slots; tmp++) {
465 offset, tmp, nr_slots);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Ddma.c97 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
103 if (slot == ring->nr_slots - 1)
189 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
195 if (slot == ring->nr_slots - 1)
259 return (ring->nr_slots - ring->used_slots);
264 B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1));
265 if (slot == ring->nr_slots - 1)
272 B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1));
274 return ring->nr_slots - 1;
642 for (i = 0; i < ring->nr_slots;
[all...]
H A Ddma.h241 int nr_slots; member in struct:b43_dmaring
/linux-master/drivers/md/
H A Ddm-switch.c81 sector_t nr_slots; local
108 nr_slots = nr_regions;
109 if (sector_div(nr_slots, sctx->region_entries_per_slot))
110 nr_slots++;
112 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) {
117 sctx->region_table = vmalloc(array_size(nr_slots,
/linux-master/fs/
H A Dpipe.c1262 * occupancy doesn't exceed nr_slots; if it does, EBUSY will be
1265 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots) argument
1270 bufs = kcalloc(nr_slots, sizeof(*bufs),
1281 if (nr_slots < n) {
1312 pipe->ring_size = nr_slots;
1313 if (pipe->max_usage > nr_slots)
1314 pipe->max_usage = nr_slots;
1319 pipe->max_usage = nr_slots;
1320 pipe->nr_accounted = nr_slots;
1337 unsigned int nr_slots, siz local
[all...]
/linux-master/drivers/gpu/host1x/
H A Ddev.h46 u32 syncpt_incrs, u32 syncval, u32 nr_slots);
318 u32 syncval, u32 nr_slots)
321 nr_slots);
314 host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, struct host1x_cdma *cdma, u32 getptr, u32 syncpt_incrs, u32 syncval, u32 nr_slots) argument
/linux-master/drivers/pci/hotplug/
H A Dacpiphp.h63 int nr_slots; member in struct:acpiphp_bridge
H A Dacpiphp_glue.c308 bridge->nr_slots++;
311 sun = bridge->nr_slots;
319 bridge->nr_slots--;
/linux-master/include/linux/
H A Dpipe_fs_i.h287 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots);
/linux-master/arch/arm/mach-omap2/
H A Dboard-n8x0.c383 .nr_slots = 0,
431 mmc1_data.nr_slots = 2;
/linux-master/drivers/mmc/host/
H A Domap.c164 int nr_slots; member in struct:mmc_omap_host
282 for (i = 0; i < host->nr_slots; i++) {
864 BUG_ON(num >= host->nr_slots);
867 if (host->nr_slots == 0 || !host->slots[num])
1379 if (pdata->nr_slots == 0) {
1475 host->nr_slots = pdata->nr_slots;
1484 for (i = 0; i < pdata->nr_slots; i++) {
1525 for (i = 0; i < host->nr_slots; i++)
H A Datmel-mci.c2488 unsigned int nr_slots; local
2573 nr_slots = 0;
2579 nr_slots++;
2587 nr_slots++;
2594 if (!nr_slots) {
2612 host->mapbase, irq, nr_slots);
/linux-master/kernel/dma/
H A Dswiotlb.c247 static inline unsigned long nr_slots(u64 val) function
1025 unsigned int nslots = nr_slots(alloc_size), stride;
1082 nr_slots(tbl_dma_addr),
1208 nslabs = nr_slots(alloc_size);
1391 for (i = 0; i < nr_slots(alloc_size + offset); i++)
1418 nslots = nr_slots(mem->slots[index].alloc_size + offset);
/linux-master/drivers/net/xen-netback/
H A Dnetback.c389 unsigned int nr_slots; local
394 nr_slots = shinfo->nr_frags + frag_overflow + 1;
449 nr_slots--;
460 for (shinfo->nr_frags = 0; nr_slots > 0 && shinfo->nr_frags < MAX_SKB_FRAGS;
461 nr_slots--) {
482 if (nr_slots > 0) {
487 for (shinfo->nr_frags = 0; shinfo->nr_frags < nr_slots; ++txp) {
/linux-master/drivers/gpu/host1x/hw/
H A Dcdma_hw.c29 u32 syncpt_incrs, u32 syncval, u32 nr_slots)
28 cdma_timeout_cpu_incr(struct host1x_cdma *cdma, u32 getptr, u32 syncpt_incrs, u32 syncval, u32 nr_slots) argument

Completed in 462 milliseconds

12