Home
last modified time | relevance | path

Searched refs:numslots (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/mtd/
Dredboot.c73 int numslots; in parse_redboot_partitions() local
116 numslots = (master->erasesize / sizeof(struct fis_image_desc)); in parse_redboot_partitions()
117 for (i = 0; i < numslots; i++) { in parse_redboot_partitions()
139 numslots = swab32(buf[i].size) / sizeof (struct fis_image_desc); in parse_redboot_partitions()
140 for (j = 0; j < numslots; ++j) { in parse_redboot_partitions()
166 numslots = buf[i].size / sizeof(struct fis_image_desc); in parse_redboot_partitions()
171 if (i == numslots) { in parse_redboot_partitions()
179 for (i = 0; i < numslots; i++) { in parse_redboot_partitions()
/linux-3.4.99/drivers/video/
Dstifb.c350 #define GET_FIFO_SLOTS(fb, cnt, numslots) \ argument
351 { while (cnt < numslots) \
353 cnt -= numslots; \
/linux-3.4.99/fs/nfsd/
Dnfs4state.c714 static struct nfsd4_session *alloc_session(int slotsize, int numslots) in alloc_session() argument
721 mem = numslots * sizeof(struct nfsd4_slot *); in alloc_session()
727 for (i = 0; i < numslots; i++) { in alloc_session()
741 …attrs(struct nfsd4_channel_attrs *new, struct nfsd4_channel_attrs *req, int numslots, int slotsize) in init_forechannel_attrs() argument
745 new->maxreqs = numslots; in init_forechannel_attrs()
881 int numslots, slotsize; in alloc_init_session() local
893 numslots = nfsd4_get_drc_mem(slotsize, fchan->maxreqs); in alloc_init_session()
894 if (numslots < 1) in alloc_init_session()
897 new = alloc_session(slotsize, numslots); in alloc_init_session()
902 init_forechannel_attrs(&new->se_fchannel, fchan, numslots, slotsize); in alloc_init_session()