| /linux/fs/xfs/libxfs/ |
| H A D | xfs_sb.c | 44 struct xfs_sb *sbp) in xfs_sb_validate_v5_features() argument 47 if (sbp->sb_versionnum & ~XFS_SB_VERSION_OKBITS) in xfs_sb_validate_v5_features() 54 if (sbp->sb_features2 & ~(XFS_SB_VERSION2_OKBITS | in xfs_sb_validate_v5_features() 72 if ((sbp->sb_versionnum & V5_VERS_FLAGS) != V5_VERS_FLAGS) in xfs_sb_validate_v5_features() 74 if ((sbp->sb_features2 & V5_FEAT_FLAGS) != V5_FEAT_FLAGS) in xfs_sb_validate_v5_features() 85 struct xfs_sb *sbp) in xfs_sb_good_version() argument 92 if (xfs_sb_is_v5(sbp)) in xfs_sb_good_version() 93 return xfs_sb_validate_v5_features(sbp); in xfs_sb_good_version() 96 if (XFS_SB_VERSION_NUM(sbp) != XFS_SB_VERSION_4) in xfs_sb_good_version() 100 if ((sbp->sb_versionnum & ~XFS_SB_VERSION_OKBITS) || in xfs_sb_good_version() [all …]
|
| H A D | xfs_sb.h | 19 extern void xfs_sb_mount_common(struct xfs_mount *mp, struct xfs_sb *sbp); 20 void xfs_sb_mount_rextsize(struct xfs_mount *mp, struct xfs_sb *sbp); 22 struct xfs_sb *sbp, xfs_agblock_t rextsize); 25 extern void xfs_sb_quota_from_disk(struct xfs_sb *sbp); 26 extern bool xfs_sb_good_version(struct xfs_sb *sbp); 27 extern uint64_t xfs_sb_version_to_features(struct xfs_sb *sbp); 44 bool xfs_validate_rt_geometry(struct xfs_sb *sbp);
|
| /linux/arch/mips/sibyte/common/ |
| H A D | sb_tbprof.c | 70 static struct sbprof_tb sbp; variable 125 #define TB_FULL (sbp.next_tb_sample == MAX_TB_SAMPLES) 186 sbp.tb_armed = 1; in arm_tb() 195 if (sbp.next_tb_sample < MAX_TB_SAMPLES) { in sbprof_tb_intr() 197 u64 *p = sbp.sbprof_tbbuf[sbp.next_tb_sample++]; in sbprof_tb_intr() 219 if (!sbp.tb_enable) { in sbprof_tb_intr() 223 sbp.tb_armed = 0; in sbprof_tb_intr() 224 wake_up_interruptible(&sbp.tb_sync); in sbprof_tb_intr() 233 sbp.tb_armed = 0; in sbprof_tb_intr() 234 if (!sbp.tb_enable) in sbprof_tb_intr() [all …]
|
| /linux/fs/ufs/ |
| H A D | swab.h | 27 fs64_to_cpu(struct super_block *sbp, __fs64 n) in fs64_to_cpu() argument 29 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs64_to_cpu() 36 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64() argument 38 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs64() 45 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu() argument 47 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_to_cpu() 54 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32() argument 56 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs32() 63 fs32_add(struct super_block *sbp, __fs32 *n, int d) in fs32_add() argument 65 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_add() [all …]
|
| H A D | util.h | 585 static inline __fs32 ufs_get_seconds(struct super_block *sbp) in ufs_get_seconds() argument 596 return cpu_to_fs32(sbp, lower_32_bits(now)); in ufs_get_seconds()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l2_sys.c | 26 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show() 28 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show() 42 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show() 54 card->options.sbp.role, state); in qeth_bridge_port_role_state_show() 95 else if (card->options.sbp.reflect_promisc) in qeth_bridge_port_role_store() 101 card->options.sbp.role = role; in qeth_bridge_port_role_store() 103 card->options.sbp.role = role; in qeth_bridge_port_role_store() 137 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show() 162 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() 164 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() [all …]
|
| H A D | qeth_l2.h | 34 return card->options.sbp.role || in qeth_bridgeport_is_in_use() 35 card->options.sbp.reflect_promisc || in qeth_bridgeport_is_in_use() 36 card->options.sbp.hostnotification; in qeth_bridgeport_is_in_use()
|
| H A D | qeth_l2_main.c | 397 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge() 407 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge() 423 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode() 1145 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features() 1146 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features() 1155 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs() 1156 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs() 1158 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs() 1160 qeth_bridgeport_query_ports(card, &card->options.sbp.role, in qeth_l2_setup_bridgeport_attrs() 1163 if (card->options.sbp.hostnotification) { in qeth_l2_setup_bridgeport_attrs() [all …]
|
| H A D | qeth_core.h | 748 struct qeth_sbp_info sbp; /* SETBRIDGEPORT options */ member
|
| H A D | qeth_core_main.c | 5288 card->options.sbp.supported_funcs = 0; in qeth_hardsetup_card()
|
| /linux/include/scsi/ |
| H A D | sg.h | 51 void __user *sbp; /* [i], [*o] points to sense_buffer memory */ member 80 compat_uptr_t sbp; /* [i], [*o] points to sense_buffer memory */ member
|
| /linux/drivers/target/ |
| H A D | Makefile | 32 obj-$(CONFIG_SBP_TARGET) += sbp/
|
| H A D | Kconfig | 49 source "drivers/target/sbp/Kconfig"
|
| /linux/drivers/target/sbp/ |
| H A D | Kconfig | 12 called sbp-target.
|
| /linux/fs/xfs/ |
| H A D | xfs_super.c | 313 xfs_sb_t *sbp = &mp->m_sb; in xfs_set_inode_alloc() local 325 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_set_inode_alloc() 327 icount += sbp->sb_agblocks - 1; in xfs_set_inode_alloc() 328 do_div(icount, sbp->sb_agblocks); in xfs_set_inode_alloc() 335 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc() 2041 struct xfs_sb *sbp = &mp->m_sb; in xfs_remount_rw() local 2063 if (xfs_sb_is_v5(sbp) && in xfs_remount_rw() 2064 xfs_sb_has_ro_compat_feature(sbp, XFS_SB_FEAT_RO_COMPAT_UNKNOWN)) { in xfs_remount_rw() 2067 (sbp->sb_features_ro_compat & in xfs_remount_rw()
|
| H A D | xfs_bmap_util.c | 1544 struct xfs_bstat *sbp = &sxp->sx_stat; in xfs_swap_extents() local 1677 if ((sbp->bs_ctime.tv_sec != ctime.tv_sec) || in xfs_swap_extents() 1678 (sbp->bs_ctime.tv_nsec != ctime.tv_nsec) || in xfs_swap_extents() 1679 (sbp->bs_mtime.tv_sec != mtime.tv_sec) || in xfs_swap_extents() 1680 (sbp->bs_mtime.tv_nsec != mtime.tv_nsec)) { in xfs_swap_extents()
|
| H A D | xfs_log_recover.c | 3369 struct xfs_sb *sbp = &mp->m_sb; in xlog_do_recover() local 3411 xfs_sb_from_disk(sbp, bp->b_addr); in xlog_do_recover() 3415 mp->m_features |= xfs_sb_version_to_features(sbp); in xlog_do_recover()
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 888 struct superblock_smack *sbp = smack_superblock(dentry->d_sb); in smack_sb_statfs() 895 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); 896 rc = smk_bu_current("statfs", sbp->smk_floor, MAY_READ, rc); 1522 struct super_block *sbp = dentry->d_sb; in smack_inode_removexattr() 1523 struct superblock_smack *sbsp = smack_superblock(sbp); in smack_inode_removexattr() 1621 struct super_block *sbp; in smack_inode_getsecurity() 1640 sbp = ip->i_sb; in smack_inode_getsecurity() 1641 if (sbp->s_magic != SOCKFS_MAGIC) in smack_inode_getsecurity() 3532 struct super_block *sbp; in smack_d_instantiate() 3555 sbp in smack_d_instantiate() 879 struct superblock_smack *sbp = smack_superblock(dentry->d_sb); smack_sb_statfs() local 1513 struct super_block *sbp = dentry->d_sb; smack_inode_removexattr() local 1612 struct super_block *sbp; smack_inode_getsecurity() local 3506 struct super_block *sbp; smack_d_instantiate() local [all...] |
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | cx88-devel.rst | 113 http://www.xs4all.nl/~sbp/knowledge/ir/rc5.htm
|
| /linux/drivers/scsi/ |
| H A D | sg.c | 571 if ((hp->mx_sb_len > 0) && hp->sbp) { in sg_new_read() 578 if (copy_to_user(hp->sbp, srp->sense_b, len)) { in sg_new_read() 680 hp->sbp = NULL; in sg_write()
|
| /linux/ |
| H A D | MAINTAINERS | 10173 F: drivers/target/sbp/
|