Searched refs:safe (Results 1 - 25 of 56) sorted by last modified time

123

/linux-master/net/ipv4/
H A Droute.c487 /* Note the following code is not safe, but this is okay. */
1539 struct rtable *rt, *safe; local
1549 list_for_each_entry_safe(rt, safe, &ul->head, dst.rt_uncached) {
/linux-master/arch/arc/mm/
H A Dtlbex.S50 ; exception prologue (IRQ auto-disabled on Exceptions, so it's IRQ-safe).
58 ; core reg as it will not be SMP safe.
/linux-master/fs/ceph/
H A Dmds_client.c496 * safe because the decoded string should
3833 if ((test_bit(CEPH_MDS_R_GOT_UNSAFE, &req->r_req_flags) && !head->safe) ||
3834 (test_bit(CEPH_MDS_R_GOT_SAFE, &req->r_req_flags) && head->safe)) {
3836 head->safe ? "safe" : "unsafe", tid, mds);
3841 pr_warn_client(cl, "got unsafe after safe on %llu from mds%d\n",
3849 if (head->safe) {
3861 * doesn't include any result info in the safe
3865 doutc(cl, "got safe reply %llu, mds%d\n", tid, mds);
5448 * Wait for safe replie
[all...]
/linux-master/net/batman-adv/
H A Dtranslation-table.c463 struct batadv_tt_change_node *tt_change_node, *entry, *safe; local
483 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list,
987 struct batadv_tt_change_node *entry, *safe; local
1017 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list,
1415 struct batadv_tt_change_node *entry, *safe; local
1419 list_for_each_entry_safe(entry, safe, &bat_priv->tt.changes_list,
2030 struct hlist_node *safe; local
2035 hlist_for_each_entry_safe(orig_entry, safe, head, list)
2057 struct hlist_node *safe; local
2063 hlist_for_each_entry_safe(orig_entry, safe, hea
2201 struct hlist_node *safe; local
2594 struct hlist_node *safe; local
2630 struct hlist_node *safe; local
3369 struct hlist_node *safe; local
3421 struct batadv_tt_roam_node *node, *safe; local
3435 struct batadv_tt_roam_node *node, *safe; local
[all...]
/linux-master/fs/reiserfs/
H A Djournal.c509 /* safe for reuse */
865 * will ever write the buffer. We're safe if we write the
1138 * now, every commit block is on the disk. It is safe to allow
1190 * once all the real blocks have been flushed, it is safe to remove them
3505 * are committed to the log, it is safe to write cn to disk
3724 * Does all the work that makes deleting blocks safe.
3999 struct list_head *entry, *safe; local
4245 /* now it is safe to insert this transaction on the main list */
4319 list_for_each_safe(entry, safe, &journal->j_journal_list) {
/linux-master/include/linux/
H A Dcompiler_types.h48 # define __safe __attribute__((safe))
/linux-master/arch/powerpc/kernel/
H A Dsmp.c469 static void do_smp_send_nmi_ipi(int cpu, bool safe) argument
471 if (!safe && smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu))
494 u64 delay_us, bool safe)
529 do_smp_send_nmi_ipi(cpu, safe);
493 __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us, bool safe) argument
/linux-master/drivers/s390/block/
H A Dscm_blk.c53 struct list_head *iter, *safe; local
57 list_for_each_safe(iter, safe, &inactive_requests) {
/linux-master/fs/dlm/
H A Dlock.c2536 struct dlm_lkb *lkb, *safe; local
2538 list_for_each_entry_safe(lkb, safe, &r->res_lookup, lkb_rsb_lookup) {
4893 struct dlm_lkb *lkb, *safe; local
4904 list_for_each_entry_safe(lkb, safe, &ls->ls_waiters, lkb_wait_reply) {
5175 struct dlm_lkb *lkb, *safe; local
5177 list_for_each_entry_safe(lkb, safe, list, lkb_statequeue) {
5208 struct dlm_lkb *lkb, *safe; local
5210 list_for_each_entry_safe(lkb, safe, list, lkb_statequeue) {
6006 struct dlm_lkb *lkb, *safe; local
6029 list_for_each_entry_safe(lkb, safe,
6047 struct dlm_lkb *lkb, *safe; local
6088 struct dlm_lkb *lkb, *safe; local
[all...]
H A Duser.c151 struct dlm_callback *cb, *safe; local
153 list_for_each_entry_safe(cb, safe, &lkb->lkb_callbacks, list) {
/linux-master/mm/kasan/
H A Dkasan_test.c701 static void kasan_atomics_helper(struct kunit *test, void *unsafe, void *safe) argument
722 KUNIT_EXPECT_KASAN_FAIL(test, atomic_try_cmpxchg(unsafe, safe, 42));
723 KUNIT_EXPECT_KASAN_FAIL(test, atomic_try_cmpxchg(safe, unsafe, 42));
746 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_try_cmpxchg(unsafe, safe, 42));
747 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_try_cmpxchg(safe, unsafe, 42));
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx10.asm1181 s_waitcnt lgkmcnt(0) //from now on, it is safe to restore STATUS and IB_STS
H A Dcwsr_trap_handler_gfx9.asm881 s_waitcnt lgkmcnt(0) //from now on, it is safe to restore STATUS and IB_STS
/linux-master/net/tipc/
H A Dsocket.c528 /* Start out with safe limits until we receive an advertised window */
2933 struct publication *safe, *p; local
2937 list_for_each_entry_safe(p, safe, &tsk->publications, binding_sock) {
H A Dnode.c726 struct tipc_sock_conn *conn, *safe; local
736 list_for_each_entry_safe(conn, safe, &node->conn_sks, list) {
1519 struct tipc_sock_conn *conn, *safe; local
1545 list_for_each_entry_safe(conn, safe, conns, list) {
1757 * lookup, which are rare and safe to dispose of anyway.
/linux-master/net/ipv6/
H A Droute.c166 struct rt6_info *rt, *safe; local
172 list_for_each_entry_safe(rt, safe, &ul->head, dst.rt_uncached) {
968 /* this function is safe */
4965 /* fib6_nh_mtu_change only returns 0, so this is safe */
/linux-master/kernel/bpf/
H A Dbtf.c349 /* Chunk size we use in safe copy of data to be shown. */
354 * 128-bit int); if we are at the end of our safe buffer and have
387 * Another problem is we want to ensure the data for display is safe to
389 * object and our safe copy of it. We copy portions of the data needed
395 * btf_show_start_type() which returns a pointer to the safe copy
398 * using copy_from_kernel_nofault() to update the safe data if necessary
405 * which our safe data starts. obj.data will advance as we copy
436 u8 safe[BTF_SHOW_OBJ_SAFE_SIZE]; member in struct:btf_show::__anon2843
1049 /* We may not be able to represent this type; bail to be safe */
1179 /* How much is left to copy to safe buffe
1239 void *safe = NULL; local
[all...]
/linux-master/fs/btrfs/
H A Dtree-log.c2883 struct btrfs_log_ctx *safe; local
2885 list_for_each_entry_safe(ctx, safe, &root->log_ctxs[index], list) {
2898 * or renames done in the past mean that sometimes the only safe
3010 * new positions. so it's safe to allow log writers to go in.
3036 * Now we are safe to update the log_root_tree because we're under the
5409 * Not acquiring the VFS lock of the inodes is still safe because:
5829 * We are safe logging the other inode without acquiring its
5831 * are safe against concurrent renames of the other inode as
7159 * it is not safe to log dentry if the chunk root has added new
/linux-master/drivers/md/
H A Draid10.c879 * rare that this path is taken, it is perfectly safe to force
4608 * yet recorded as 'safe' (i.e. in metadata on disk) then
4612 * 'safe' as the earliest block which might not have been copied
4618 * write to, and first_device_address on the 'safe' position.
4619 * If this 'next' write position is after the 'safe' position,
4620 * we must update the metadata to increase the 'safe' position.
4624 * less than current safe position.
4628 * so next can be after 'safe', but not by more than offset_diff
4639 sector_t next, safe, last; local
4678 /* 'safe' i
[all...]
/linux-master/arch/x86/realmode/rm/
H A Dtrampoline_64.S62 cli # We should be safe anyway
106 cli # We should be safe anyway
138 * then it is safe for us to set the MSR bit and continue. If we
151 * CPU has has not been set. It is safe to set it, so do so.
/linux-master/arch/x86/mm/
H A Dextable.c175 struct pt_regs *regs, bool wrmsr, bool safe, int reg)
177 if (__ONCE_LITE_IF(!safe && wrmsr)) {
184 if (__ONCE_LITE_IF(!safe && !wrmsr)) {
196 if (safe)
244 * is it safe to write to the ERETU return frame which is just above
283 * safe to write to a previous FRED stack frame as they never overlap.
174 ex_handler_msr(const struct exception_table_entry *fixup, struct pt_regs *regs, bool wrmsr, bool safe, int reg) argument
/linux-master/arch/x86/boot/
H A Dheader.S313 # The highest safe address for
394 # Getting to provably safe in-place decompression is hard. Worst case
433 # data, plus a small amount extra to keep the algorithm safe. The
453 # to be safe. To avoid problems at the block level allocating 5 extra bytes
/linux-master/drivers/scsi/
H A Ddc395x.c476 int safe; /* safe value */ member in struct:ParameterData
530 * command line overrides will be used. If set to 1 then safe and
534 module_param_named(safe, use_safe_settings, bool, 0);
535 MODULE_PARM_DESC(safe, "Use safe and slow settings only. Default: false");
559 * set all values to the safe and slow values.
567 dprintkl(KERN_INFO, "Using safe settings.\n");
570 cfg_data[i].value = cfg_data[i].safe;
/linux-master/drivers/media/pci/cobalt/
H A Dcobalt-v4l2.c393 struct list_head *p, *safe; local
400 list_for_each_safe(p, safe, &s->bufs) {
/linux-master/fs/gfs2/
H A Dsuper.c1469 * is safe, just less efficient.
1557 struct local_statfs_inode *lsi, *safe; local
1560 list_for_each_entry_safe(lsi, safe, &sdp->sd_sc_inodes_list, si_list) {

Completed in 462 milliseconds

123