Searched refs:sgp (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/
H A Dgenhd.c224 struct gendisk *sgp; local
228 list_for_each_entry(sgp, &block_subsys.list, kobj.entry) {
233 if (get_capacity(sgp) == 0 ||
234 (sgp->flags & GENHD_FL_SUPPRESS_PARTITION_INFO))
242 sgp->major, sgp->first_minor,
243 (unsigned long long)get_capacity(sgp) >> 1,
244 disk_name(sgp, 0, buf));
245 if (sgp->driverfs_dev != NULL &&
246 sgp
298 struct gendisk *sgp = v; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsi_lib.c706 struct scsi_host_sg_pool *sgp; local
740 sgp = scsi_sg_pools + cmd->sglist_len;
741 sgl = mempool_alloc(sgp->pool, gfp_mask);
749 struct scsi_host_sg_pool *sgp; local
753 sgp = scsi_sg_pools + index;
754 mempool_free(sgl, sgp->pool);
1667 struct scsi_host_sg_pool *sgp = scsi_sg_pools + i; local
1668 int size = sgp->size * sizeof(struct scatterlist);
1670 sgp->slab = kmem_cache_create(sgp
1695 struct scsi_host_sg_pool *sgp = scsi_sg_pools + i; local
[all...]
H A Dinitio.c1685 register SG *sgp; local
1688 sgp = &pCurScb->SCB_SGList[pCurScb->SCB_SGIdx];
1689 for (i = pCurScb->SCB_SGIdx; i < pCurScb->SCB_SGMax; sgp++, i++) {
1690 xcnt -= (long) sgp->SG_Len;
1691 if (xcnt < 0) { /* this sgp xfer half done */
1692 xcnt += (long) sgp->SG_Len; /* xcnt == bytes xferred in this sgp */
1693 sgp->SG_Ptr += (U32) xcnt; /* new ptr to be xfer */
1694 sgp->SG_Len -= (U32) xcnt; /* new len to be xfer */
1703 /* else (xcnt >= 0 , i.e. this sgp alread
[all...]
H A Ddc395x.c1013 struct SGentry *sgp = srb->segment_x; local
1024 sgp[i].address = busaddr;
1025 sgp[i].length = seglen;
1028 sgp += srb->sg_count - 1;
1035 sgp->length -= (srb->total_xfer_length - reqlen);
1043 sgp->length++;
H A Dadvansys.c3558 adv_sgblk_t *sgp = NULL; local
4551 sgp = (adv_sgblk_t *)
4554 if (sgp == NULL) {
4558 sgp->next_sgblkp = boardp->adv_sgblkp;
4559 boardp->adv_sgblkp = sgp;
4650 while ((sgp = boardp->adv_sgblkp) != NULL)
4652 boardp->adv_sgblkp = sgp->next_sgblkp;
4653 kfree(sgp);
4694 adv_sgblk_t *sgp = NULL; local
4703 while ((sgp
8529 ASC_SG_HEAD *sgp; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dsge.c230 const struct sg_ent *sgp; local
234 sgp = (struct sg_ent *)&q->desc[cidx].flit[ui->sflit];
237 pci_unmap_single(pdev, be64_to_cpu(sgp->addr[0]), ui->len,
248 pci_unmap_page(pdev, be64_to_cpu(sgp->addr[j]),
253 sgp++;
692 * @sgp: the SGL to populate
702 struct sg_ent *sgp, unsigned char *start,
710 sgp->len[0] = cpu_to_be32(len);
711 sgp->addr[0] = cpu_to_be64(mapping);
721 sgp
701 make_sgl(const struct sk_buff *skb, struct sg_ent *sgp, unsigned char *start, unsigned int len, struct pci_dev *pdev) argument
882 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1]; local
1311 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dshmem.c88 struct page **pagep, enum sgp_type sgp, int *type);
342 * @sgp: check and recheck i_size? skip allocation?
344 static swp_entry_t *shmem_swp_alloc(struct shmem_inode_info *info, unsigned long index, enum sgp_type sgp) argument
351 if (sgp != SGP_WRITE &&
356 if (sgp == SGP_READ)
384 if (sgp != SGP_WRITE &&
1086 struct page **pagep, enum sgp_type sgp, int *type)
1113 if (sgp == SGP_QUICK)
1118 entry = shmem_swp_alloc(info, idx, sgp);
1140 entry = shmem_swp_alloc(info, idx, sgp);
1085 shmem_getpage(struct inode *inode, unsigned long idx, struct page **pagep, enum sgp_type sgp, int *type) argument
1329 enum sgp_type sgp = nonblock? SGP_QUICK: SGP_CACHE; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/fpsp040/
H A Dres_func.S1430 .long sgp
1691 sgp: label

Completed in 194 milliseconds