Home
last modified time | relevance | path

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

/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c73 static int cxgbit_np_hashfn(const struct cxgbit_np *cnp) in cxgbit_np_hashfn() argument
75 return ((unsigned long)cnp >> 10) & (NP_INFO_HASH_SIZE - 1); in cxgbit_np_hashfn()
79 cxgbit_np_hash_add(struct cxgbit_device *cdev, struct cxgbit_np *cnp, in cxgbit_np_hash_add() argument
85 int bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_add()
87 p->cnp = cnp; in cxgbit_np_hash_add()
99 cxgbit_np_hash_find(struct cxgbit_device *cdev, struct cxgbit_np *cnp) in cxgbit_np_hash_find() argument
101 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_find()
106 if (p->cnp == cnp) { in cxgbit_np_hash_find()
116 static int cxgbit_np_hash_del(struct cxgbit_device *cdev, struct cxgbit_np *cnp) in cxgbit_np_hash_del() argument
118 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_del()
[all …]
H A Dcxgbit.h121 struct cxgbit_np *cnp; member
191 struct cxgbit_np *cnp; member
268 static inline void cxgbit_get_cnp(struct cxgbit_np *cnp) in cxgbit_get_cnp() argument
270 kref_get(&cnp->kref); in cxgbit_get_cnp()
273 static inline void cxgbit_put_cnp(struct cxgbit_np *cnp) in cxgbit_put_cnp() argument
275 kref_put(&cnp->kref, _cxgbit_free_cnp); in cxgbit_put_cnp()
/linux/fs/coda/
H A Dpioctl.c58 struct coda_inode_info *cnp; in coda_pioctl() local
82 cnp = ITOC(target_inode); in coda_pioctl()
84 error = venus_pioctl(inode->i_sb, &(cnp->c_fid), cmd, &data); in coda_pioctl()
/linux/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c201 struct device_node *cnp; in at91_shdwc_get_wakeup_input() local
206 for_each_child_of_node(np, cnp) { in at91_shdwc_get_wakeup_input()
207 if (of_property_read_u32(cnp, "reg", &wk_input)) { in at91_shdwc_get_wakeup_input()
209 cnp); in at91_shdwc_get_wakeup_input()
222 if (of_property_read_bool(cnp, "atmel,wakeup-active-high")) in at91_shdwc_get_wakeup_input()
/linux/arch/arm64/mm/
H A Dmmu.c2180 void __cpu_replace_ttbr1(pgd_t *pgdp, bool cnp) in __cpu_replace_ttbr1() argument
2190 if (cnp) in __cpu_replace_ttbr1()