Searched refs:p_chain (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/include/linux/qed/ |
D | qed_chain.h | 282 qed_chain_advance_page(struct qed_chain *p_chain, in qed_chain_advance_page() argument 288 switch (p_chain->mode) { in qed_chain_advance_page() 292 if (is_chain_u16(p_chain)) in qed_chain_advance_page() 293 *(u16 *)idx_to_inc += p_chain->elem_unusable; in qed_chain_advance_page() 295 *(u32 *)idx_to_inc += p_chain->elem_unusable; in qed_chain_advance_page() 298 *p_next_elem = p_chain->p_virt_addr; in qed_chain_advance_page() 302 if (is_chain_u16(p_chain)) { in qed_chain_advance_page() 303 if (++(*(u16 *)page_to_inc) == p_chain->page_cnt) in qed_chain_advance_page() 307 if (++(*(u32 *)page_to_inc) == p_chain->page_cnt) in qed_chain_advance_page() 311 *p_next_elem = p_chain->pbl.pp_addr_tbl[page_index].virt_addr; in qed_chain_advance_page() [all …]
|
D | qed_if.h | 996 struct qed_chain *p_chain);
|
/linux-6.6.21/fs/exfat/ |
D | fatent.c | 148 static int __exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain) in __exfat_free_cluster() argument 157 if (p_chain->dir == EXFAT_FREE_CLUSTER || in __exfat_free_cluster() 158 p_chain->dir == EXFAT_EOF_CLUSTER || in __exfat_free_cluster() 159 p_chain->dir < EXFAT_FIRST_CLUSTER) in __exfat_free_cluster() 163 if (p_chain->size == 0) in __exfat_free_cluster() 167 if (!is_valid_cluster(sbi, p_chain->dir)) { in __exfat_free_cluster() 168 exfat_err(sb, "invalid start cluster (%u)", p_chain->dir); in __exfat_free_cluster() 172 clu = p_chain->dir; in __exfat_free_cluster() 177 if (p_chain->flags == ALLOC_NO_FAT_CHAIN) { in __exfat_free_cluster() 178 unsigned int last_cluster = p_chain->dir + p_chain->size - 1; in __exfat_free_cluster() [all …]
|
D | exfat_fs.h | 424 struct exfat_chain *p_chain, bool sync_bmap); 425 int exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain); 435 int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain, 438 struct exfat_chain *p_chain, unsigned int *ret_count);
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_spq.c | 236 struct qed_chain *p_chain = &p_hwfn->p_spq->chain; in qed_spq_hw_post() local 238 u16 echo = qed_chain_get_prod_idx(p_chain); in qed_spq_hw_post() 242 elem = qed_chain_produce(p_chain); in qed_spq_hw_post() 251 p_db_data->spq_prod = cpu_to_le16(qed_chain_get_prod_idx(p_chain)); in qed_spq_hw_post() 266 p_db_data->agg_flags, qed_chain_get_prod_idx(p_chain)); in qed_spq_hw_post() 341 struct qed_chain *p_chain = &p_eq->chain; in qed_eq_completion() local 352 if ((fw_cons_idx & qed_chain_get_usable_per_page(p_chain)) == in qed_eq_completion() 353 qed_chain_get_usable_per_page(p_chain)) in qed_eq_completion() 354 fw_cons_idx += qed_chain_get_unusable_per_page(p_chain); in qed_eq_completion() 357 while (fw_cons_idx != qed_chain_get_cons_idx(p_chain)) { in qed_eq_completion() [all …]
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 546 struct qed_chain *p_chain = &txq->tx_pbl; in qede_txq_fp_log_metadata() local 552 p_chain, p_chain->capacity, p_chain->size, jiffies, HZ); in qede_txq_fp_log_metadata() 558 qed_chain_get_prod_idx(p_chain), qed_chain_get_cons_idx(p_chain)); in qede_txq_fp_log_metadata()
|