Home
last modified time | relevance | path

Searched refs:eid (Results 1 – 25 of 93) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_iotab.c36 static struct hpio *__iotab_search_get(struct hp_iotab *iotab, u32 eid) in __iotab_search_get() argument
41 if (hpio->eid == eid && kref_get_unless_zero(&hpio->refcnt)) in __iotab_search_get()
47 static struct hpio *iotab_search_get(struct hp_iotab *iotab, u32 eid) in iotab_search_get() argument
53 hpio = __iotab_search_get(iotab, eid); in iotab_search_get()
56 pr_info("find hpio %p for eid %u.\n", hpio, eid); in iotab_search_get()
71 dup = __iotab_search_get(iotab, hpio->eid); in iotab_insert()
74 dup, hpio->eid, hpio); in iotab_insert()
79 pr_info("insert new hpio %p for eid %u.\n", hpio, hpio->eid); in iotab_insert()
97 pr_info("delete hpio %p for eid %u from iotab.\n", hpio, hpio->eid); in iotab_delete()
182 struct hpio *hpio_get(u32 eid) in hpio_get() argument
[all …]
Dhp_core.c307 static struct hp_space *space_of(u32 eid) in space_of() argument
313 static struct hp_device *device_of(u32 eid) in device_of() argument
328 u32 hyperhold_extent_size(u32 eid) in hyperhold_extent_size() argument
334 spc = space_of(eid); in hyperhold_extent_size()
335 if (!CHECK(spc, "invalid eid %u!\n", eid)) in hyperhold_extent_size()
343 long hyperhold_address(u32 eid, u32 offset) in hyperhold_address() argument
349 spc = space_of(eid); in hyperhold_address()
350 if (!CHECK(spc, "invalid eid %u!\n", eid)) in hyperhold_address()
355 return (u64)eid * spc->ext_size + offset; in hyperhold_address()
363 u32 eid; in hyperhold_addr_extent() local
[all …]
Dhyperhold.h22 u32 hyperhold_extent_size(u32 eid);
23 long hyperhold_address(u32 eid, u32 offset);
28 void hyperhold_free_extent(u32 eid);
29 void hyperhold_should_free_extent(u32 eid);
31 struct hpio *hyperhold_io_alloc(u32 eid, gfp_t gfp, unsigned int op, bool new_page);
34 struct hpio *hyperhold_io_get(u32 eid, gfp_t gfp, unsigned int op);
Dhp_iotab.h28 u32 eid; member
34 void (*free_extent)(u32 eid);
49 struct hpio *hpio_get(u32 eid);
51 struct hpio *hpio_get_alloc(u32 eid, u32 nr_page, gfp_t gfp, unsigned int op);
Dhp_space.c87 void free_eid(struct hp_space *spc, u32 eid) in free_eid() argument
89 if (!test_and_clear_bit(eid, spc->bitmap)) { in free_eid()
98 pr_info("hyperhold free extent %u.\n", eid); in free_eid()
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dgroup_writeback.c114 u32 eid; in move_obj_to_hpio() local
116 eid = hyperhold_io_extent(hpio); in move_obj_to_hpio()
117 ext_size = hyperhold_extent_size(eid); in move_obj_to_hpio()
126 index, size, eid, ext_size - offset); in move_obj_to_hpio()
136 zram_set_handle(zram, index, hyperhold_address(eid, offset)); in move_obj_to_hpio()
138 wbgrp_obj_insert(zram->zgrp, index, eid); in move_obj_to_hpio()
139 wbgrp_obj_stats_inc(zram->zgrp, gid, eid, size); in move_obj_to_hpio()
142 index, gid, hpio, eid, size, offset); in move_obj_to_hpio()
153 u32 eid, offset; in move_obj_from_hpio() local
158 eid = hyperhold_io_extent(hpio); in move_obj_from_hpio()
[all …]
Dzram_group.c401 void zgrp_ext_insert(struct zram_group *zgrp, u32 eid, u16 gid) in zgrp_ext_insert() argument
411 if (!CHECK_BOUND(eid, 0, zgrp->wbgrp.nr_ext - 1)) in zgrp_ext_insert()
416 zlist_add(hid, eid, zgrp->wbgrp.ext_tab); in zgrp_ext_insert()
417 pr_debug("insert extent %u to group %u\n", eid, gid); in zgrp_ext_insert()
423 bool zgrp_ext_delete(struct zram_group *zgrp, u32 eid, u16 gid) in zgrp_ext_delete() argument
434 if (!CHECK_BOUND(eid, 0, zgrp->wbgrp.nr_ext - 1)) in zgrp_ext_delete()
439 zlist_lock(eid, zgrp->wbgrp.ext_tab); in zgrp_ext_delete()
440 isolated = zlist_is_isolated_nolock(eid, zgrp->wbgrp.ext_tab); in zgrp_ext_delete()
441 zlist_unlock(eid, zgrp->wbgrp.ext_tab); in zgrp_ext_delete()
443 pr_debug("extent %u is already isolated, skip delete.\n", eid); in zgrp_ext_delete()
[all …]
Dzram_group.h86 void zgrp_ext_insert(struct zram_group *zgrp, u32 eid, u16 gid);
87 bool zgrp_ext_delete(struct zram_group *zgrp, u32 eid, u16 gid);
89 void zgrp_get_ext(struct zram_group *zgrp, u32 eid);
90 bool zgrp_put_ext(struct zram_group *zgrp, u32 eid);
91 void wbgrp_obj_insert(struct zram_group *zgrp, u32 index, u32 eid);
92 bool wbgrp_obj_delete(struct zram_group *zgrp, u32 index, u32 eid);
93 u32 wbgrp_isolate_objs(struct zram_group *zgrp, u32 eid, u32 *idxs, u32 nr, bool *last);
94 void wbgrp_obj_stats_inc(struct zram_group *zgrp, u16 gid, u32 eid, u32 size);
95 void wbgrp_obj_stats_dec(struct zram_group *zgrp, u16 gid, u32 eid, u32 size);
96 void wbgrp_fault_stats_inc(struct zram_group *zgrp, u16 gid, u32 eid, u32 size);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dhtc.c57 ep->eid, skb); in ath10k_htc_notify_tx_completion()
63 ath10k_warn(ar, "no tx handler for eid %d\n", ep->eid); in ath10k_htc_notify_tx_completion()
85 hdr->eid = ep->eid; in ath10k_htc_prepare_tx_skb()
102 enum ath10k_htc_ep_id eid = ep->eid; in ath10k_htc_consume_credit() local
114 eid, credits, ep->tx_credits, consume); in ath10k_htc_consume_credit()
123 eid, credits, ep->tx_credits); in ath10k_htc_consume_credit()
135 enum ath10k_htc_ep_id eid = ep->eid; in ath10k_htc_release_credit() local
146 eid, credits, ep->tx_credits); in ath10k_htc_release_credit()
154 enum ath10k_htc_ep_id eid, in ath10k_htc_send() argument
158 struct ath10k_htc_ep *ep = &htc->endpoint[eid]; in ath10k_htc_send()
[all …]
Dhtc.h75 u8 eid; /* @enum ath10k_htc_ep_id */ member
180 u8 eid; member
224 u8 eid; /* @enum ath10k_htc_ep_id */ member
348 enum ath10k_htc_ep_id eid; member
363 enum ath10k_htc_ep_id eid; member
415 enum ath10k_htc_ep_id eid,
417 int ath10k_htc_send(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
421 int ath10k_htc_send_hl(struct ath10k_htc *htc, enum ath10k_htc_ep_id eid,
Dsdio.c388 enum ath10k_htc_ep_id eid; in ath10k_sdio_mbox_rx_process_packet() local
395 eid = pipe_id_to_eid(htc_hdr->eid); in ath10k_sdio_mbox_rx_process_packet()
400 eid, in ath10k_sdio_mbox_rx_process_packet()
436 &lookaheads[lookahead_idx++])->eid; in ath10k_sdio_mbox_rx_process_packets()
473 cb->eid = id; in ath10k_sdio_mbox_rx_process_packets()
575 htc_hdr->eid, htc_hdr->flags, in ath10k_sdio_mbox_rx_alloc()
1336 ep = &ar->htc.endpoint[req->eid]; in __ath10k_sdio_write_async()
1362 ep = &ar->htc.endpoint[cb->eid]; in ath10k_rx_indication_async_work()
1489 bool htc_msg, enum ath10k_htc_ep_id eid) in ath10k_sdio_prep_async_req() argument
1505 bus_req->eid = eid; in ath10k_sdio_prep_async_req()
[all …]
Dhtt.c158 htt->eid = conn_resp.eid; in ath10k_htt_connect()
161 ep = &ar->htc.endpoint[htt->eid]; in ath10k_htt_connect()
167 ath10k_htc_change_tx_credit_flow(&htt->ar->htc, htt->eid, true); in ath10k_htt_connect()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dhtc.c61 hdr->htc_info = FIELD_PREP(HTC_HDR_ENDPOINTID, ep->eid) | in ath11k_htc_prepare_tx_skb()
73 enum ath11k_htc_ep_id eid, in ath11k_htc_send() argument
76 struct ath11k_htc_ep *ep = &htc->endpoint[eid]; in ath11k_htc_send()
83 if (eid >= ATH11K_HTC_EP_COUNT) { in ath11k_htc_send()
84 ath11k_warn(ab, "Invalid endpoint id: %d\n", eid); in ath11k_htc_send()
96 eid, credits, ep->tx_credits); in ath11k_htc_send()
104 eid, credits, ep->tx_credits); in ath11k_htc_send()
110 skb_cb->eid = eid; in ath11k_htc_send()
118 ret = ath11k_ce_send(htc->ab, skb, ep->ul_pipe_id, ep->eid); in ath11k_htc_send()
132 eid, credits, ep->tx_credits); in ath11k_htc_send()
[all …]
Dhtc.h141 u8 eid; /* @enum ath11k_htc_ep_id */ member
245 enum ath11k_htc_ep_id eid; member
261 enum ath11k_htc_ep_id eid; member
307 int ath11k_htc_send(struct ath11k_htc *htc, enum ath11k_htc_ep_id eid,
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211mgmt.h224 u8 eid; member
230 u8 eid; member
237 u8 eid; member
244 u8 eid; member
254 u8 eid; member
262 u8 eid; member
272 u8 eid; member
282 u8 eid; member
289 u8 eid; member
/kernel/linux/linux-5.10/sound/firewire/oxfw/
Doxfw-stream.c585 unsigned int i, eid; in assume_stream_formats() local
599 eid = 0; in assume_stream_formats()
604 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
606 if (!formats[eid]) { in assume_stream_formats()
622 eid++; in assume_stream_formats()
623 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
625 if (formats[eid] == NULL) { in assume_stream_formats()
629 formats[eid][2] = avc_stream_rate_table[i]; in assume_stream_formats()
643 unsigned int len, eid = 0; in fill_stream_formats() local
668 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in fill_stream_formats()
[all …]
Doxfw-command.c54 u8 *buf, unsigned int *len, unsigned int eid) in avc_stream_get_format() argument
59 if (eid == 0xff) in avc_stream_get_format()
74 buf[10] = 0xff & eid; /* entry ID for LIST subfunction */ in avc_stream_get_format()
92 else if ((subfunc == 0xc1) && (buf[10] != eid)) in avc_stream_get_format()
Doxfw.h79 u8 *buf, unsigned int *len, unsigned int eid);
91 unsigned int eid) in avc_stream_get_format_list() argument
93 return avc_stream_get_format(unit, dir, pid, buf, len, eid); in avc_stream_get_format_list()
/kernel/linux/linux-5.10/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk21 eid = -1 # escape id
134 eid = escape[ref]
135 tname = sprintf("inat_escape_table_%d", eid)
148 if (aid == -1 && eid == -1) # primary opcode table
199 etable[eid,0] = tname
206 etable[eid,1] = tname "_1"
213 etable[eid,2] = tname "_2"
220 etable[eid,3] = tname "_3"
/kernel/linux/linux-5.10/arch/x86/tools/
Dgen-insn-attr-x86.awk21 eid = -1 # escape id
134 eid = escape[ref]
135 tname = sprintf("inat_escape_table_%d", eid)
148 if (aid == -1 && eid == -1) # primary opcode table
199 etable[eid,0] = tname
206 etable[eid,1] = tname "_1"
213 etable[eid,2] = tname "_2"
220 etable[eid,3] = tname "_3"
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dtxrx.c287 enum htc_endpoint_id eid) in ath6kl_control_tx() argument
300 if (WARN_ON_ONCE(eid == ENDPOINT_UNUSED || in ath6kl_control_tx()
301 eid >= ENDPOINT_MAX)) { in ath6kl_control_tx()
310 skb, skb->len, eid); in ath6kl_control_tx()
312 if (test_bit(WMI_CTRL_EP_FULL, &ar->flag) && (eid == ar->ctrl_ep)) { in ath6kl_control_tx()
330 ar->tx_pending[eid]++; in ath6kl_control_tx()
332 if (eid != ar->ctrl_ep) in ath6kl_control_tx()
340 eid, ATH6KL_CONTROL_PKT_TAG); in ath6kl_control_tx()
360 enum htc_endpoint_id eid = ENDPOINT_UNUSED; in ath6kl_data_tx() local
456 eid = ath6kl_ibss_map_epid(skb, dev, &map_no); in ath6kl_data_tx()
[all …]
Dhtc.h156 u8 eid; member
197 u8 eid; member
221 u8 eid; member
509 enum htc_endpoint_id eid; member
637 enum htc_endpoint_id eid, u16 tag) in set_htc_pkt_info() argument
642 packet->endpoint = eid; in set_htc_pkt_info()
654 enum htc_endpoint_id eid) in set_htc_rxpkt_info() argument
660 packet->endpoint = eid; in set_htc_rxpkt_info()
Dhtc_mbox.c370 hdr->eid = packet->endpoint; in ath6kl_htc_tx_prep_pkt()
446 endpoint->eid, get_queue_depth(txq)); in htc_tx_complete()
548 enum htc_endpoint_id eid, unsigned int len, in htc_check_credits() argument
558 if (eid == ENDPOINT_0) in htc_check_credits()
571 eid); in htc_check_credits()
769 ac = target->dev->ar->ep2ac_map[endpoint->eid]; in ath6kl_htc_tx_bundle()
886 ac = target->dev->ar->ep2ac_map[endpoint->eid]; in ath6kl_htc_tx_from_queue()
985 endpoint->eid, txq_depth, in ath6kl_htc_tx_try()
1151 enum htc_endpoint_id eid, u16 tag) in ath6kl_htc_mbox_flush_txep() argument
1155 struct htc_endpoint *endpoint = &target->endpoint[eid]; in ath6kl_htc_mbox_flush_txep()
[all …]
Dhtc_pipe.c50 __func__, ep->eid, in do_send_completion()
71 __func__, ep->eid, packet); in do_send_completion()
132 if (ep->eid == ENDPOINT_0) { in get_htc_packet_credit_based()
243 htc_hdr->eid = (u8) packet->endpoint; in htc_issue_packets()
348 __func__, ep->eid, overflow, txqueue_depth, in htc_try_send()
666 if (rpt->eid >= ENDPOINT_MAX) { in htc_process_credit_report()
672 ep = &target->endpoint[rpt->eid]; in htc_process_credit_report()
754 ep_id = htc_hdr->eid; in ath6kl_htc_pipe_tx_complete()
975 if (htc_hdr->eid >= ENDPOINT_MAX) { in ath6kl_htc_pipe_rx_complete()
978 htc_hdr->eid); in ath6kl_htc_pipe_rx_complete()
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dsmp.h31 unsigned long eid : 8; in ia64_get_lid() member
39 return lid.f.id << 8 | lid.f.eid; in ia64_get_lid()

1234