Home
last modified time | relevance | path

Searched refs:s_size (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.6.39/drivers/scsi/
Dsr.c331 int block = 0, this_count, s_size; in sr_prep_fn() local
376 s_size = cd->device->sector_size; in sr_prep_fn()
377 if (s_size > 2048) { in sr_prep_fn()
384 if (s_size != 512 && s_size != 1024 && s_size != 2048) { in sr_prep_fn()
385 scmd_printk(KERN_ERR, SCpnt, "bad sector size %d\n", s_size); in sr_prep_fn()
422 if (((unsigned int)blk_rq_pos(rq) % (s_size >> 9)) || in sr_prep_fn()
423 (scsi_bufflen(SCpnt) % s_size)) { in sr_prep_fn()
428 this_count = (scsi_bufflen(SCpnt) >> 9) / (s_size >> 9); in sr_prep_fn()
438 block = (unsigned int)blk_rq_pos(rq) / (s_size >> 9); in sr_prep_fn()
442 SCpnt->sdb.length = this_count * s_size; in sr_prep_fn()
/linux-2.6.39/arch/mips/boot/
Delf2ecoff.c255 s->s_size = swab32(s->s_size); in convert_ecoff_esecs()
459 esecs[0].s_size = eah.tsize; in main()
460 esecs[1].s_size = eah.dsize; in main()
461 esecs[2].s_size = eah.bsize; in main()
463 esecs[3].s_size = 0; in main()
464 esecs[4].s_size = 0; in main()
465 esecs[5].s_size = 0; in main()
472 ECOFF_ROUND(esecs[1].s_size, ECOFF_SEGMENT_ALIGNMENT(&eah)); in main()
519 esecs[i].s_size, esecs[i].s_scnptr); in main()
Decoff.h23 long s_size; /* section size */ member
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_rc.c277 if (++qp->s_last >= qp->s_size) in qib_make_rc_req()
366 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
406 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
442 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
485 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
499 if (qp->s_tail >= qp->s_size) in qib_make_rc_req()
548 if (qp->s_cur >= qp->s_size) in qib_make_rc_req()
589 if (qp->s_cur >= qp->s_size) in qib_make_rc_req()
616 if (qp->s_cur == qp->s_size) in qib_make_rc_req()
810 if (++n == qp->s_size) in reset_psn()
[all …]
Dqib_uc.c125 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
154 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
183 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
208 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
Dqib_qp.c418 if (++qp->s_last >= qp->s_size) in clear_mr_refs()
840 attr->cap.max_send_wr = qp->s_size - 1; in qib_query_qp()
1048 qp->s_size = init_attr->cap.max_send_wr + 1; in qib_create_qp()
Dqib_ruc.c399 if (++sqp->s_cur >= sqp->s_size) in qib_ruc_loopback()
806 if (++last >= qp->s_size) in qib_send_complete()
/linux-2.6.39/fs/jfs/
Djfs_superblock.h40 __le64 s_size; /* 8: aggregate size in hardware/LVM blocks; member
Dresize.c495 j_sb->s_size = cpu_to_le64(bmp->db_mapsize << in jfs_extendfs()
Djfs_mount.c338 (unsigned long long) le64_to_cpu(j_sb->s_size)); in chkSuper()
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_uc.c122 if (++qp->s_cur >= qp->s_size) in ipath_make_uc_req()
151 if (++qp->s_cur >= qp->s_size) in ipath_make_uc_req()
180 if (++qp->s_cur >= qp->s_size) in ipath_make_uc_req()
205 if (++qp->s_cur >= qp->s_size) in ipath_make_uc_req()
Dipath_rc.c337 if (++qp->s_cur == qp->s_size) in ipath_make_rc_req()
377 if (++qp->s_cur == qp->s_size) in ipath_make_rc_req()
412 if (++qp->s_cur == qp->s_size) in ipath_make_rc_req()
454 if (++qp->s_cur == qp->s_size) in ipath_make_rc_req()
467 if (qp->s_tail >= qp->s_size) in ipath_make_rc_req()
522 if (qp->s_cur >= qp->s_size) in ipath_make_rc_req()
558 if (qp->s_cur >= qp->s_size) in ipath_make_rc_req()
581 if (qp->s_cur == qp->s_size) in ipath_make_rc_req()
746 if (++n == qp->s_size) in reset_psn()
969 if (++qp->s_cur >= qp->s_size) in do_rc_ack()
[all …]
Dipath_ruc.c307 if (++sqp->s_cur >= sqp->s_size) in ipath_ruc_loopback()
725 if (++last >= qp->s_size) in ipath_send_complete()
Dipath_qp.c635 attr->cap.max_send_wr = qp->s_size - 1; in ipath_query_qp()
854 qp->s_size = init_attr->cap.max_send_wr + 1; in ipath_create_qp()
Dipath_ud.c279 if (next_cur >= qp->s_size) in ipath_make_ud_req()
Dipath_verbs.h425 u32 s_size; /* send work queue size */ member
/linux-2.6.39/arch/alpha/include/asm/
Da.out.h44 __u64 s_size; member
/linux-2.6.39/fs/logfs/
Dsuper.c125 stats->f_blocks = super->s_size >> LOGFS_BLOCK_BITS >> 3; in logfs_statfs()
192 ds->ds_filesystem_size = cpu_to_be64(super->s_size); in logfs_write_ds()
425 super->s_size = be64_to_cpu(ds->ds_filesystem_size); in __logfs_read_sb()
436 super->s_no_segs = super->s_size >> super->s_segshift; in __logfs_read_sb()
/linux-2.6.39/arch/powerpc/boot/
Drs6000.h81 char s_size[4]; /* section size */ member
/linux-2.6.39/fs/bfs/
Dinode.c325 unsigned long i_sblock, i_eblock, i_eoff, s_size; in bfs_fill_super() local
415 s_size = le32_to_cpu(bfs_sb->s_end); in bfs_fill_super()
420 i_eoff > s_size || in bfs_fill_super()
/linux-2.6.39/include/linux/
Dcoff.h157 char s_size[4]; /* section size */ member
Dgenhd.h451 __le32 s_size; /* # of blocks in partition */ member
/linux-2.6.39/fs/adfs/
Dadfs.h58 unsigned long s_size; /* total size (in blocks) of this fs */ member
Dsuper.c224 buf->f_blocks = sbi->s_size; in adfs_statfs()
438 asb->s_size = adfs_discsize(dr, sb->s_blocksize_bits); in adfs_fill_super()
/linux-2.6.39/fs/partitions/
Dmsdos.c237 if (s->s_size == 0) in parse_solaris_x86()
245 le32_to_cpu(s->s_size)); in parse_solaris_x86()

12