/linux-6.12.1/net/phonet/ |
D | pep.c | 110 struct pep_sock *pn = pep_sk(sk); in pep_indicate() local 121 ph->pipe_handle = pn->pipe_handle; in pep_indicate() 131 struct pep_sock *pn = pep_sk(sk); in pipe_handler_request() local 142 ph->pipe_handle = pn->pipe_handle; in pipe_handler_request() 149 struct pep_sock *pn = pep_sk(sk); in pipe_handler_send_created_ind() local 152 pn->tx_fc, pn->rx_fc, in pipe_handler_send_created_ind() 229 struct pep_sock *pn = pep_sk(sk); in pipe_grant_credits() local 233 switch (pn->rx_fc) { in pipe_grant_credits() 239 pn->rx_credits = 1; in pipe_grant_credits() 242 if ((pn->rx_credits + CREDITS_THR) > CREDITS_MAX) in pipe_grant_credits() [all …]
|
D | socket.c | 76 struct pn_sock *pn = pn_sk(sknode); in pn_find_sock_by_sa() local 77 BUG_ON(!pn->sobject); /* unbound socket */ in pn_find_sock_by_sa() 83 if (pn_port(pn->sobject) != pn_port(obj)) in pn_find_sock_by_sa() 87 if (pn->resource != res) in pn_find_sock_by_sa() 90 if (pn_addr(pn->sobject) && in pn_find_sock_by_sa() 91 pn_addr(pn->sobject) != pn_addr(obj)) in pn_find_sock_by_sa() 159 struct pn_sock *pn = pn_sk(sk); in pn_socket_bind() local 179 if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { in pn_socket_bind() 190 pn->sobject = pn_object(saddr, pn_port(pn->sobject)); in pn_socket_bind() 191 pn->resource = spn->spn_resource; in pn_socket_bind() [all …]
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326_reg.h | 165 /* pn = port number 0-9 for tri-speed, 10 for 10GbE */ 167 #define REG_MAX_LEN(pn) CRA(0x1,pn,0x02) /* Max length */ argument 168 #define REG_MAC_HIGH_ADDR(pn) CRA(0x1,pn,0x03) /* Upper 24 bits of MAC addr */ argument 169 #define REG_MAC_LOW_ADDR(pn) CRA(0x1,pn,0x04) /* Lower 24 bits of MAC addr */ argument 172 * pn = port number, 0-9 174 #define REG_MODE_CFG(pn) CRA(0x1,pn,0x00) /* Mode configuration */ argument 175 #define REG_PAUSE_CFG(pn) CRA(0x1,pn,0x01) /* Pause configuration */ argument 176 #define REG_NORMALIZER(pn) CRA(0x1,pn,0x05) /* Normalizer */ argument 177 #define REG_TBI_STATUS(pn) CRA(0x1,pn,0x06) /* TBI status */ argument 178 #define REG_PCS_STATUS_DBG(pn) CRA(0x1,pn,0x07) /* PCS status debug */ argument [all …]
|
/linux-6.12.1/net/mac80211/ |
D | wpa.c | 201 u64 pn; in tkip_encrypt_skb() local 233 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb() 234 pos = ieee80211_tkip_add_iv(pos, &key->conf, pn); in tkip_encrypt_skb() 379 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad, in ccmp_special_blocks() argument 394 /* Nonce: Nonce Flags | A2 | PN in ccmp_special_blocks() 399 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); in ccmp_special_blocks() 402 static inline void ccmp_pn2hdr(u8 *hdr, u8 *pn, int key_id) in ccmp_pn2hdr() argument 404 hdr[0] = pn[5]; in ccmp_pn2hdr() 405 hdr[1] = pn[4]; in ccmp_pn2hdr() 408 hdr[4] = pn[3]; in ccmp_pn2hdr() [all …]
|
D | debugfs_key.c | 87 u64 pn; in key_tx_spec_write() local 105 ret = kstrtou64_from_user(userbuf, count, 16, &pn); in key_tx_spec_write() 108 /* PN is a 48-bit counter */ in key_tx_spec_write() 109 if (pn >= (1ULL << 48)) in key_tx_spec_write() 111 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write() 121 u64 pn; in key_tx_spec_read() local 132 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read() 134 TKIP_PN_TO_IV32(pn), in key_tx_spec_read() 135 TKIP_PN_TO_IV16(pn)); in key_tx_spec_read() 145 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read() [all …]
|
/linux-6.12.1/arch/sparc/lib/ |
D | memscan_64.S | 26 brlez,pn %o1, szzero 32 brz,pn %o5, 10f 35 be,pn %xcc, szzero 37 bne,a,pn %icc, 1b 52 bne,pn %xcc, check_bytes 58 bne,a,pn %icc, 2f 65 be,pn %icc, 1f 69 be,pn %icc, 1f 74 be,pn %icc, 1f 78 be,pn %icc, 1f [all …]
|
D | strlen.S | 23 BRANCH_REG_ZERO(pn, %o5, 11f) 26 BRANCH32(be, pn, 4f) 29 BRANCH_REG_ZERO(pn, %o5, 12f) 35 BRANCH_REG_ZERO(pn, %o5, 13f) 56 BRANCH32(be, pn, 1f) 60 BRANCH32(be, pn, 1f) 64 BRANCH32(be, pn, 1f)
|
D | bzero.S | 27 brz,pn %o1, __bzero_done 29 bl,pn %icc, __bzero_tiny 36 bne,pn %icc, 1b 46 bl,pn %icc, 5f 65 brz,pn %g1, 6f 95 brz,pn %o1, __clear_user_done 97 bl,pn %icc, __clear_user_tiny 104 bne,pn %icc, 1b 114 bl,pn %icc, 5f 133 brz,pn %g1, 6f
|
D | NG4memcpy.S | 22 be,a,pn %icc, 999f; \ 112 brz,pn %o2, .Lexit 114 ble,pn %icc, .Ltiny 116 ble,pn %icc, .Lsmall 119 bl,pn %icc, .Lmedium 150 bne,pn %icc, .Llarge_src_unaligned 203 brz,pn %o2, .Lexit 205 ble,pn %icc, .Lsmall_unaligned 257 brz,pn %o2, .Lexit 259 ble,pn %icc, .Lsmall_unaligned [all …]
|
D | atomic_64.S | 28 bne,pn %icc, BACKOFF_LABEL(2f, 1b); \ 43 bne,pn %icc, BACKOFF_LABEL(2f, 1b); \ 58 bne,pn %icc, BACKOFF_LABEL(2f, 1b); \ 94 bne,pn %xcc, BACKOFF_LABEL(2f, 1b); \ 109 bne,pn %xcc, BACKOFF_LABEL(2f, 1b); \ 124 bne,pn %xcc, BACKOFF_LABEL(2f, 1b); \ 156 brlez,pn %g1, 3f 160 bne,pn %xcc, BACKOFF_LABEL(2f, 1b)
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | wow.c | 63 u8 *iv, u64 pn, u8 key_idx) in _pn_to_iv() argument 67 iv[0] = u64_get_bits(pn, RTW89_KEY_PN_1); in _pn_to_iv() 68 iv[1] = (u64_get_bits(pn, RTW89_KEY_PN_1) | 0x20) & 0x7f; in _pn_to_iv() 69 iv[2] = u64_get_bits(pn, RTW89_KEY_PN_0); in _pn_to_iv() 75 iv[0] = u64_get_bits(pn, RTW89_KEY_PN_0); in _pn_to_iv() 76 iv[1] = u64_get_bits(pn, RTW89_KEY_PN_1); in _pn_to_iv() 84 iv[4] = u64_get_bits(pn, RTW89_KEY_PN_2); in _pn_to_iv() 85 iv[5] = u64_get_bits(pn, RTW89_KEY_PN_3); in _pn_to_iv() 86 iv[6] = u64_get_bits(pn, RTW89_KEY_PN_4); in _pn_to_iv() 87 iv[7] = u64_get_bits(pn, RTW89_KEY_PN_5); in _pn_to_iv() [all …]
|
/linux-6.12.1/drivers/net/ppp/ |
D | pppoe.c | 159 static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, in __get_item() argument 165 ret = pn->hash_table[hash]; in __get_item() 177 static int __set_item(struct pppoe_net *pn, struct pppox_sock *po) in __set_item() argument 182 ret = pn->hash_table[hash]; in __set_item() 191 po->next = pn->hash_table[hash]; in __set_item() 192 pn->hash_table[hash] = po; in __set_item() 197 static void __delete_item(struct pppoe_net *pn, __be16 sid, in __delete_item() argument 203 ret = pn->hash_table[hash]; in __delete_item() 204 src = &pn->hash_table[hash]; in __delete_item() 223 static inline struct pppox_sock *get_item(struct pppoe_net *pn, __be16 sid, in get_item() argument [all …]
|
/linux-6.12.1/net/l2tp/ |
D | l2tp_ip.c | 59 struct l2tp_ip_net *pn = l2tp_ip_pernet(net); in __l2tp_ip_bind_lookup() local 62 sk_for_each_bound(sk, &pn->l2tp_ip_bind_table) { in __l2tp_ip_bind_lookup() 128 struct l2tp_ip_net *pn; in l2tp_ip_recv() local 137 pn = l2tp_ip_pernet(net); in l2tp_ip_recv() 185 read_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_recv() 189 read_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_recv() 193 read_unlock_bh(&pn->l2tp_ip_lock); in l2tp_ip_recv() 216 struct l2tp_ip_net *pn = l2tp_ip_pernet(sock_net(sk)); in l2tp_ip_hash() local 219 write_lock_bh(&pn->l2tp_ip_lock); in l2tp_ip_hash() 220 sk_add_node(sk, &pn->l2tp_ip_table); in l2tp_ip_hash() [all …]
|
D | l2tp_ip6.c | 67 struct l2tp_ip6_net *pn = l2tp_ip6_pernet(net); in __l2tp_ip6_bind_lookup() local 70 sk_for_each_bound(sk, &pn->l2tp_ip6_bind_table) { in __l2tp_ip6_bind_lookup() 138 struct l2tp_ip6_net *pn; in l2tp_ip6_recv() local 147 pn = l2tp_ip6_pernet(net); in l2tp_ip6_recv() 195 read_lock_bh(&pn->l2tp_ip6_lock); in l2tp_ip6_recv() 199 read_unlock_bh(&pn->l2tp_ip6_lock); in l2tp_ip6_recv() 203 read_unlock_bh(&pn->l2tp_ip6_lock); in l2tp_ip6_recv() 226 struct l2tp_ip6_net *pn = l2tp_ip6_pernet(sock_net(sk)); in l2tp_ip6_hash() local 229 write_lock_bh(&pn->l2tp_ip6_lock); in l2tp_ip6_hash() 230 sk_add_node(sk, &pn->l2tp_ip6_table); in l2tp_ip6_hash() [all …]
|
D | l2tp_core.c | 182 struct l2tp_net *pn; in l2tp_sk_to_tunnel() local 185 pn = l2tp_pernet(net); in l2tp_sk_to_tunnel() 186 idr_for_each_entry_ul(&pn->l2tp_tunnel_idr, tunnel, tmp, tunnel_id) { in l2tp_sk_to_tunnel() 217 const struct l2tp_net *pn = l2tp_pernet(net); in l2tp_tunnel_get() local 221 tunnel = idr_find(&pn->l2tp_tunnel_idr, tunnel_id); in l2tp_tunnel_get() 234 struct l2tp_net *pn = l2tp_pernet(net); in l2tp_tunnel_get_next() local 239 tunnel = idr_get_next_ul(&pn->l2tp_tunnel_idr, key); in l2tp_tunnel_get_next() 256 const struct l2tp_net *pn = l2tp_pernet(net); in l2tp_v3_session_get() local 260 session = idr_find(&pn->l2tp_v3_session_idr, session_id); in l2tp_v3_session_get() 274 hash_for_each_possible_rcu(pn->l2tp_v3_session_htable, session, in l2tp_v3_session_get() [all …]
|
/linux-6.12.1/drivers/hwtracing/stm/ |
D | p_sys-t.c | 121 struct sys_t_policy_node *pn = priv; in sys_t_policy_node_init() local 123 uuid_gen(&pn->uuid); in sys_t_policy_node_init() 128 struct sys_t_policy_node *pn = priv; in sys_t_output_open() local 135 memcpy(&opriv->node, pn, sizeof(opriv->node)); in sys_t_output_open() 149 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_uuid_show() local 151 return sprintf(page, "%pU\n", &pn->uuid); in sys_t_policy_uuid_show() 159 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_uuid_store() local 163 ret = uuid_parse(page, &pn->uuid); in sys_t_policy_uuid_store() 174 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_do_len_show() local 176 return sprintf(page, "%d\n", pn->do_len); in sys_t_policy_do_len_show() [all …]
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | tsb.h | 20 * bne,pn %xcc, tsb_miss_{d,i}tlb 124 bne,pn %icc, 99b; \ 128 bne,pn %icc, 99b; \ 163 brz,pn REG1, FAIL_LABEL; \ 168 brz,pn REG1, FAIL_LABEL; \ 170 brz,pn REG1, FAIL_LABEL; \ 181 brz,pn REG1, FAIL_LABEL; \ 184 be,pn %xcc, 698f; \ 186 697: brgez,pn REG1, FAIL_LABEL; \ 195 brgez,pn REG1, FAIL_LABEL; \ [all …]
|
/linux-6.12.1/net/wireless/ |
D | lib80211_crypt_ccmp.c | 95 const u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument 124 /* Nonce: QC | A2 | PN */ in ccmp_init_iv_and_aad() 127 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad() 263 u8 pn[6]; in lib80211_ccmp_decrypt() local 293 pn[0] = pos[7]; in lib80211_ccmp_decrypt() 294 pn[1] = pos[6]; in lib80211_ccmp_decrypt() 295 pn[2] = pos[5]; in lib80211_ccmp_decrypt() 296 pn[3] = pos[4]; in lib80211_ccmp_decrypt() 297 pn[4] = pos[1]; in lib80211_ccmp_decrypt() 298 pn[5] = pos[0]; in lib80211_ccmp_decrypt() [all …]
|
/linux-6.12.1/kernel/locking/ |
D | qspinlock_paravirt.h | 277 struct pv_node *pn = (struct pv_node *)node; in pv_init_node() local 281 pn->cpu = smp_processor_id(); in pv_init_node() 282 pn->state = vcpu_running; in pv_init_node() 292 struct pv_node *pn = (struct pv_node *)node; in pv_wait_node() local 309 * Order pn->state vs pn->locked thusly: in pv_wait_node() 311 * [S] pn->state = vcpu_halted [S] next->locked = 1 in pv_wait_node() 313 * [L] pn->locked [RmW] pn->state = vcpu_hashed in pv_wait_node() 317 smp_store_mb(pn->state, vcpu_halted); in pv_wait_node() 322 pv_wait(&pn->state, vcpu_halted); in pv_wait_node() 330 cmpxchg(&pn->state, vcpu_halted, vcpu_running); in pv_wait_node() [all …]
|
/linux-6.12.1/net/ipv4/ |
D | fib_trie.c | 939 struct key_vector *pn, *n = t->kv; in fib_find_node() local 943 pn = n; in fib_find_node() 973 *tp = pn; in fib_find_node() 1453 struct key_vector *n, *pn; in fib_table_lookup() local 1458 pn = t->kv; in fib_table_lookup() 1461 n = get_child_rcu(pn, cindex); in fib_table_lookup() 1496 /* only record pn and cindex if we are going to be chopping in fib_table_lookup() 1500 pn = n; in fib_table_lookup() 1542 t_key pkey = pn->key; in fib_table_lookup() 1548 if (IS_TRIE(pn)) { in fib_table_lookup() [all …]
|
/linux-6.12.1/drivers/accessibility/speakup/ |
D | utils.h | 57 unsigned char *pn = (unsigned char *)name; in hash_name() local 60 while (*pn) { in hash_name() 62 if (isupper(*pn)) in hash_name() 63 *pn = tolower(*pn); in hash_name() 64 hash += (int)*pn; in hash_name() 65 pn++; in hash_name()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | ktlb.S | 36 blu,pn %xcc, kvmap_itlb_longpath 44 blu,pn %xcc, kvmap_itlb_vmalloc_addr 48 blu,pn %xcc, kvmap_itlb_obp 144 brgez,pn %g4, kvmap_dtlb_nonlinear 206 bleu,pn %xcc, kvmap_dtlb_longpath 214 bgeu,pn %xcc, kvmap_vmemmap 223 blu,pn %xcc, kvmap_dtlb_longpath 227 bgeu,pn %xcc, kvmap_dtlb_longpath 233 blu,pn %xcc, kvmap_dtlb_vmalloc_addr 237 blu,pn %xcc, kvmap_dtlb_obp
|
D | rtrap_64.S | 61 be,a,pn %icc, __handle_userfpu_continue 122 brnz,pn %l4, rtrap_no_irq_enable 140 bne,pn %icc, to_kernel 170 bne,pn %xcc, __handle_preemption 172 bne,pn %xcc, __handle_signal 174 brnz,pn %o2, __handle_user_windows 181 bne,pn %xcc, __handle_userfpu 232 brnz,pn %l3, kern_rtt 305 brz,pn %g1, kern_rtt_fill 321 bne,pn %xcc, kern_fpucheck [all …]
|
/linux-6.12.1/fs/afs/ |
D | server_list.c | 195 struct afs_server_entry *pn = n < new->nr_servers ? &new->servers[n] : NULL; in afs_reattach_volume_to_servers() local 201 if (pn && po && pn->server == po->server) { in afs_reattach_volume_to_servers() 202 pn->cb_expires_at = po->cb_expires_at; in afs_reattach_volume_to_servers() 203 list_replace(&po->slink, &pn->slink); in afs_reattach_volume_to_servers() 209 if (pn && po) in afs_reattach_volume_to_servers() 210 diff = memcmp(&pn->server->uuid, &po->server->uuid, in afs_reattach_volume_to_servers() 211 sizeof(pn->server->uuid)); in afs_reattach_volume_to_servers() 213 diff = pn ? -1 : 1; in afs_reattach_volume_to_servers() 216 list_for_each(p, &pn->server->volumes) { in afs_reattach_volume_to_servers() 221 list_add_tail(&pn->slink, p); in afs_reattach_volume_to_servers()
|
/linux-6.12.1/arch/sparc/mm/ |
D | ultra.S | 38 bne,pn %icc, __spitfire_flush_tlb_mm_slow 68 be,pn %icc, 1f 98 be,pn %icc, 2f 120 be,pn %xcc, 2f 123 brnz,pn %o4, __spitfire_flush_tlb_kernel_range_slow 155 bne,pn %xcc, 2f 162 bne,pn %xcc, 2f 227 be,pn %xcc, 2f ! Nope, branch 284 be,pn %icc, 1f 312 be,pn %icc, 2f [all …]
|