/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 390 clear_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_nic_net_up() 403 set_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_nic_net_up() 447 if (!test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_nic_net_open() 527 if (test_and_set_bit(HNS3_NIC_STATE_DOWN, &priv->state)) in hns3_nic_net_stop() 1355 * available and has not seen the queue stopped state performed in hns3_nic_maybe_stop_tx() 1359 !test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_nic_maybe_stop_tx() 1674 if (test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) in hns3_nic_get_stats64() 1895 netdev_info(ndev, "queue state: 0x%lx, delta msecs: %u\n", in hns3_get_tx_timeo_queue_info() 1896 q->state, in hns3_get_tx_timeo_queue_info() 1915 "tx_timeout count: %llu, queue id: %d, SW_NTU: 0x%x, SW_NTC: 0x%x, napi state in hns3_get_tx_timeo_queue_info() 2217 hns3_error_detected(struct pci_dev *pdev, pci_channel_state_t state) hns3_error_detected() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/vxlan/ |
H A D | vxlan_core.c | 79 u16 state; /* see ndm_state */ member 297 ndm->ndm_state = fdb->state; in vxlan_fdb_info() 458 .state = NUD_STALE, in vxlan_ip_miss() 471 .state = NUD_STALE, in vxlan_fdb_miss() 854 __u16 state, __be32 src_vni, in vxlan_fdb_alloc() 862 f->state = state; in vxlan_fdb_alloc() 949 __u16 state, __be16 port, __be32 src_vni, in vxlan_fdb_create() 963 f = vxlan_fdb_alloc(vxlan, mac, state, src_vni, ndm_flags); in vxlan_fdb_create() 1042 __u16 state, __u1 in vxlan_fdb_update_existing() 853 vxlan_fdb_alloc(struct vxlan_dev *vxlan, const u8 *mac, __u16 state, __be32 src_vni, __u16 ndm_flags) vxlan_fdb_alloc() argument 947 vxlan_fdb_create(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, struct vxlan_fdb **fdb, struct netlink_ext_ack *extack) vxlan_fdb_create() argument 1040 vxlan_fdb_update_existing(struct vxlan_dev *vxlan, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 vni, __u32 ifindex, __u16 ndm_flags, struct vxlan_fdb *f, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) vxlan_fdb_update_existing() argument 1140 vxlan_fdb_update_create(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) vxlan_fdb_update_create() argument 1177 vxlan_fdb_update(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) vxlan_fdb_update() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 502 unsigned long state; member 2223 if (unlikely(test_bit(__MVNETA_DOWN, &pp->state))) in mvneta_xdp_xmit() 3783 clear_bit(__MVNETA_DOWN, &pp->state); in mvneta_start_dev() 3790 set_bit(__MVNETA_DOWN, &pp->state); in mvneta_stop_dev() 3964 const struct phylink_link_state *state) in mvneta_pcs_validate() 3971 if (phy_interface_mode_is_8023z(state->interface) && in mvneta_pcs_validate() 3972 !phylink_test(state->advertising, Autoneg)) in mvneta_pcs_validate() 3979 struct phylink_link_state *state) in mvneta_pcs_get_state() 3987 state->speed = in mvneta_pcs_get_state() 3988 state in mvneta_pcs_get_state() 3962 mvneta_pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state) mvneta_pcs_validate() argument 3978 mvneta_pcs_get_state(struct phylink_pcs *pcs, struct phylink_link_state *state) mvneta_pcs_get_state() argument 4122 mvneta_mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state) mvneta_mac_config() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_profile.cpp | 178 for (auto &state : states) { in GetDevicesByStates() 179 if (state == static_cast<int>(BTConnectState::DISCONNECTED)) { in GetDevicesByStates() 186 if (GetDeviceState(rawAddr) == state) { in GetDevicesByStates() 363 /// Sets the information which is used in the "CONNECTED" state of the control state machine. in SendPassCmd() 406 HILOGI("Address: %{public}s - key: %{public}x - state: %{public}x", GET_ENCRYPT_AVRCP_ADDR(rawAddr), in ReceivePassRsp() 413 void AvrcCtProfile::InformPassRsp(const RawAddress &rawAddr, uint8_t button, uint8_t state, int result) const in InformPassRsp() argument 415 HILOGI("address: %{public}s, button: %{public}d, state: %{public}d, result: %{public}d", in InformPassRsp() 416 GET_ENCRYPT_AVRCP_ADDR(rawAddr), button, state, result); in InformPassRsp() 418 switch (state) { in InformPassRsp() 431 ProcessPassTimeout(RawAddress rawAddr, uint8_t key, uint8_t state) ProcessPassTimeout() argument 441 PassTimeoutCallback(const RawAddress &rawAddr, uint8_t key, uint8_t state) PassTimeoutCallback() argument [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_lane_pending_ctl.c | 622 CoreSessionState state = CORE_SESSION_STATE_INIT; in CheckSocketChannelState() local 623 TransGetSocketChannelStateBySession(param->sessionName, param->sessionId, &state); in CheckSocketChannelState() 624 if (state == CORE_SESSION_STATE_CANCELLING) { in CheckSocketChannelState() 625 TRANS_LOGI(TRANS_SVC, "cancel state laneHandle=%{public}u", laneHandle); in CheckSocketChannelState() 659 TRANS_CHECK_AND_RETURN_LOGE(ret == SOFTBUS_OK, TRANS_SVC, "check socketChannel state failed."); in TransOnAsyncLaneSuccess() 1260 CoreSessionState state = CORE_SESSION_STATE_INIT; in TransGetLaneInfo() local 1261 TransGetSocketChannelStateBySession(param->sessionName, param->sessionId, &state); in TransGetLaneInfo() 1262 TRANS_CHECK_AND_RETURN_RET_LOGW(state != CORE_SESSION_STATE_CANCELLING, SOFTBUS_TRANS_STOP_BIND_BY_CANCEL, in TransGetLaneInfo() 1263 TRANS_SVC, "cancel state, return cancel code."); in TransGetLaneInfo() 1335 CoreSessionState state in TransAsyncGetLaneInfoByOption() local 1380 CoreSessionState state = CORE_SESSION_STATE_INIT; TransAsyncGetLaneInfoByQos() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | fsl_lpuart.c | 419 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx() 467 return uart_circ_empty(&port->state->xmit) || uart_tx_stopped(port); in lpuart_stopped_or_empty() 474 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx_complete() 690 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_transmit_buffer() 720 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart32_transmit_buffer() 840 struct tty_port *port = &sport->port.state->port; in lpuart_rxint() 919 struct tty_port *port = &sport->port.state->port; in lpuart32_rxint() 1053 struct tty_port *port = &sport->port.state->port; in lpuart_copy_rx_to_tty() 1054 struct dma_tx_state state; in lpuart_copy_rx_to_tty() local 1117 dmastat = dmaengine_tx_status(chan, sport->dma_rx_cookie, &state); in lpuart_copy_rx_to_tty() [all...] |
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_configfs.c | 2377 char state; in target_dev_lba_map_show() local 2391 state = 'O'; in target_dev_lba_map_show() 2394 state = 'A'; in target_dev_lba_map_show() 2397 state = 'S'; in target_dev_lba_map_show() 2400 state = 'U'; in target_dev_lba_map_show() 2403 state = '.'; in target_dev_lba_map_show() 2407 mem->lba_map_mem_alua_pg_id, state); in target_dev_lba_map_show() 2422 char state; in target_dev_lba_map_store() local 2461 pr_err("Invalid line %d, missing state definitions\n", in target_dev_lba_map_store() 2474 while (sscanf(ptr, "%d:%c", &pg_id, &state) in target_dev_lba_map_store() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | xprtsock.c | 1148 clear_bit(XPRT_CLOSE_WAIT, &xprt->state); in xs_sock_reset_connection_flags() 1149 clear_bit(XPRT_CLOSING, &xprt->state); in xs_sock_reset_connection_flags() 1155 * xs_error_report - callback to handle TCP socket state errors 1201 set_bit(XPRT_CLOSE_WAIT, &xprt->state); in xs_reset_transport() 1236 * This is used when all requests are complete; ie, no DRC state remains 1422 * xs_tcp_state_change - callback to handle TCP socket state changes 1423 * @sk: socket whose state has changed 1435 dprintk("RPC: state %x conn %d dead %d zapped %d sk_shutdown %d\n", in xs_tcp_state_change() 1460 set_bit(XPRT_CLOSING, &xprt->state); in xs_tcp_state_change() 1462 clear_bit(XPRT_CONNECTED, &xprt->state); in xs_tcp_state_change() [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smbdirect.c | 2180 if (smbdirect_mr->state == MR_ERROR) { in smbd_mr_recovery_work() 2206 smbdirect_mr->state = MR_READY; in smbd_mr_recovery_work() 2208 /* smbdirect_mr->state is updated by this function in smbd_mr_recovery_work() 2226 if (mr->state == MR_INVALIDATED) in destroy_mr_list() 2275 smbdirect_mr->state = MR_READY; in allocate_mr_list() 2324 if (ret->state == MR_READY) { in get_mr() 2325 ret->state = MR_REGISTERED; in get_mr() 2444 smbdirect_mr->state = MR_ERROR; in smbd_register_mr() 2460 smbdirect_mr->state = MR_INVALIDATED; in local_inv_done() 2463 smbdirect_mr->state in local_inv_done() [all...] |
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | protocol.c | 406 * the msk state. in mptcp_check_data_fin() 409 * DATA_FIN, send the DATA_ACK now and do state transition. If in mptcp_check_data_fin() 609 * it's time to ack the DATA_FIN and change socket state, but in move_skbs_to_msk() 610 * this is not a good place to change state. Let the workqueue in move_skbs_to_msk() 1929 /* current state: new state: action: */ 2575 if (sock->state != SS_UNCONNECTED && msk->subflow) { in mptcp_stream_connect() 2576 /* pending connection or invalid state, let existing subflow in mptcp_stream_connect() 2604 sock->state = ssock->state; in mptcp_stream_connect() 2708 int state; mptcp_poll() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smbdirect.c | 2061 if (smbdirect_mr->state == MR_ERROR) { in smbd_mr_recovery_work() 2087 smbdirect_mr->state = MR_READY; in smbd_mr_recovery_work() 2089 /* smbdirect_mr->state is updated by this function in smbd_mr_recovery_work() 2107 if (mr->state == MR_INVALIDATED) in destroy_mr_list() 2155 smbdirect_mr->state = MR_READY; in allocate_mr_list() 2204 if (ret->state == MR_READY) { in get_mr() 2205 ret->state = MR_REGISTERED; in get_mr() 2329 smbdirect_mr->state = MR_ERROR; in smbd_register_mr() 2345 smbdirect_mr->state = MR_INVALIDATED; in local_inv_done() 2348 smbdirect_mr->state in local_inv_done() [all...] |
/kernel/linux/linux-6.6/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 52 /* urb state*/ 653 hcd->state = HC_STATE_HALT; in ehci_reset() 681 /* one-time init, only for memory state */ 1358 int state; in handle_done_ptds() local 1386 state = check_int_transfer(hcd, &ptd, in handle_done_ptds() 1401 state = check_atl_transfer(hcd, &ptd, in handle_done_ptds() 1413 switch (state) { in handle_done_ptds() 1470 if (state == PTD_STATE_QTD_RELOAD) in handle_done_ptds() 1474 if (state != PTD_STATE_QTD_RELOAD) in handle_done_ptds() 1477 if (state ! in handle_done_ptds() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_xmit.c | 704 } else if ((check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) && (!(psta->state & _FW_LINKED))) { in update_attrib() 716 if (!(psta->state & _FW_LINKED)) in update_attrib() 942 if (!(psta->state & _FW_LINKED)) in rtw_make_wlanhdr() 1232 if (!(psta->state & _FW_LINKED) || !pxmitframe->buf_addr) in rtw_mgmt_xmitframe_coalesce() 1809 if (!(psta->state & _FW_LINKED)) in rtw_xmit_classifier() 2031 if (!(psta->state & _FW_LINKED)) in xmitframe_enqueue_for_sleeping_sta() 2074 if (psta->state&WIFI_SLEEP_STATE) { in xmitframe_enqueue_for_sleeping_sta() 2171 psta->state |= WIFI_SLEEP_STATE; in stop_sta_xmit() 2263 if (psta->state&WIFI_SLEEP_STATE) in wakeup_sta_to_xmit() 2264 psta->state in wakeup_sta_to_xmit() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 1438 union dc_3dlut_state *state; in dcn30_acquire_post_bldn_3dlut() local 1448 state = &pool->mpc_lut[i]->state; in dcn30_acquire_post_bldn_3dlut() 1450 state->bits.rmu_idx_valid = 1; in dcn30_acquire_post_bldn_3dlut() 1451 state->bits.rmu_mux_num = i; in dcn30_acquire_post_bldn_3dlut() 1452 if (state->bits.rmu_mux_num == 0) in dcn30_acquire_post_bldn_3dlut() 1453 state->bits.mpc_rmu0_mux = mpcc_id; in dcn30_acquire_post_bldn_3dlut() 1454 else if (state->bits.rmu_mux_num == 1) in dcn30_acquire_post_bldn_3dlut() 1455 state->bits.mpc_rmu1_mux = mpcc_id; in dcn30_acquire_post_bldn_3dlut() 1456 else if (state in dcn30_acquire_post_bldn_3dlut() [all...] |
/kernel/linux/linux-6.6/net/smc/ |
H A D | smc_core.c | 134 if (lnk->state != expected || lnk->link_is_asym) in smcr_lgr_conn_assign_link() 145 if (lnk2->state == expected && in smcr_lgr_conn_assign_link() 407 if (nla_put_u32(skb, SMC_NLA_LINK_STATE, link->state)) in smc_nl_fill_lgr_link() 662 lnk->state = SMC_LNK_INACTIVE; in smcr_lgr_link_deactivate_all() 802 lnk->state = SMC_LNK_ACTIVATING; in smcr_link_init() 818 lnk->state = SMC_LNK_UNUSED; in smcr_link_init() 977 /* set prod cursor to old state, enforce tx_rdma_writes() */ in smc_switch_cursor() 1064 /* conn->lnk not yet set in SMC_INIT state */ in smc_switch_conns() 1269 lnk->state = SMC_LNK_UNUSED; in __smcr_link_clear() 1279 lnk->state in smcr_link_clear() [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | nl80211.c | 2114 int flags, struct nl80211_dump_wiphy_state *state) in nl80211_send_wiphy() 2131 if (WARN_ON(!state)) in nl80211_send_wiphy() 2144 switch (state->split_start) { in nl80211_send_wiphy() 2186 state->split_start++; in nl80211_send_wiphy() 2187 if (state->split) in nl80211_send_wiphy() 2233 state->split_start++; in nl80211_send_wiphy() 2234 if (state->split) in nl80211_send_wiphy() 2241 state->split_start++; in nl80211_send_wiphy() 2242 if (state->split) in nl80211_send_wiphy() 2251 for (band = state in nl80211_send_wiphy() 2111 nl80211_send_wiphy(struct cfg80211_registered_device *rdev, enum nl80211_commands cmd, struct sk_buff *msg, u32 portid, u32 seq, int flags, struct nl80211_dump_wiphy_state *state) nl80211_send_wiphy() argument 2692 nl80211_dump_wiphy_parse(struct sk_buff *skb, struct netlink_callback *cb, struct nl80211_dump_wiphy_state *state) nl80211_dump_wiphy_parse() argument 2743 struct nl80211_dump_wiphy_state *state = (void *)cb->args[0]; nl80211_dump_wiphy() local 2823 struct nl80211_dump_wiphy_state state = {}; nl80211_get_wiphy() local 3553 struct nl80211_dump_wiphy_state state = { nl80211_dump_interface() local 11342 bool state; nl80211_set_power_save() local 15589 struct nl80211_dump_wiphy_state state = {}; nl80211_notify_wiphy() local 17589 nl80211_netlink_notify(struct notifier_block * nb, unsigned long state, void *_notify) nl80211_netlink_notify() argument [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 1956 auto state = SCENE_NS::GraphicsState(); in GetGraphicsState() local 1958 auto interface = interface_pointer_cast<SCENE_NS::IGraphicsState>(state); in GetGraphicsState() 1971 SCENE_PLUGIN_VERBOSE_LOG("Got graphics state: %s variant: %s", in GetGraphicsState() 1978 if (auto shRef = interface_cast<ISceneHolderRef>(state)) { in GetGraphicsState() 1983 return state; in GetGraphicsState() 1992 CORE_NS::Entity materialEntity, ShaderType type, const RENDER_NS::GraphicsState& state) in SetGraphicsState() 2014 auto hash = engineShaderManager.HashGraphicsState(state); in SetGraphicsState() 2018 engineShaderManager.CreateGraphicsState({ desc.path, state }); in SetGraphicsState() 2045 auto state = engineShaderManager.GetGraphicsState(rh); in GetGraphicsState() local 2047 typed->Add(state); in GetGraphicsState() 1991 SetGraphicsState( CORE_NS::Entity materialEntity, ShaderType type, const RENDER_NS::GraphicsState& state) SetGraphicsState() argument 2131 SetGraphicsState(CORE_NS::Entity materialEntity, ShaderType type, SCENE_NS::IGraphicsState::Ptr state) SetGraphicsState() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v6_0.c | 2396 /* clear state block */ in gfx_v6_0_rlc_init() 2850 /* begin clear state */ in gfx_v6_0_get_csb_size() 2852 /* context control state */ in gfx_v6_0_get_csb_size() 2865 /* end clear state */ in gfx_v6_0_get_csb_size() 2867 /* clear state */ in gfx_v6_0_get_csb_size() 3235 enum amdgpu_interrupt_state state) in gfx_v6_0_set_gfx_eop_interrupt_state() 3239 switch (state) { in gfx_v6_0_set_gfx_eop_interrupt_state() 3257 enum amdgpu_interrupt_state state) in gfx_v6_0_set_compute_eop_interrupt_state() 3260 switch (state){ in gfx_v6_0_set_compute_eop_interrupt_state() 3298 enum amdgpu_interrupt_state state) in gfx_v6_0_set_priv_reg_fault_state() 3234 gfx_v6_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, enum amdgpu_interrupt_state state) gfx_v6_0_set_gfx_eop_interrupt_state() argument 3255 gfx_v6_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, int ring, enum amdgpu_interrupt_state state) gfx_v6_0_set_compute_eop_interrupt_state() argument 3295 gfx_v6_0_set_priv_reg_fault_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, enum amdgpu_interrupt_state state) gfx_v6_0_set_priv_reg_fault_state() argument 3320 gfx_v6_0_set_priv_inst_fault_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, enum amdgpu_interrupt_state state) gfx_v6_0_set_priv_inst_fault_state() argument 3345 gfx_v6_0_set_eop_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, enum amdgpu_interrupt_state state) gfx_v6_0_set_eop_interrupt_state() argument 3421 gfx_v6_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) gfx_v6_0_set_clockgating_state() argument 3443 gfx_v6_0_set_powergating_state(void *handle, enum amd_powergating_state state) gfx_v6_0_set_powergating_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 173 .state = 0, 1649 union dc_3dlut_state *state; in dcn30_acquire_post_bldn_3dlut() local 1659 state = &pool->mpc_lut[i]->state; in dcn30_acquire_post_bldn_3dlut() 1661 state->bits.rmu_idx_valid = 1; in dcn30_acquire_post_bldn_3dlut() 1662 state->bits.rmu_mux_num = i; in dcn30_acquire_post_bldn_3dlut() 1663 if (state->bits.rmu_mux_num == 0) in dcn30_acquire_post_bldn_3dlut() 1664 state->bits.mpc_rmu0_mux = mpcc_id; in dcn30_acquire_post_bldn_3dlut() 1665 else if (state->bits.rmu_mux_num == 1) in dcn30_acquire_post_bldn_3dlut() 1666 state in dcn30_acquire_post_bldn_3dlut() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_iwarp.c | 326 enum qed_iwarp_qp_state qed_roce2iwarp_state(enum qed_roce_qp_state state) in qed_roce2iwarp_state() argument 328 switch (state) { in qed_roce2iwarp_state() 347 qed_iwarp2roce_state(enum qed_iwarp_qp_state state) in qed_iwarp2roce_state() argument 349 switch (state) { in qed_iwarp2roce_state() 520 while (READ_ONCE(ep->state) != QED_IWARP_EP_CLOSED && in qed_iwarp_destroy_qp() 524 if (ep->state != QED_IWARP_EP_CLOSED) in qed_iwarp_destroy_qp() 525 DP_NOTICE(p_hwfn, "ep state close timeout state=%x\n", in qed_iwarp_destroy_qp() 526 ep->state); in qed_iwarp_destroy_qp() 551 ep->state in qed_iwarp_create_ep() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | slab.c | 2382 * Initialize the state based on the randomization methode available. 2385 static bool freelist_state_initialize(union freelist_init_state *state, in freelist_state_initialize() argument 2395 /* Use a random state if the pre-computed list is not available */ in freelist_state_initialize() 2397 prandom_seed_state(&state->rnd_state, rand); in freelist_state_initialize() 2400 state->list = cachep->random_seq; in freelist_state_initialize() 2401 state->count = count; in freelist_state_initialize() 2402 state->pos = rand % count; in freelist_state_initialize() 2409 static freelist_idx_t next_random_slot(union freelist_init_state *state) in next_random_slot() argument 2411 if (state->pos >= state in next_random_slot() 2430 union freelist_init_state state; shuffle_freelist() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp.c | 73 * state ack error. 132 * Alan Cox : Kept the state trace facility since 155 * Alan Cox : Fixed the closing state machine to 171 * ack if state is TCP_CLOSED. 523 int state; in tcp_poll() local 527 state = inet_sk_state_load(sk); in tcp_poll() 528 if (state == TCP_LISTEN) in tcp_poll() 532 * by poll logic and correct handling of state changes in tcp_poll() 554 * in state CLOSE_WAIT. One solution is evident --- to set EPOLLHUP in tcp_poll() 566 if (shutdown == SHUTDOWN_MASK || state in tcp_poll() 2407 tcp_set_state(struct sock *sk, int state) tcp_set_state() argument 2565 int state; __tcp_close() local 2745 tcp_need_reset(int state) tcp_need_reset() argument [all...] |
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | fc.c | 103 atomic_t state; member 381 /* found an lport, but something about its state is bad */ in nvme_fc_register_localport() 559 switch (ctrl->ctrl.state) { in nvme_fc_resume_controller() 692 /* found an rport, but something about its state is bad */ in nvme_fc_register_remoteport() 795 switch (ctrl->ctrl.state) { in nvme_fc_ctrl_connectivity_loss() 1822 atomic_set(&op->state, FCPOP_STATE_UNINIT); in __nvme_fc_exit_request() 1841 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op() 1843 atomic_set(&op->state, opstate); in __nvme_fc_abort_op() 1953 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done() 2047 atomic_set(&op->state, FCPOP_STATE_IDL in nvme_fc_fcpio_done() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_iwarp.c | 328 enum qed_iwarp_qp_state qed_roce2iwarp_state(enum qed_roce_qp_state state) in qed_roce2iwarp_state() argument 330 switch (state) { in qed_roce2iwarp_state() 349 qed_iwarp2roce_state(enum qed_iwarp_qp_state state) in qed_iwarp2roce_state() argument 351 switch (state) { in qed_iwarp2roce_state() 522 while (READ_ONCE(ep->state) != QED_IWARP_EP_CLOSED && in qed_iwarp_destroy_qp() 526 if (ep->state != QED_IWARP_EP_CLOSED) in qed_iwarp_destroy_qp() 527 DP_NOTICE(p_hwfn, "ep state close timeout state=%x\n", in qed_iwarp_destroy_qp() 528 ep->state); in qed_iwarp_destroy_qp() 553 ep->state in qed_iwarp_create_ep() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v6_0.c | 2359 /* clear state block */ in gfx_v6_0_rlc_init() 2814 /* begin clear state */ in gfx_v6_0_get_csb_size() 2816 /* context control state */ in gfx_v6_0_get_csb_size() 2829 /* end clear state */ in gfx_v6_0_get_csb_size() 2831 /* clear state */ in gfx_v6_0_get_csb_size() 3200 enum amdgpu_interrupt_state state) in gfx_v6_0_set_gfx_eop_interrupt_state() 3204 switch (state) { in gfx_v6_0_set_gfx_eop_interrupt_state() 3222 enum amdgpu_interrupt_state state) in gfx_v6_0_set_compute_eop_interrupt_state() 3225 switch (state){ in gfx_v6_0_set_compute_eop_interrupt_state() 3263 enum amdgpu_interrupt_state state) in gfx_v6_0_set_priv_reg_fault_state() 3199 gfx_v6_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, enum amdgpu_interrupt_state state) gfx_v6_0_set_gfx_eop_interrupt_state() argument 3220 gfx_v6_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, int ring, enum amdgpu_interrupt_state state) gfx_v6_0_set_compute_eop_interrupt_state() argument 3260 gfx_v6_0_set_priv_reg_fault_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, enum amdgpu_interrupt_state state) gfx_v6_0_set_priv_reg_fault_state() argument 3285 gfx_v6_0_set_priv_inst_fault_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, enum amdgpu_interrupt_state state) gfx_v6_0_set_priv_inst_fault_state() argument 3310 gfx_v6_0_set_eop_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *src, unsigned type, enum amdgpu_interrupt_state state) gfx_v6_0_set_eop_interrupt_state() argument 3386 gfx_v6_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) gfx_v6_0_set_clockgating_state() argument 3408 gfx_v6_0_set_powergating_state(void *handle, enum amd_powergating_state state) gfx_v6_0_set_powergating_state() argument [all...] |