Home
last modified time | relevance | path

Searched refs:wsm (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/fs/btrfs/
A Dzstd.c112 spin_lock(&wsm.lock); in zstd_reclaim_timer_fn()
115 spin_unlock(&wsm.lock); in zstd_reclaim_timer_fn()
144 spin_unlock(&wsm.lock); in zstd_reclaim_timer_fn()
182 spin_lock_init(&wsm.lock); in zstd_init_workspace_manager()
205 spin_lock_bh(&wsm.lock); in zstd_cleanup_workspace_manager()
215 spin_unlock_bh(&wsm.lock); in zstd_cleanup_workspace_manager()
237 spin_lock_bh(&wsm.lock); in zstd_find_workspace()
253 spin_unlock_bh(&wsm.lock); in zstd_find_workspace()
312 spin_lock_bh(&wsm.lock); in zstd_put_workspace()
323 mod_timer(&wsm.timer, in zstd_put_workspace()
[all …]
A Dcompression.c805 wsm->free_ws = 1; in btrfs_init_workspace_manager()
843 idle_ws = &wsm->idle_ws; in btrfs_get_workspace()
844 ws_lock = &wsm->ws_lock; in btrfs_get_workspace()
845 total_ws = &wsm->total_ws; in btrfs_get_workspace()
846 ws_wait = &wsm->ws_wait; in btrfs_get_workspace()
847 free_ws = &wsm->free_ws; in btrfs_get_workspace()
939 idle_ws = &wsm->idle_ws; in btrfs_put_workspace()
940 ws_lock = &wsm->ws_lock; in btrfs_put_workspace()
941 total_ws = &wsm->total_ws; in btrfs_put_workspace()
942 ws_wait = &wsm->ws_wait; in btrfs_put_workspace()
[all …]
A Dlzo.c70 static struct workspace_manager wsm; variable
493 .workspace_manager = &wsm,
A Dzlib.c34 static struct workspace_manager wsm; variable
453 .workspace_manager = &wsm,
/linux-6.3-rc2/arch/alpha/kernel/
A Dcore_tsunami.c34 unsigned long wsm[4]; member
295 saved_config[index].wsm[0] = pchip->wsm[0].csr; in tsunami_init_one_pchip()
299 saved_config[index].wsm[1] = pchip->wsm[1].csr; in tsunami_init_one_pchip()
303 saved_config[index].wsm[2] = pchip->wsm[2].csr; in tsunami_init_one_pchip()
307 saved_config[index].wsm[3] = pchip->wsm[3].csr; in tsunami_init_one_pchip()
336 pchip->wsm[0].csr = (hose->sg_isa->size - 1) & 0xfff00000; in tsunami_init_one_pchip()
344 pchip->wsm[2].csr = (0x80000000 - 1) & 0xfff00000; in tsunami_init_one_pchip()
428 pchip->wsm[0].csr = saved_config[index].wsm[0]; in tsunami_kill_one_pchip()
432 pchip->wsm[1].csr = saved_config[index].wsm[1]; in tsunami_kill_one_pchip()
436 pchip->wsm[2].csr = saved_config[index].wsm[2]; in tsunami_kill_one_pchip()
[all …]
A Dcore_titan.c34 unsigned long wsm[4]; member
294 saved_config[index].wsm[0] = port->wsm[0].csr; in titan_init_one_pachip_port()
298 saved_config[index].wsm[1] = port->wsm[1].csr; in titan_init_one_pachip_port()
302 saved_config[index].wsm[2] = port->wsm[2].csr; in titan_init_one_pachip_port()
306 saved_config[index].wsm[3] = port->wsm[3].csr; in titan_init_one_pachip_port()
327 port->wsm[0].csr = (hose->sg_isa->size - 1) & 0xfff00000; in titan_init_one_pachip_port()
331 port->wsm[1].csr = (__direct_map_size - 1) & 0xfff00000; in titan_init_one_pachip_port()
408 port->wsm[0].csr = saved_config[index].wsm[0]; in titan_kill_one_pachip_port()
412 port->wsm[1].csr = saved_config[index].wsm[1]; in titan_kill_one_pachip_port()
416 port->wsm[2].csr = saved_config[index].wsm[2]; in titan_kill_one_pachip_port()
[all …]
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
A Dbh.c238 struct wsm_hdr *wsm; in cw1200_bh_rx_helper() local
291 wsm = (struct wsm_hdr *)data; in cw1200_bh_rx_helper()
292 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper()
301 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper()
308 &data[sizeof(*wsm)], in cw1200_bh_rx_helper()
309 wsm_len - sizeof(*wsm)); in cw1200_bh_rx_helper()
346 struct wsm_hdr *wsm; in cw1200_bh_tx_helper() local
370 wsm = (struct wsm_hdr *)data; in cw1200_bh_tx_helper()
371 BUG_ON(tx_len < sizeof(*wsm)); in cw1200_bh_tx_helper()
372 BUG_ON(__le16_to_cpu(wsm->len) != tx_len); in cw1200_bh_tx_helper()
[all …]
A Dtxrx.c565 struct wsm_tx *wsm; in cw1200_tx_h_wsm() local
576 memset(wsm, 0, sizeof(*wsm)); in cw1200_tx_h_wsm()
580 return wsm; in cw1200_tx_h_wsm()
587 struct wsm_tx *wsm) in cw1200_tx_h_bt() argument
634 wsm->flags |= priority << 1; in cw1200_tx_h_bt()
640 struct wsm_tx *wsm) in cw1200_tx_h_rate_policy() argument
657 wsm->ht_tx_parameters |= in cw1200_tx_h_rate_policy()
660 wsm->ht_tx_parameters |= in cw1200_tx_h_rate_policy()
717 struct wsm_tx *wsm; in cw1200_tx() local
755 if (!wsm) { in cw1200_tx()
[all …]
A Dwsm.c1305 wsm_buf.begin = (u8 *)&wsm[0]; in wsm_handle_rx()
1306 wsm_buf.data = (u8 *)&wsm[1]; in wsm_handle_rx()
1454 struct wsm_tx *wsm, in wsm_handle_tx_data() argument
1517 wsm->queue_id = WSM_QUEUE_VOICE; in wsm_handle_tx_data()
1661 struct wsm_tx *wsm = NULL; in wsm_get_tx() local
1711 &wsm, &tx_info, &txpriv)) in wsm_get_tx()
1718 wsm->hdr.id &= __cpu_to_le16( in wsm_get_tx()
1720 wsm->hdr.id |= cpu_to_le16( in wsm_get_tx()
1724 *data = (u8 *)wsm; in wsm_get_tx()
1743 &((u8 *)wsm)[txpriv->offset]; in wsm_get_tx()
[all …]
A DMakefile9 wsm.o \
A Dscan.c359 struct wsm_tx *wsm; in cw1200_probe_work() local
402 wsm = (struct wsm_tx *)frame.skb->data; in cw1200_probe_work()
403 scan.max_tx_rate = wsm->max_tx_rate; in cw1200_probe_work()
A Dwsm.h1799 int wsm_handle_rx(struct cw1200_common *priv, u16 id, struct wsm_hdr *wsm,
/linux-6.3-rc2/net/ceph/
A Dosdmap.c1019 wsm->free_ws = 0; in init_workspace_manager()
1030 wsm->free_ws = 1; in add_initial_workspace()
1044 wsm->free_ws = 0; in cleanup_workspace_manager()
1058 spin_lock(&wsm->ws_lock); in get_workspace()
1063 wsm->free_ws--; in get_workspace()
1073 if (atomic_read(&wsm->total_ws) > cpus && !wsm->free_ws) in get_workspace()
1078 atomic_inc(&wsm->total_ws); in get_workspace()
1084 wake_up(&wsm->ws_wait); in get_workspace()
1104 spin_lock(&wsm->ws_lock); in put_workspace()
1107 wsm->free_ws++; in put_workspace()
[all …]
/linux-6.3-rc2/arch/alpha/include/asm/
A Dcore_tsunami.h75 tsunami_64 wsm[4]; member
A Dcore_titan.h83 titan_64 wsm[4]; member

Completed in 51 milliseconds