Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dzstd.c108 spin_lock_bh(&wsm.lock); in zstd_reclaim_timer_fn()
111 spin_unlock_bh(&wsm.lock); in zstd_reclaim_timer_fn()
140 spin_unlock_bh(&wsm.lock); in zstd_reclaim_timer_fn()
178 spin_lock_init(&wsm.lock); in zstd_init_workspace_manager()
201 spin_lock_bh(&wsm.lock); in zstd_cleanup_workspace_manager()
211 spin_unlock_bh(&wsm.lock); in zstd_cleanup_workspace_manager()
233 spin_lock_bh(&wsm.lock); in zstd_find_workspace()
249 spin_unlock_bh(&wsm.lock); in zstd_find_workspace()
308 spin_lock_bh(&wsm.lock); in zstd_put_workspace()
319 mod_timer(&wsm.timer, in zstd_put_workspace()
[all …]
A Dcompression.c1129 wsm->free_ws = 1; in btrfs_init_workspace_manager()
1167 idle_ws = &wsm->idle_ws; in btrfs_get_workspace()
1168 ws_lock = &wsm->ws_lock; in btrfs_get_workspace()
1169 total_ws = &wsm->total_ws; in btrfs_get_workspace()
1170 ws_wait = &wsm->ws_wait; in btrfs_get_workspace()
1171 free_ws = &wsm->free_ws; in btrfs_get_workspace()
1263 idle_ws = &wsm->idle_ws; in btrfs_put_workspace()
1264 ws_lock = &wsm->ws_lock; in btrfs_put_workspace()
1265 total_ws = &wsm->total_ws; in btrfs_put_workspace()
1266 ws_wait = &wsm->ws_wait; in btrfs_put_workspace()
[all …]
A Dlzo.c65 static struct workspace_manager wsm; variable
481 .workspace_manager = &wsm,
A Dzlib.c34 static struct workspace_manager wsm; variable
459 .workspace_manager = &wsm,
/linux/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/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()
352 struct wsm_hdr *wsm; in cw1200_bh_tx_helper() local
376 wsm = (struct wsm_hdr *)data; in cw1200_bh_tx_helper()
377 BUG_ON(tx_len < sizeof(*wsm)); in cw1200_bh_tx_helper()
378 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/net/ceph/
A Dosdmap.c1003 wsm->free_ws = 0; in init_workspace_manager()
1014 wsm->free_ws = 1; in add_initial_workspace()
1028 wsm->free_ws = 0; in cleanup_workspace_manager()
1042 spin_lock(&wsm->ws_lock); in get_workspace()
1047 wsm->free_ws--; in get_workspace()
1057 if (atomic_read(&wsm->total_ws) > cpus && !wsm->free_ws) in get_workspace()
1062 atomic_inc(&wsm->total_ws); in get_workspace()
1068 wake_up(&wsm->ws_wait); in get_workspace()
1088 spin_lock(&wsm->ws_lock); in put_workspace()
1091 wsm->free_ws++; in put_workspace()
[all …]
/linux/arch/alpha/include/asm/
A Dcore_tsunami.h75 tsunami_64 wsm[4]; member
A Dcore_titan.h83 titan_64 wsm[4]; member

Completed in 52 milliseconds