Home
last modified time | relevance | path

Searched refs:is_atomic (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/include/trace/events/
H A Dpercpu.h12 TP_PROTO(bool reserved, bool is_atomic, size_t size,
15 TP_ARGS(reserved, is_atomic, size, align, base_addr, off, ptr),
19 __field( bool, is_atomic )
29 __entry->is_atomic = is_atomic;
37 TP_printk("reserved=%d is_atomic=%d size=%zu align=%zu base_addr=%p off=%d ptr=%p",
38 __entry->reserved, __entry->is_atomic,
67 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align),
69 TP_ARGS(reserved, is_atomic, size, align),
73 __field( bool, is_atomic )
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dpercpu.h14 bool reserved, bool is_atomic, size_t size,
18 TP_ARGS(call_site, reserved, is_atomic, size, align, base_addr, off,
24 __field( bool, is_atomic )
36 __entry->is_atomic = is_atomic;
46 TP_printk("call_site=%pS reserved=%d is_atomic=%d size=%zu align=%zu base_addr=%p off=%d ptr=%p bytes_alloc=%zu gfp_flags=%s",
48 __entry->reserved, __entry->is_atomic,
78 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align),
80 TP_ARGS(reserved, is_atomic, size, align),
84 __field( bool, is_atomic )
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_fcoe.h37 * @is_atomic: Hint from the caller - if the func can sleep or not.
39 * Context: The function should not sleep in case is_atomic == true.
44 bool is_atomic);
56 bool is_atomic) in qed_get_protocol_stats_fcoe()
54 qed_get_protocol_stats_fcoe(struct qed_dev *cdev, struct qed_mcp_fcoe_stats *stats, bool is_atomic) qed_get_protocol_stats_fcoe() argument
H A Dqed_iscsi.h42 * @is_atomic: Hint from the caller - if the func can sleep or not.
44 * Context: The function should not sleep in case is_atomic == true.
49 bool is_atomic);
63 bool is_atomic) {} in qed_get_protocol_stats_iscsi()
61 qed_get_protocol_stats_iscsi(struct qed_dev *cdev, struct qed_mcp_iscsi_stats *stats, bool is_atomic) qed_get_protocol_stats_iscsi() argument
H A Dqed_fcoe.c697 bool is_atomic) in qed_fcoe_get_stats()
703 p_ptt = qed_ptt_acquire_context(p_hwfn, is_atomic); in qed_fcoe_get_stats()
979 bool is_atomic) in qed_fcoe_stats_context()
981 return qed_fcoe_get_stats(QED_AFFIN_HWFN(cdev), stats, is_atomic); in qed_fcoe_stats_context()
991 bool is_atomic) in qed_get_protocol_stats_fcoe()
997 if (qed_fcoe_stats_context(cdev, &proto_stats, is_atomic)) { in qed_get_protocol_stats_fcoe()
695 qed_fcoe_get_stats(struct qed_hwfn *p_hwfn, struct qed_fcoe_stats *p_stats, bool is_atomic) qed_fcoe_get_stats() argument
977 qed_fcoe_stats_context(struct qed_dev *cdev, struct qed_fcoe_stats *stats, bool is_atomic) qed_fcoe_stats_context() argument
989 qed_get_protocol_stats_fcoe(struct qed_dev *cdev, struct qed_mcp_fcoe_stats *stats, bool is_atomic) qed_get_protocol_stats_fcoe() argument
H A Dqed_dev_api.h201 * @is_atomic: Hint from the caller - if the func can sleep or not.
203 * Context: The function should not sleep in case is_atomic == true.
210 bool is_atomic);
H A Dqed_hw.c94 struct qed_ptt *qed_ptt_acquire_context(struct qed_hwfn *p_hwfn, bool is_atomic) in qed_ptt_acquire_context() argument
99 if (is_atomic) in qed_ptt_acquire_context()
122 if (is_atomic) in qed_ptt_acquire_context()
H A Dqed_l2.h269 * @is_atomic: Hint from the caller - if the func can sleep or not.
271 * Context: The function should not sleep in case is_atomic == true.
276 bool is_atomic);
H A Dqed_iscsi.c1003 bool is_atomic) in qed_iscsi_get_stats()
1009 p_ptt = qed_ptt_acquire_context(p_hwfn, is_atomic); in qed_iscsi_get_stats()
1342 bool is_atomic) in qed_iscsi_stats_context()
1344 return qed_iscsi_get_stats(QED_AFFIN_HWFN(cdev), stats, is_atomic); in qed_iscsi_stats_context()
1370 bool is_atomic) in qed_get_protocol_stats_iscsi()
1376 if (qed_iscsi_stats_context(cdev, &proto_stats, is_atomic)) { in qed_get_protocol_stats_iscsi()
1001 qed_iscsi_get_stats(struct qed_hwfn *p_hwfn, struct qed_iscsi_stats *stats, bool is_atomic) qed_iscsi_get_stats() argument
1340 qed_iscsi_stats_context(struct qed_dev *cdev, struct qed_iscsi_stats *stats, bool is_atomic) qed_iscsi_stats_context() argument
1368 qed_get_protocol_stats_iscsi(struct qed_dev *cdev, struct qed_mcp_iscsi_stats *stats, bool is_atomic) qed_get_protocol_stats_iscsi() argument
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-scmi.c173 bool is_atomic; in scmi_clocks_probe() local
203 is_atomic = handle->is_transport_atomic(handle, &atomic_threshold); in scmi_clocks_probe()
228 if (is_atomic && in scmi_clocks_probe()
/kernel/linux/linux-5.10/kernel/kcsan/
H A Dcore.c217 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic() function
263 if (is_atomic(ptr, size, type, ctx)) in should_watch()
429 * the slow-path, and not in the fast-path in is_atomic(). Call after in kcsan_setup_watchpoint()
872 const bool is_atomic = size <= sizeof(long long) && \
874 if (IS_ENABLED(CONFIG_KCSAN_IGNORE_ATOMICS) && is_atomic) \
876 check_access(ptr, size, is_atomic ? KCSAN_ACCESS_ATOMIC : 0); \
885 const bool is_atomic = size <= sizeof(long long) && \
887 if (IS_ENABLED(CONFIG_KCSAN_IGNORE_ATOMICS) && is_atomic) \
891 (is_atomic ? KCSAN_ACCESS_ATOMIC : 0)); \
/kernel/linux/linux-6.6/kernel/kcsan/
H A Dcore.c231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic() function
277 if (is_atomic(ctx, ptr, size, type)) in should_watch()
1055 const bool is_atomic = size <= sizeof(long long) && \
1057 if (IS_ENABLED(CONFIG_KCSAN_IGNORE_ATOMICS) && is_atomic) \
1059 check_access(ptr, size, is_atomic ? KCSAN_ACCESS_ATOMIC : 0, \
1069 const bool is_atomic = size <= sizeof(long long) && \
1071 if (IS_ENABLED(CONFIG_KCSAN_IGNORE_ATOMICS) && is_atomic) \
1075 (is_atomic ? KCSAN_ACCESS_ATOMIC : 0), \
H A Dkcsan_test.c220 const bool is_atomic = (ty & KCSAN_ACCESS_ATOMIC); in __report_matches() local
223 (is_atomic && is_scoped) ? " (marked, reordered)" in __report_matches()
224 : (is_atomic ? " (marked)" in __report_matches()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_offload.c253 !NAPI_GRO_CB(p)->is_atomic) in tcp_gro_receive()
256 NAPI_GRO_CB(p)->is_atomic = false; in tcp_gro_receive()
331 if (NAPI_GRO_CB(skb)->is_atomic) in tcp4_gro_complete()
H A Daf_inet.c1535 if (!NAPI_GRO_CB(p)->is_atomic || in inet_gro_receive()
1544 if (NAPI_GRO_CB(skb)->is_atomic) in inet_gro_receive()
1550 NAPI_GRO_CB(skb)->is_atomic = !!(iph->frag_off & htons(IP_DF)); in inet_gro_receive()
/kernel/linux/linux-5.10/mm/
H A Dpercpu.c1680 bool is_atomic; in pcpu_alloc() local
1696 is_atomic = (gfp & GFP_KERNEL) != GFP_KERNEL; in pcpu_alloc()
1724 if (!is_atomic) { in pcpu_alloc()
1744 off = pcpu_find_block_fit(chunk, bits, bit_align, is_atomic); in pcpu_alloc()
1763 is_atomic); in pcpu_alloc()
1784 if (is_atomic) { in pcpu_alloc()
1809 if (!is_atomic) { in pcpu_alloc()
1844 trace_percpu_alloc_percpu(reserved, is_atomic, size, align, in pcpu_alloc()
1854 trace_percpu_alloc_percpu_fail(reserved, is_atomic, size, align); in pcpu_alloc()
1856 if (!is_atomic in pcpu_alloc()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_offload.c251 !NAPI_GRO_CB(p)->is_atomic) in tcp_gro_receive()
254 NAPI_GRO_CB(p)->is_atomic = false; in tcp_gro_receive()
340 if (NAPI_GRO_CB(skb)->is_atomic) in tcp4_gro_complete()
H A Daf_inet.c1553 if (!NAPI_GRO_CB(p)->is_atomic || in inet_gro_receive()
1562 if (NAPI_GRO_CB(skb)->is_atomic) in inet_gro_receive()
1568 NAPI_GRO_CB(skb)->is_atomic = !!(iph->frag_off & htons(IP_DF)); in inet_gro_receive()
/kernel/linux/linux-6.6/mm/
H A Dpercpu.c1723 bool is_atomic; in pcpu_alloc() local
1737 is_atomic = (gfp & GFP_KERNEL) != GFP_KERNEL; in pcpu_alloc()
1763 if (!is_atomic) { in pcpu_alloc()
1783 off = pcpu_find_block_fit(chunk, bits, bit_align, is_atomic); in pcpu_alloc()
1803 is_atomic); in pcpu_alloc()
1820 if (is_atomic) { in pcpu_alloc()
1846 if (!is_atomic) { in pcpu_alloc()
1880 trace_percpu_alloc_percpu(_RET_IP_, reserved, is_atomic, size, align, in pcpu_alloc()
1891 trace_percpu_alloc_percpu_fail(reserved, is_atomic, size, align); in pcpu_alloc()
1895 size, align, is_atomic, er in pcpu_alloc()
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_offload.c271 if (NAPI_GRO_CB(skb)->is_atomic) in ipv6_gro_receive()
275 NAPI_GRO_CB(skb)->is_atomic = true; in ipv6_gro_receive()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_offload.c273 if (NAPI_GRO_CB(skb)->is_atomic) in ipv6_gro_receive()
277 NAPI_GRO_CB(skb)->is_atomic = true; in ipv6_gro_receive()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.h75 bool is_atomic; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.h73 bool is_atomic; member
/kernel/linux/linux-6.6/include/net/
H A Dgro.h78 u8 is_atomic:1;
/kernel/linux/linux-6.6/net/core/
H A Dgro.c469 NAPI_GRO_CB(skb)->is_atomic = 1; in dev_gro_receive()

Completed in 37 milliseconds

12