Home
last modified time | relevance | path

Searched refs:s_state (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/fs/quota/
Dquota.c128 tstate = state.s_state + type; in quota_getinfo()
336 if (state->s_state[USRQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
338 if (state->s_state[USRQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
340 if (state->s_state[GRPQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
342 if (state->s_state[GRPQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
344 if (state->s_state[PRJQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
346 if (state->s_state[PRJQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
370 fqs->qs_btimelimit = state.s_state[type].spc_timelimit; in quota_getstate()
371 fqs->qs_itimelimit = state.s_state[type].ino_timelimit; in quota_getstate()
372 fqs->qs_rtbtimelimit = state.s_state[type].rt_spc_timelimit; in quota_getstate()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_quotaops.c67 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
69 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
71 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
73 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
75 state->s_state[PRJQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
77 state->s_state[PRJQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
79 xfs_qm_fill_state(&state->s_state[USRQUOTA], mp, q->qi_uquotaip, in xfs_fs_get_quota_state()
81 xfs_qm_fill_state(&state->s_state[GRPQUOTA], mp, q->qi_gquotaip, in xfs_fs_get_quota_state()
83 xfs_qm_fill_state(&state->s_state[PRJQUOTA], mp, q->qi_pquotaip, in xfs_fs_get_quota_state()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_uc.c86 switch (qp->s_state) { in qib_make_uc_req()
108 qp->s_state = OP(SEND_FIRST); in qib_make_uc_req()
113 qp->s_state = OP(SEND_ONLY); in qib_make_uc_req()
115 qp->s_state = in qib_make_uc_req()
137 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_uc_req()
142 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_uc_req()
144 qp->s_state = in qib_make_uc_req()
163 qp->s_state = OP(SEND_MIDDLE); in qib_make_uc_req()
172 qp->s_state = OP(SEND_LAST); in qib_make_uc_req()
174 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in qib_make_uc_req()
[all …]
Dqib_rc.c276 switch (qp->s_state) { in qib_make_rc_req()
319 qp->s_state = OP(SEND_FIRST); in qib_make_rc_req()
324 qp->s_state = OP(SEND_ONLY); in qib_make_rc_req()
326 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in qib_make_rc_req()
354 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_rc_req()
359 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_rc_req()
361 qp->s_state = OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in qib_make_rc_req()
395 qp->s_state = OP(RDMA_READ_REQUEST); in qib_make_rc_req()
421 qp->s_state = OP(COMPARE_SWAP); in qib_make_rc_req()
427 qp->s_state = OP(FETCH_ADD); in qib_make_rc_req()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duc.c115 switch (qp->s_state) { in hfi1_make_uc_req()
163 qp->s_state = OP(SEND_FIRST); in hfi1_make_uc_req()
168 qp->s_state = OP(SEND_ONLY); in hfi1_make_uc_req()
170 qp->s_state = in hfi1_make_uc_req()
192 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_uc_req()
197 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_uc_req()
199 qp->s_state = in hfi1_make_uc_req()
218 qp->s_state = OP(SEND_MIDDLE); in hfi1_make_uc_req()
228 qp->s_state = OP(SEND_LAST); in hfi1_make_uc_req()
230 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in hfi1_make_uc_req()
[all …]
Drc.c512 switch (qp->s_state) { in hfi1_make_rc_req()
601 qp->s_state = OP(SEND_FIRST); in hfi1_make_rc_req()
606 qp->s_state = OP(SEND_ONLY); in hfi1_make_rc_req()
608 qp->s_state = OP(SEND_ONLY_WITH_IMMEDIATE); in hfi1_make_rc_req()
613 qp->s_state = OP(SEND_ONLY_WITH_INVALIDATE); in hfi1_make_rc_req()
643 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_rc_req()
648 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_rc_req()
650 qp->s_state = in hfi1_make_rc_req()
684 priv->s_state = TID_OP(WRITE_RESP); in hfi1_make_rc_req()
721 priv->s_state == in hfi1_make_rc_req()
[all …]
Dtrace_tid.h750 __field(u8, s_state)
771 __entry->s_state = qp->s_state;
790 __entry->s_state,
884 __field(u8, s_state)
903 __entry->s_state = qp->s_state;
922 __entry->s_state,
990 __field(u8, s_state)
1007 __entry->s_state = priv->s_state;
1023 __entry->s_state,
1487 __field(u8, s_state)
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_mount.c319 le32_to_cpu(j_sb->s_flag), le32_to_cpu(j_sb->s_state), in chkSuper()
346 if (j_sb->s_state != cpu_to_le32(FM_CLEAN) && in chkSuper()
353 sbi->state = le32_to_cpu(j_sb->s_state); in chkSuper()
366 le32_to_cpu(j_sb->s_state) > FM_STATE_MAX) { in chkSuper()
426 j_sb->s_state = cpu_to_le32(state); in updateSuper()
Djfs_superblock.h46 __le32 s_state; /* 4: mount/unmount/recovery state: member
Dresize.c230 j_sb->s_state |= cpu_to_le32(FM_EXTENDFS); in jfs_extendfs()
488 j_sb->s_state &= cpu_to_le32(~FM_EXTENDFS); in jfs_extendfs()
/kernel/linux/linux-5.10/fs/ceph/
Dmds_client.c742 s->s_state = CEPH_MDS_SESSION_NEW; in register_session()
1373 session->s_state = CEPH_MDS_SESSION_OPENING; in __open_session()
1401 if (session->s_state == CEPH_MDS_SESSION_NEW || in __open_export_target_session()
1402 session->s_state == CEPH_MDS_SESSION_CLOSING) { in __open_export_target_session()
1847 session->s_mds, ceph_session_state_name(session->s_state), seq); in send_flushmsg_ack()
1898 session->s_mds, ceph_session_state_name(session->s_state), in request_close_session()
1913 if (session->s_state >= CEPH_MDS_SESSION_CLOSING) in __close_session()
1915 session->s_state = CEPH_MDS_SESSION_CLOSING; in __close_session()
2185 if (session->s_state == CEPH_MDS_SESSION_OPEN || in ceph_cap_release_work()
2186 session->s_state == CEPH_MDS_SESSION_HUNG) in ceph_cap_release_work()
[all …]
/kernel/linux/linux-5.10/fs/minix/
Dinode.c48 sbi->s_ms->s_state = sbi->s_mount_state; in minix_put_super()
126 if (ms->s_state & MINIX_VALID_FS || in minix_remount()
131 ms->s_state = sbi->s_mount_state; in minix_remount()
136 sbi->s_mount_state = ms->s_state; in minix_remount()
137 ms->s_state &= ~MINIX_VALID_FS; in minix_remount()
200 sbi->s_mount_state = ms->s_state; in minix_fill_super()
315 ms->s_state &= ~MINIX_VALID_FS; in minix_fill_super()
/kernel/linux/linux-5.10/include/linux/
Dsysv_fs.h92 __fs32 s_state; /* file system state: 0x7c269d38-s_time means clean */ member
120 __fs32 s_state; /* file system state: 0xcb096f43 means clean */ member
/kernel/linux/linux-5.10/drivers/misc/
Dtifm_7xx1.c80 unsigned int s_state; in tifm_7xx1_toggle_sock_power() local
93 s_state = readl(sock_addr + SOCK_PRESENT_STATE); in tifm_7xx1_toggle_sock_power()
94 if (!(TIFM_SOCK_STATE_OCCUPIED & s_state)) in tifm_7xx1_toggle_sock_power()
105 writel((s_state & TIFM_CTRL_POWER_MASK) | 0x0c00, in tifm_7xx1_toggle_sock_power()
/kernel/linux/linux-5.10/fs/nilfs2/
Dsuper.c97 sbp[0]->s_state |= cpu_to_le16(NILFS_ERROR_FS); in nilfs_set_error()
99 sbp[1]->s_state |= cpu_to_le16(NILFS_ERROR_FS); in nilfs_set_error()
316 sbp[0]->s_state = cpu_to_le16(nilfs->ns_mount_state); in nilfs_cleanup_super()
324 sbp[1]->s_state = sbp[0]->s_state; in nilfs_cleanup_super()
441 sbp[0]->s_state = cpu_to_le16(le16_to_cpu(sbp[0]->s_state) & in nilfs_resize_fs()
826 sbp[0]->s_state = in nilfs_setup_super()
827 cpu_to_le16(le16_to_cpu(sbp[0]->s_state) & ~NILFS_VALID_FS); in nilfs_setup_super()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_layer.c58 struct sun4i_layer_state *s_state = state_to_sun4i_layer_state(state); in sun4i_backend_layer_destroy_state() local
62 kfree(s_state); in sun4i_backend_layer_destroy_state()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dminix_fs.h60 __u16 s_state; member
Dnilfs2_ondisk.h93 __le16 s_state; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dminix_fs.h47 __u16 s_state; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dminix_fs.h75 __u16 s_state; member
/kernel/linux/linux-5.10/fs/ext2/
Dsuper.c60 es->s_state |= cpu_to_le16(EXT2_ERROR_FS); in ext2_error()
159 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_put_super()
1024 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext2_fill_super()
1269 if (es->s_state & cpu_to_le16(EXT2_VALID_FS)) { in ext2_sync_fs()
1271 es->s_state &= cpu_to_le16(~EXT2_VALID_FS); in ext2_sync_fs()
1293 sbi->s_es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_freeze()
1342 if (le16_to_cpu(es->s_state) & EXT2_VALID_FS || in ext2_remount()
1350 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_remount()
1375 sbi->s_mount_state = le16_to_cpu(es->s_state); in ext2_remount()
/kernel/linux/linux-5.10/fs/gfs2/
Dquota.c1600 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1601 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1604 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1606 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1613 state->s_state[USRQUOTA].ino = in gfs2_quota_get_state()
1615 state->s_state[USRQUOTA].blocks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_state()
1617 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
1618 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dcpuid.c739 bool s_state; in __do_cpuid_func() local
741 s_state = false; in __do_cpuid_func()
743 s_state = true; in __do_cpuid_func()
759 if (WARN_ON_ONCE(!entry->eax || (entry->ecx & 0x1) != s_state)) { in __do_cpuid_func()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2350 struct mlx4_slave_state *s_state; in mlx4_multi_func_init() local
2395 s_state = &priv->mfunc.master.slave_state[i]; in mlx4_multi_func_init()
2396 s_state->last_cmd = MLX4_COMM_CMD_RESET; in mlx4_multi_func_init()
2397 s_state->vst_qinq_supported = false; in mlx4_multi_func_init()
2400 s_state->event_eq[j].eqn = -1; in mlx4_multi_func_init()
2409 s_state->vlan_filter[port] = in mlx4_multi_func_init()
2412 if (!s_state->vlan_filter[port]) { in mlx4_multi_func_init()
2414 kfree(s_state->vlan_filter[port]); in mlx4_multi_func_init()
2420 INIT_LIST_HEAD(&s_state->mcast_filters[port]); in mlx4_multi_func_init()
2432 spin_lock_init(&s_state->lock); in mlx4_multi_func_init()
/kernel/linux/linux-5.10/fs/sysv/
Dsuper.c102 sbi->s_sb_state = &sbd->s_state; in detected_sysv4()
130 sbi->s_sb_state = &sbd->s_state; in detected_sysv2()

12