Home
last modified time | relevance | path

Searched refs:po (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.6.21/drivers/net/ppp/
Dpppoe.c177 static int __set_item(struct pppoe_net *pn, struct pppox_sock *po) in __set_item() argument
179 int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote); in __set_item()
184 if (cmp_2_addr(&ret->pppoe_pa, &po->pppoe_pa) && in __set_item()
185 ret->pppoe_ifindex == po->pppoe_ifindex) in __set_item()
191 po->next = pn->hash_table[hash]; in __set_item()
192 pn->hash_table[hash] = po; in __set_item()
226 struct pppox_sock *po; in get_item() local
229 po = __get_item(pn, sid, addr, ifindex); in get_item()
230 if (po) in get_item()
231 sock_hold(sk_pppox(po)); in get_item()
[all …]
Dpptp.c132 static struct rtable *pptp_route_output(const struct pppox_sock *po, in pptp_route_output() argument
135 const struct sock *sk = &po->sk; in pptp_route_output()
141 po->proto.pptp.dst_addr.sin_addr.s_addr, in pptp_route_output()
142 po->proto.pptp.src_addr.sin_addr.s_addr, in pptp_route_output()
152 struct pppox_sock *po = pppox_sk(sk); in pptp_xmit() local
154 struct pptp_opt *opt = &po->proto.pptp; in pptp_xmit()
169 if (sk_pppox(po)->sk_state & PPPOX_DEAD) in pptp_xmit()
172 rt = pptp_route_output(po, &fl4); in pptp_xmit()
271 struct pppox_sock *po = pppox_sk(sk); in pptp_rcv_core() local
272 struct pptp_opt *opt = &po->proto.pptp; in pptp_rcv_core()
[all …]
/linux-6.6.21/net/packet/
Daf_packet.c194 static void *packet_previous_frame(struct packet_sock *po,
243 static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
244 static void __fanout_link(struct sock *sk, struct packet_sock *po);
273 static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb) in packet_xmit() argument
275 if (!packet_sock_flag(po, PACKET_SOCK_QDISC_BYPASS)) in packet_xmit()
288 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get() argument
293 dev = rcu_dereference(po->cached_dev); in packet_cached_dev_get()
300 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign() argument
303 rcu_assign_pointer(po->cached_dev, dev); in packet_cached_dev_assign()
306 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset() argument
[all …]
Ddiag.c13 static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb) in pdiag_put_info() argument
17 pinfo.pdi_index = po->ifindex; in pdiag_put_info()
18 pinfo.pdi_version = po->tp_version; in pdiag_put_info()
19 pinfo.pdi_reserve = po->tp_reserve; in pdiag_put_info()
20 pinfo.pdi_copy_thresh = po->copy_thresh; in pdiag_put_info()
21 pinfo.pdi_tstamp = READ_ONCE(po->tp_tstamp); in pdiag_put_info()
24 if (packet_sock_flag(po, PACKET_SOCK_RUNNING)) in pdiag_put_info()
26 if (packet_sock_flag(po, PACKET_SOCK_AUXDATA)) in pdiag_put_info()
28 if (packet_sock_flag(po, PACKET_SOCK_ORIGDEV)) in pdiag_put_info()
30 if (READ_ONCE(po->vnet_hdr_sz)) in pdiag_put_info()
[all …]
Dinternal.h148 static inline void packet_sock_flag_set(struct packet_sock *po, in packet_sock_flag_set() argument
153 set_bit(flag, &po->flags); in packet_sock_flag_set()
155 clear_bit(flag, &po->flags); in packet_sock_flag_set()
158 static inline bool packet_sock_flag(const struct packet_sock *po, in packet_sock_flag() argument
161 return test_bit(flag, &po->flags); in packet_sock_flag()
/linux-6.6.21/net/ceph/
Dpagevec.c66 int po = off & ~PAGE_MASK; in ceph_copy_user_to_page_vector() local
71 l = min_t(int, PAGE_SIZE-po, left); in ceph_copy_user_to_page_vector()
72 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
77 po += l - bad; in ceph_copy_user_to_page_vector()
78 if (po == PAGE_SIZE) { in ceph_copy_user_to_page_vector()
79 po = 0; in ceph_copy_user_to_page_vector()
92 size_t po = off & ~PAGE_MASK; in ceph_copy_to_page_vector() local
96 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_to_page_vector()
98 memcpy(page_address(pages[i]) + po, data, l); in ceph_copy_to_page_vector()
101 po += l; in ceph_copy_to_page_vector()
[all …]
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.cat28 let acq-po = [Acquire] ; po ; [M]
29 let po-rel = [M] ; po ; [Release]
30 let po-unlock-lock-po = po ; [UL] ; (po|rf) ; [LKR] ; po
37 ([M] ; fencerel(Before-atomic) ; [RMW] ; po? ; [M]) |
38 ([M] ; po? ; [RMW] ; fencerel(After-atomic) ; [M]) |
39 ([M] ; po? ; [LKW] ; fencerel(After-spinlock) ; [M]) |
41 * Note: The po-unlock-lock-po relation only passes the lock to the direct
51 ([M] ; po-unlock-lock-po ;
52 [After-unlock-lock] ; po ; [M]) |
53 ([M] ; po? ; [Srcu-unlock] ; fencerel(After-srcu-read-unlock) ; [M])
[all …]
Dlock.cat44 let lk-rmw = ([LKR] ; po-loc ; [LKW]) \ (po ; po)
55 empty ([LKW] ; po-loc ; [LKR]) \ (po-loc ; [UL] ; po-loc) as lock-nest
71 let critical = ([LKW] ; po-loc ; [UL]) \ (po-loc ; [LKW | UL] ; po-loc)
80 let rfi-lf = ([LKW] ; po-loc ; [LF]) \ ([LKW] ; po-loc ; [UL] ; po-loc)
105 (* rfi for RU events: an RU may read from the last po-previous UL *)
106 let rfi-ru = ([UL] ; po-loc ; [RU]) \ ([UL] ; po-loc ; [LKW] ; po-loc)
Dlinux-kernel.bell49 and unmatched-po = [unmatched] ; po ; [unmatched]
51 [unmatched-locks] ; po ; [unmatched-unlocks]
53 (unmatched-po ; unmatched-po))
70 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
/linux-6.6.21/sound/usb/line6/
Dplayback.c73 short *po = (short *)urb_out->transfer_buffer; in create_impulse_test_signal() local
76 po[0] = pi[0]; in create_impulse_test_signal()
77 po[1] = 0; in create_impulse_test_signal()
79 po += 2; in create_impulse_test_signal()
84 unsigned char *po = urb_out->transfer_buffer; in create_impulse_test_signal() local
88 po[j] = pi[j]; in create_impulse_test_signal()
91 po[j] = 0; in create_impulse_test_signal()
94 po += bytes_per_frame; in create_impulse_test_signal()
115 __le16 *pi, *po, *buf_end; in add_monitor_signal() local
118 po = (__le16 *)urb_out->transfer_buffer; in add_monitor_signal()
[all …]
/linux-6.6.21/drivers/platform/x86/dell/dell-wmi-sysman/
Dpassobj-attributes.c13 get_instance_id(po);
99 attribute_n_property_show(min_password_length, po);
102 attribute_n_property_show(max_password_length, po);
162 if (check_property_type(po, ATTR_NAME, ACPI_TYPE_STRING)) in populate_po_data()
166 if (check_property_type(po, MIN_PASS_LEN, ACPI_TYPE_INTEGER)) in populate_po_data()
170 if (check_property_type(po, MAX_PASS_LEN, ACPI_TYPE_INTEGER)) in populate_po_data()
/linux-6.6.21/Documentation/core-api/
Drefcount-vs-atomic.rst35 program order (po) relation (on the same CPU). It guarantees that
42 stores (all po-earlier instructions) on the same CPU are completed
43 before any po-later instruction is executed on the same CPU.
44 It also guarantees that all po-earlier stores on the same CPU
46 other CPUs before any po-later instruction is executed on the original
50 stores (all po-earlier instructions) on the same CPU are completed
51 before the operation. It also guarantees that all po-earlier
58 stores (all po-later instructions) on the same CPU are
60 po-later stores on the same CPU must propagate to all other CPUs
/linux-6.6.21/drivers/scsi/sym53c8xx_2/
Dsym_fw.c248 u_short *po; in sym_fw_setup_bus_addresses() local
255 po = (u_short *) fw->a_ofs; in sym_fw_setup_bus_addresses()
258 pa[i] = np->scripta_ba + po[i]; in sym_fw_setup_bus_addresses()
263 po = (u_short *) fw->b_ofs; in sym_fw_setup_bus_addresses()
266 pa[i] = np->scriptb_ba + po[i]; in sym_fw_setup_bus_addresses()
271 po = (u_short *) fw->z_ofs; in sym_fw_setup_bus_addresses()
274 pa[i] = np->scriptz_ba + po[i]; in sym_fw_setup_bus_addresses()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst38 子性和程序顺序(program order, po)关系(在同一个CPU上)。它保证每个
43 [po-earlier]指令)在执行任何程序顺序较后指令(po-later)之前完成。它还保证
/linux-6.6.21/tools/testing/cxl/test/
Dmem.c1006 struct cxl_mbox_poison_out *po; in cxl_get_injected_po() local
1010 po = kzalloc(struct_size(po, record, poison_inject_dev_max), GFP_KERNEL); in cxl_get_injected_po()
1011 if (!po) in cxl_get_injected_po()
1022 po->record[nr_records].address = cpu_to_le64(dpa); in cxl_get_injected_po()
1023 po->record[nr_records].length = cpu_to_le32(1); in cxl_get_injected_po()
1030 po->count = cpu_to_le16(nr_records); in cxl_get_injected_po()
1032 return po; in cxl_get_injected_po()
1039 struct cxl_mbox_poison_out *po; in mock_get_poison() local
1044 po = cxl_get_injected_po(cxlds, offset, length); in mock_get_poison()
1045 if (!po) in mock_get_poison()
[all …]
/linux-6.6.21/drivers/gpio/
Dgpio-pch.c30 u32 po; member
110 reg_val = ioread32(&chip->reg->po); in pch_gpio_set()
116 iowrite32(reg_val, &chip->reg->po); in pch_gpio_set()
137 reg_val = ioread32(&chip->reg->po); in pch_gpio_direction_output()
142 iowrite32(reg_val, &chip->reg->po); in pch_gpio_direction_output()
177 chip->pch_gpio_reg.po_reg = ioread32(&chip->reg->po); in pch_gpio_save_reg_conf()
194 iowrite32(chip->pch_gpio_reg.po_reg, &chip->reg->po); in pch_gpio_restore_reg_conf()
Dgpio-ml-ioh.c29 u32 po; member
99 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_set()
105 iowrite32(reg_val, &chip->reg->regs[chip->ch].po); in ioh_gpio_set()
130 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_direction_output()
135 iowrite32(reg_val, &chip->reg->regs[chip->ch].po); in ioh_gpio_direction_output()
167 ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_save_reg_conf()
193 &chip->reg->regs[chip->ch].po); in ioh_gpio_restore_reg_conf()
/linux-6.6.21/arch/powerpc/include/asm/
Dlocal.h93 static __inline__ bool local_try_cmpxchg(local_t *l, long *po, long n) in local_try_cmpxchg() argument
95 long o = *po, r; in local_try_cmpxchg()
99 *po = r; in local_try_cmpxchg()
/linux-6.6.21/tools/power/cpupower/
D.gitignore16 po/cpupowerutils.pot
17 po/*.gmo
/linux-6.6.21/net/core/
Dgro.c29 void dev_add_offload(struct packet_offload *po) in dev_add_offload() argument
35 if (po->priority < elem->priority) in dev_add_offload()
38 list_add_rcu(&po->list, elem->list.prev); in dev_add_offload()
56 static void __dev_remove_offload(struct packet_offload *po) in __dev_remove_offload() argument
64 if (po == po1) { in __dev_remove_offload()
65 list_del_rcu(&po->list); in __dev_remove_offload()
70 pr_warn("dev_remove_offload: %p not found\n", po); in __dev_remove_offload()
87 void dev_remove_offload(struct packet_offload *po) in dev_remove_offload() argument
89 __dev_remove_offload(po); in dev_remove_offload()
/linux-6.6.21/include/linux/
Dif_pppox.h63 static inline struct sock *sk_pppox(struct pppox_sock *po) in sk_pppox() argument
65 return (struct sock *)po; in sk_pppox()
/linux-6.6.21/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c33 unsigned long pi = 0, po = 0; /* progress for in and out */ in sun4i_ss_opti_poll() local
110 if (po) in sun4i_ss_opti_poll()
111 sg_miter_skip(&mo, po); in sun4i_ss_opti_poll()
127 po += mo.length; in sun4i_ss_opti_poll()
200 unsigned long pi = 0, po = 0; /* progress for in and out */ in sun4i_ss_cipher_poll() local
328 if (po) in sun4i_ss_cipher_poll()
329 sg_miter_skip(&mo, po); in sun4i_ss_cipher_poll()
345 po += mo.length; in sun4i_ss_cipher_poll()
370 po += mo.length; in sun4i_ss_cipher_poll()
/linux-6.6.21/net/l2tp/
Dl2tp_ppp.c237 struct pppox_sock *po; in pppol2tp_recv() local
239 po = pppox_sk(sk); in pppol2tp_recv()
240 ppp_input(&po->chan, skb); in pppol2tp_recv()
533 struct pppox_sock *po = pppox_sk(sk); in pppol2tp_show() local
535 seq_printf(m, " interface %s\n", ppp_dev_name(&po->chan)); in pppol2tp_show()
718 struct pppox_sock *po = pppox_sk(sk); in pppol2tp_connect() local
818 po->chan.hdrlen = PPPOL2TP_L2TP_HDR_SIZE_NOSEQ; in pppol2tp_connect()
820 po->chan.private = sk; in pppol2tp_connect()
821 po->chan.ops = &pppol2tp_chan_ops; in pppol2tp_connect()
822 po->chan.mtu = pppol2tp_tunnel_mtu(tunnel); in pppol2tp_connect()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dcmpxchg_32.h17 #define arch_try_cmpxchg64(ptr, po, n) \ argument
18 __try_cmpxchg64((ptr), (unsigned long long *)(po), \
/linux-6.6.21/include/asm-generic/
Dlocal.h45 #define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n)) argument

123