Searched refs:sbp (Results 1 - 16 of 16) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ufs/
H A Dswab.h26 fs64_to_cpu(struct super_block *sbp, u64 n) argument
28 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE)
35 cpu_to_fs64(struct super_block *sbp, u64 n) argument
37 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE)
44 fs64_add(struct super_block *sbp, u32 *n, int d) argument
46 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE)
53 fs64_sub(struct super_block *sbp, u32 *n, int d) argument
55 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE)
62 fs32_to_cpu(struct super_block *sbp, u32 n) argument
64 if (sbp
71 cpu_to_fs32(struct super_block *sbp, u32 n) argument
80 fs32_add(struct super_block *sbp, u32 *n, int d) argument
89 fs32_sub(struct super_block *sbp, u32 *n, int d) argument
98 fs16_to_cpu(struct super_block *sbp, u16 n) argument
107 cpu_to_fs16(struct super_block *sbp, u16 n) argument
116 fs16_add(struct super_block *sbp, u16 *n, int d) argument
125 fs16_sub(struct super_block *sbp, u16 *n, int d) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sibyte/sb1250/
H A Dbcm1250_tbprof.c41 static struct sbprof_tb *sbp; variable in typeref:struct:sbprof_tb
77 sbp->tb_armed = 1;
84 if (sbp->next_tb_sample < MAX_TB_SAMPLES) {
85 unsigned long long *p = sbp->sbprof_tbbuf[sbp->next_tb_sample++];
100 if (!sbp->tb_enable) {
103 sbp->tb_armed = 0;
104 wake_up(&sbp->tb_sync);
112 sbp->tb_armed = 0;
113 if (!sbp
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dreiserfs_fs_sb.h81 #define sb_block_count(sbp) (le32_to_cpu((sbp)->s_block_count))
82 #define set_sb_block_count(sbp,v) ((sbp)->s_block_count = cpu_to_le32(v))
83 #define sb_free_blocks(sbp) (le32_to_cpu((sbp)->s_free_blocks))
84 #define set_sb_free_blocks(sbp,v) ((sbp)->s_free_blocks = cpu_to_le32(v))
85 #define sb_root_block(sbp) (le32_to_cpu((sbp)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dreiserfs_fs_sb.h81 #define sb_block_count(sbp) (le32_to_cpu((sbp)->s_block_count))
82 #define set_sb_block_count(sbp,v) ((sbp)->s_block_count = cpu_to_le32(v))
83 #define sb_free_blocks(sbp) (le32_to_cpu((sbp)->s_free_blocks))
84 #define set_sb_free_blocks(sbp,v) ((sbp)->s_free_blocks = cpu_to_le32(v))
85 #define sb_root_block(sbp) (le32_to_cpu((sbp)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/freevxfs/
H A Dvxfs_super.c67 * @sbp: VFS superblock.
70 * vxfs_put_super frees all resources allocated for @sbp
75 vxfs_put_super(struct super_block *sbp) argument
77 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
89 * @sbp: VFS superblock
94 * about the filesystem described by @sbp.
100 * We are under bkl and @sbp->s_lock.
106 vxfs_statfs(struct super_block *sbp, struct statfs *bufp) argument
108 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
111 bufp->f_bsize = sbp
139 vxfs_read_super(struct super_block *sbp, void *dp, int silent) argument
[all...]
H A Dvxfs_olt.c59 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) argument
61 if (sbp->s_blocksize % bsize)
63 return (block * (sbp->s_blocksize / bsize));
69 * @sbp: superblock of the filesystem
73 * vxfs_read_olt reads the olt of the filesystem described by @sbp
80 vxfs_read_olt(struct super_block *sbp, u_long bsize) argument
82 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
88 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize));
109 eaddr = (char *)bp->b_data + (infp->vsi_oltsize * sbp
[all...]
H A Dvxfs_fshead.c97 * @sbp: superblock to which the fileset belongs
106 vxfs_read_fshead(struct super_block *sbp) argument
108 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
112 if (!(vip = vxfs_blkiget(sbp, infp->vsi_iext, infp->vsi_fshino))) {
127 if (!(infp->vsi_fship = vxfs_get_fake_inode(sbp, vip))) {
150 tip = vxfs_blkiget(sbp, infp->vsi_iext, sfp->fsh_ilistino[0]);
151 if (!tip || ((infp->vsi_stilist = vxfs_get_fake_inode(sbp, tip)) == NULL)) {
160 tip = vxfs_stiget(sbp, pfp->fsh_ilistino[0]);
161 if (!tip || ((infp->vsi_ilist = vxfs_get_fake_inode(sbp, tip)) == NULL)) {
H A Dvxfs_inode.c87 * @sbp: superblock of the filesystem we search in
93 * @sbp in the extent @extent.
102 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) argument
107 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize);
108 offset = ((ino % (sbp->s_blocksize / VXFS_ISIZE)) * VXFS_ISIZE);
109 bp = sb_bread(sbp, block);
134 * @sbp: VFS superblock
140 * described by @sbp. Use the specified inode table (@ilistp).
179 * @sbp: VFS superblock
183 * Find inode @ino in the filesystem described by @sbp usin
188 vxfs_stiget(struct super_block *sbp, ino_t ino) argument
267 vxfs_get_fake_inode(struct super_block *sbp, struct vxfs_inode_info *vip) argument
302 struct super_block *sbp = ip->i_sb; local
[all...]
H A Dvxfs_lookup.c50 #define VXFS_BLOCK_PER_PAGE(sbp) ((PAGE_CACHE_SIZE / (sbp)->s_blocksize))
241 struct super_block *sbp = ip->i_sb; local
242 u_long bsize = sbp->s_blocksize;
266 pblocks = VXFS_BLOCK_PER_PAGE(sbp);
270 block = (u_long)(pos >> sbp->s_blocksize_bits) % pblocks;
H A Dvxfs_inode.h54 #define VXFS_TYPED_PER_BLOCK(sbp) \
55 ((sbp)->s_blocksize / sizeof(struct vxfs_typed))
H A Dvxfs.h263 #define VXFS_SBI(sbp) \
264 ((struct vxfs_sb_info *)(sbp)->u.generic_sbp)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/scsi/
H A Dsg.h120 unsigned char mx_sb_len; /* [i] max length to write to sbp */
126 unsigned char * sbp; /* [i], [*o] points to sense_buffer memory */ member in struct:sg_io_hdr
134 unsigned char sb_len_wr; /* [o] byte count actually written to sbp */
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/scsi/
H A Dsg.h120 unsigned char mx_sb_len; /* [i] max length to write to sbp */
126 unsigned char * sbp; /* [i], [*o] points to sense_buffer memory */ member in struct:sg_io_hdr
134 unsigned char sb_len_wr; /* [o] byte count actually written to sbp */
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Dioctl32.c1175 u8 mx_sb_len; /* [i] max length to write to sbp */
1181 u32 sbp; /* [i], [*o] points to sense_buffer memory */ member in struct:sg_io_hdr32
1189 u8 sb_len_wr; /* [o] byte count actually written to sbp */
1298 sg_io64.sbp = NULL;
1313 err |= __get_user(sbp32, &sg_io32->sbp);
1314 sg_io64.sbp = kmalloc(sg_io64.mx_sb_len, GFP_KERNEL);
1315 if (!sg_io64.sbp) {
1319 if (copy_from_user(sg_io64.sbp,
1372 err |= copy_to_user((void *)A(sbp32), sg_io64.sbp, sg_io64.mx_sb_len);
1387 if (sg_io64.sbp)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dioctl32.c1487 u8 mx_sb_len; /* [i] max length to write to sbp */
1493 u32 sbp; /* [i], [*o] points to sense_buffer memory */ member in struct:sg_io_hdr32
1501 u8 sb_len_wr; /* [o] byte count actually written to sbp */
1610 sg_io64.sbp = NULL;
1625 err |= __get_user(sbp32, &sg_io32->sbp);
1626 sg_io64.sbp = kmalloc(sg_io64.mx_sb_len, GFP_KERNEL);
1627 if (!sg_io64.sbp) {
1631 if (copy_from_user(sg_io64.sbp,
1684 err |= copy_to_user((void *)A(sbp32), sg_io64.sbp, sg_io64.mx_sb_len);
1699 if (sg_io64.sbp)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dsg.c485 if ((hp->mx_sb_len > 0) && hp->sbp) {
492 if ((err = verify_area(VERIFY_WRITE, hp->sbp, len)))
494 __copy_to_user(hp->sbp, srp->sense_b, len);
590 hp->sbp = NULL;

Completed in 102 milliseconds