| /linux/net/packet/ |
| H A D | af_packet.c | 194 static void *packet_previous_frame(struct packet_sock *po, 242 static void __fanout_unlink(struct sock *sk, struct packet_sock *po); 243 static void __fanout_link(struct sock *sk, struct packet_sock *po); 272 static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb) in packet_xmit() argument 274 if (!packet_sock_flag(po, PACKET_SOCK_QDISC_BYPASS)) in packet_xmit() 287 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get() argument 292 dev = rcu_dereference(po->cached_dev); in packet_cached_dev_get() 299 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign() argument 302 rcu_assign_pointer(po->cached_dev, dev); in packet_cached_dev_assign() 305 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset() argument [all …]
|
| /linux/tools/memory-model/ |
| H A D | linux-kernel.cat | 28 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 42 * the same ordering as though there were additional po edge [all...] |
| H A D | lock.cat | 44 let lk-rmw = ([LKR] ; po-loc ; [LKW]) \ (po ; po) 55 empty ([LKW] ; po-loc ; [LKR]) \ (po-loc ; [UL] ; po-loc) as lock-nest 61 empty ([LKW] ; po-loc ; [RU]) \ (po-loc ; [UL] ; po-loc) as nested-is-locked 77 let critical = ([LKW] ; po-loc ; [UL]) \ (po-loc ; [LKW | UL] ; po-loc) 86 let rfi-lf = ([LKW] ; po-loc ; [LF]) \ ([LKW] ; po-loc ; [UL] ; po-loc) 114 * A given RU event e may read internally from the last po-previous UL, 118 let possible-rf-ru e = (((UL * {e}) & po-loc) \ 119 ([UL] ; po-loc ; [UL] ; po-loc)) |
|
| H A D | linux-kernel.bell | 61 and unmatched-po = [unmatched] ; po ; [unmatched] 63 [unmatched-locks] ; po ; [unmatched-unlocks] 65 (unmatched-po ; unmatched-po)) 82 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
|
| /linux/sound/usb/line6/ |
| H A D | playback.c | 73 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/tools/memory-model/Documentation/ |
| H A D | herd-representation.txt | 16 # po, a Program-Order link 17 # rmw, a Read-Modify-Write link - every rmw link is a po link 23 # lock.cat. For example, the po link between LKR and LKW is upgraded to an rmw 43 | smp_store_mb | W[ONCE] ->po F[MB] | 70 | spin_lock | LKR ->po LKW | 111 | spin_trylock | On success: LKR ->po LKW |
|
| H A D | explanation.txt | 15 7. THE PROGRAM ORDER RELATION: po AND po-loc 328 THE PROGRAM ORDER RELATION: po AND po-loc 331 The most important relation between events is program order (po). You 336 that X is po-before Y (written as "X ->po Y" in formulas) if X occurs 340 on different CPUs are never linked by po. Also, it is by definition 343 po-loc is a sub-relation of po. It links two memory accesses when the 486 have R ->po X. It wouldn't make sense for a computation to depend 636 Write-write coherence: If W ->po-loc W' (i.e., W comes before 640 Write-read coherence: If W ->po-loc R, where W is a store and R 644 Read-write coherence: If R ->po-loc W, where R is a load and W [all …]
|
| /linux/net/ceph/ |
| H A D | pagevec.c | 63 size_t po = off & ~PAGE_MASK; in ceph_copy_from_page_vector() local 67 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_from_page_vector() 69 memcpy(data, page_address(pages[i]) + po, l); in ceph_copy_from_page_vector() 72 po += l; in ceph_copy_from_page_vector() 73 if (po == PAGE_SIZE) { in ceph_copy_from_page_vector() 74 po = 0; in ceph_copy_from_page_vector()
|
| /linux/fs/afs/ |
| H A D | server_list.c | 196 struct afs_server_entry *po = o < old->nr_servers ? &old->servers[o] : 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() 224 list_del(&po->slink); in afs_reattach_volume_to_servers()
|
| H A D | addr_list.c | 395 struct rxrpc_peer *po = old_alist->addrs[o].peer; in afs_set_peer_appdata() local 397 if (pn == po) in afs_set_peer_appdata() 399 if (pn < po) { in afs_set_peer_appdata() 403 rxrpc_kernel_set_peer_data(po, 0); in afs_set_peer_appdata()
|
| /linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
| H A D | passobj-attributes.c | 13 get_instance_id(po); 100 attribute_n_property_show(min_password_length, po); 103 attribute_n_property_show(max_password_length, po); 164 if (check_property_type(po, ATTR_NAME, ACPI_TYPE_STRING)) in populate_po_data() 168 if (check_property_type(po, MIN_PASS_LEN, ACPI_TYPE_INTEGER)) in populate_po_data() 172 if (check_property_type(po, MAX_PASS_LEN, ACPI_TYPE_INTEGER)) in populate_po_data()
|
| /linux/arch/x86/include/asm/ |
| H A D | cmpxchg_64.h | 17 #define arch_try_cmpxchg64(ptr, po, n) \ argument 20 arch_try_cmpxchg((ptr), (po), (n)); \ 23 #define arch_try_cmpxchg64_local(ptr, po, n) \ argument 26 arch_try_cmpxchg_local((ptr), (po), (n)); \
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_fw.c | 248 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/drivers/net/ethernet/intel/ice/ |
| H A D | ice_parser_rt.c | 413 rt->po = (u16)(rt->gpr[ICE_GPR_HO_IDX] + alu->proto_offset); in ice_po_update() 415 rt->po = (u16)(rt->gpr[ICE_GPR_HO_IDX] - alu->proto_offset); in ice_po_update() 417 rt->po = rt->gpr[ICE_GPR_HO_IDX]; in ice_po_update() 420 rt->po); in ice_po_update() 634 u16 po; in ice_proto_off_update() local 638 struct ice_proto_off *entry = &proto_grp->po[i]; in ice_proto_off_update() 644 po = rt->po + entry->offset; in ice_proto_off_update() 646 po = rt->po - entry->offset; in ice_proto_off_update() 649 rt->offsets[entry->proto_id] = po; in ice_proto_off_update() 652 entry->proto_id, po); in ice_proto_off_update() [all …]
|
| H A D | ice_parser.c | 1561 struct ice_proto_off *po, int idx) in ice_proto_off_dump() argument 1566 dev_info(dev, "\tpolarity = %d\n", po->polarity); in ice_proto_off_dump() 1567 dev_info(dev, "\tproto_id = %d\n", po->proto_id); in ice_proto_off_dump() 1568 dev_info(dev, "\toffset = %d\n", po->offset); in ice_proto_off_dump() 1584 ice_proto_off_dump(hw, &item->po[i], i); in ice_proto_grp_dump() 1596 static void ice_proto_off_parse(struct ice_proto_off *po, u32 data) in ice_proto_off_parse() argument 1598 po->polarity = FIELD_GET(ICE_PO_POL, data); in ice_proto_off_parse() 1599 po->proto_id = FIELD_GET(ICE_PO_PID, data); in ice_proto_off_parse() 1600 po->offset = FIELD_GET(ICE_PO_OFF, data); in ice_proto_off_parse() 1626 ice_proto_off_parse(&grp->po[i], d32); in ice_proto_grp_parse_item() [all …]
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | refcount-vs-atomic.rst | 38 子性和程序顺序(program order, po)关系(在同一个CPU上)。它保证每个 43 [po-earlier]指令)在执行任何程序顺序较后指令(po-later)之前完成。它还保证
|
| /linux/net/l2tp/ |
| H A D | l2tp_ppp.c | 221 struct pppox_sock *po; in pppol2tp_recv() local 223 po = pppox_sk(sk); in pppol2tp_recv() 224 ppp_input(&po->chan, skb); in pppol2tp_recv() 505 struct pppox_sock *po = pppox_sk(sk); in pppol2tp_show() local 507 seq_printf(m, " interface %s\n", ppp_dev_name(&po->chan)); in pppol2tp_show() 691 struct pppox_sock *po = pppox_sk(sk); in pppol2tp_connect() local 794 po->chan.hdrlen = PPPOL2TP_L2TP_HDR_SIZE_NOSEQ; in pppol2tp_connect() 796 po->chan.private = sk; in pppol2tp_connect() 797 po->chan.ops = &pppol2tp_chan_ops; in pppol2tp_connect() 798 po in pppol2tp_connect() 1180 struct pppox_sock *po = pppox_sk(sk); pppol2tp_session_setsockopt() local 1556 struct pppox_sock *po = pppox_sk(sk); pppol2tp_seq_session_show() local [all...] |
| /linux/arch/powerpc/include/asm/ |
| H A D | local.h | 93 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/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-cipher.c | 33 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/net/core/ |
| H A D | gro.c | 25 void dev_add_offload(struct packet_offload *po) in dev_add_offload() argument 31 if (po->priority < elem->priority) in dev_add_offload() 34 list_add_rcu(&po->list, elem->list.prev); in dev_add_offload() 52 static void __dev_remove_offload(struct packet_offload *po) in __dev_remove_offload() argument 60 if (po == po1) { in __dev_remove_offload() 61 list_del_rcu(&po->list); in __dev_remove_offload() 66 pr_warn("dev_remove_offload: %p not found\n", po); in __dev_remove_offload() 83 void dev_remove_offload(struct packet_offload *po) in dev_remove_offload() argument 85 __dev_remove_offload(po); in dev_remove_offload()
|
| /linux/tools/testing/cxl/test/ |
| H A D | mem.c | 1135 struct cxl_mbox_poison_out *po; in cxl_get_injected_po() local 1139 po = kzalloc(struct_size(po, record, poison_inject_dev_max), GFP_KERNEL); in cxl_get_injected_po() 1140 if (!po) in cxl_get_injected_po() 1151 po->record[nr_records].address = cpu_to_le64(dpa); in cxl_get_injected_po() 1152 po->record[nr_records].length = cpu_to_le32(1); in cxl_get_injected_po() 1159 po->count = cpu_to_le16(nr_records); in cxl_get_injected_po() 1161 return po; in cxl_get_injected_po() 1168 struct cxl_mbox_poison_out *po; in mock_get_poison() local 1173 po in mock_get_poison() [all...] |
| /linux/drivers/media/platform/st/sti/hva/ |
| H A D | hva-h264.c | 397 struct hva_h264_po po; member 782 offsetof(struct hva_h264_task, po); in hva_h264_prepare_task() 877 struct hva_h264_po *po = &task->po; in hva_h264_get_stream_size() local 879 return po->bitstream_size; in hva_h264_get_stream_size() 884 struct hva_h264_po *po = &task->po; in hva_h264_get_stuffing_bytes() local 886 return po->stuffing_bits >> 3; in hva_h264_get_stuffing_bytes()
|
| /linux/include/asm-generic/ |
| H A D | local.h | 45 #define local_try_cmpxchg(l, po, n) atomic_long_try_cmpxchg((&(l)->a), (po), (n)) argument
|
| /linux/drivers/net/ppp/ |
| H A D | pppox.c | 70 struct pppox_sock *po = pppox_sk(sk); in pppox_ioctl() local 83 index = ppp_channel_index(&po->chan); in pppox_ioctl()
|
| /linux/drivers/cxl/core/ |
| H A D | mbox.c | 1430 struct cxl_mbox_poison_out *po; in cxl_mem_get_poison() local 1439 po = mds->poison.list_out; in cxl_mem_get_poison() 1449 .payload_out = po, in cxl_mem_get_poison() 1450 .min_out = struct_size(po, record, 0), in cxl_mem_get_poison() 1457 for (int i = 0; i < le16_to_cpu(po->count); i++) in cxl_mem_get_poison() 1458 trace_cxl_poison(cxlmd, cxlr, &po->record[i], in cxl_mem_get_poison() 1459 po->flags, po->overflow_ts, in cxl_mem_get_poison() 1463 nr_records = nr_records + le16_to_cpu(po->count); in cxl_mem_get_poison() 1469 } while (po->flags & CXL_POISON_FLAG_MORE); in cxl_mem_get_poison()
|