Home
last modified time | relevance | path

Searched refs:p_chain (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/include/linux/qed/
Dqed_chain.h281 qed_chain_advance_page(struct qed_chain *p_chain, in qed_chain_advance_page() argument
287 switch (p_chain->mode) { in qed_chain_advance_page()
291 if (is_chain_u16(p_chain)) in qed_chain_advance_page()
292 *(u16 *)idx_to_inc += p_chain->elem_unusable; in qed_chain_advance_page()
294 *(u32 *)idx_to_inc += p_chain->elem_unusable; in qed_chain_advance_page()
297 *p_next_elem = p_chain->p_virt_addr; in qed_chain_advance_page()
301 if (is_chain_u16(p_chain)) { in qed_chain_advance_page()
302 if (++(*(u16 *)page_to_inc) == p_chain->page_cnt) in qed_chain_advance_page()
306 if (++(*(u32 *)page_to_inc) == p_chain->page_cnt) in qed_chain_advance_page()
310 *p_next_elem = p_chain->pbl.pp_addr_tbl[page_index].virt_addr; in qed_chain_advance_page()
[all …]
Dqed_if.h962 struct qed_chain *p_chain);
/Linux-v5.10/fs/exfat/
Dfatent.c154 int exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain) in exfat_free_cluster() argument
162 if (p_chain->dir == EXFAT_FREE_CLUSTER || in exfat_free_cluster()
163 p_chain->dir == EXFAT_EOF_CLUSTER || in exfat_free_cluster()
164 p_chain->dir < EXFAT_FIRST_CLUSTER) in exfat_free_cluster()
168 if (p_chain->size == 0) in exfat_free_cluster()
172 if (!is_valid_cluster(sbi, p_chain->dir)) { in exfat_free_cluster()
173 exfat_err(sb, "invalid start cluster (%u)", p_chain->dir); in exfat_free_cluster()
177 clu = p_chain->dir; in exfat_free_cluster()
179 if (p_chain->flags == ALLOC_NO_FAT_CHAIN) { in exfat_free_cluster()
185 } while (num_clusters < p_chain->size); in exfat_free_cluster()
[all …]
Dexfat_fs.h391 struct exfat_chain *p_chain);
392 int exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain);
402 int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain,
405 struct exfat_chain *p_chain, unsigned int *ret_count);
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_spq.c232 struct qed_chain *p_chain = &p_hwfn->p_spq->chain; in qed_spq_hw_post() local
234 u16 echo = qed_chain_get_prod_idx(p_chain); in qed_spq_hw_post()
238 elem = qed_chain_produce(p_chain); in qed_spq_hw_post()
247 p_db_data->spq_prod = cpu_to_le16(qed_chain_get_prod_idx(p_chain)); in qed_spq_hw_post()
262 p_db_data->agg_flags, qed_chain_get_prod_idx(p_chain)); in qed_spq_hw_post()
327 struct qed_chain *p_chain = &p_eq->chain; in qed_eq_completion() local
338 if ((fw_cons_idx & qed_chain_get_usable_per_page(p_chain)) == in qed_eq_completion()
339 qed_chain_get_usable_per_page(p_chain)) in qed_eq_completion()
340 fw_cons_idx += qed_chain_get_unusable_per_page(p_chain); in qed_eq_completion()
343 while (fw_cons_idx != qed_chain_get_cons_idx(p_chain)) { in qed_eq_completion()
[all …]