Home
last modified time | relevance | path

Searched refs:ls (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/linux/fs/dlm/
A Drecoverd.c60 dlm_callback_suspend(ls); in ls_recover()
62 dlm_clear_toss(ls); in ls_recover()
117 ls->ls_recover_dir_sent_res, ls->ls_recover_dir_sent_msg); in ls_recover()
138 dlm_recover_purge(ls); in ls_recover()
178 dlm_recover_rsbs(ls); in ls_recover()
236 dlm_recover_grant(ls); in ls_recover()
270 ls_recover(ls, rv); in do_ls_recovery()
278 struct dlm_ls *ls; in dlm_recoverd() local
281 if (!ls) { in dlm_recoverd()
316 do_ls_recovery(ls); in dlm_recoverd()
[all …]
A Dlockspace.c44 ls = dlm_find_lockspace_local(ls->ls_local_handle); in dlm_control_store()
45 if (!ls) in dlm_control_store()
183 kfree(ls); in lockspace_kobj_release()
274 if (ls) { in dlm_scand()
321 ls = NULL; in dlm_find_lockspace_global()
324 return ls; in dlm_find_lockspace_global()
479 if (!ls) in new_lockspace()
543 ls->ls_stub_rsb.res_ls = ls; in new_lockspace()
589 ls->ls_local_handle = ls; in new_lockspace()
813 idr_for_each(&ls->ls_lkbidr, lkb_idr_free, ls); in release_lockspace()
[all …]
A Drecover.c42 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function() argument
49 testfn(ls) || dlm_recovery_stopped(ls), in dlm_wait_function()
195 ls->ls_slots = slots; in dlm_recover_members_wait()
196 ls->ls_generation = gen; in dlm_recover_members_wait()
206 dlm_slots_copy_in(ls); in dlm_recover_members_wait()
555 up_read(&ls->ls_root_sem); in dlm_recover_masters()
562 recover_idr_clear(ls); in dlm_recover_masters()
592 if (recover_idr_empty(ls)) in dlm_recover_master_reply()
688 up_read(&ls->ls_root_sem); in dlm_recover_locks()
695 recover_list_clear(ls); in dlm_recover_locks()
[all …]
A Dmember.c140 if (ls->ls_slot && ls->ls_slot != memb->slot) { in dlm_slots_copy_in()
147 if (!ls->ls_slot) in dlm_slots_copy_in()
335 ls->ls_num_nodes++; in dlm_add_member()
462 if (!ls->ls_ops || !ls->ls_ops->recover_prep) in dlm_lsop_recover_prep()
464 ls->ls_ops->recover_prep(ls->ls_ops_arg); in dlm_lsop_recover_prep()
473 if (!ls->ls_ops || !ls->ls_ops->recover_slot) in dlm_lsop_recover_slot()
490 ls->ls_ops->recover_slot(ls->ls_ops_arg, &slot); in dlm_lsop_recover_slot()
499 if (!ls->ls_ops || !ls->ls_ops->recover_done) in dlm_lsop_recover_done()
518 ls->ls_ops->recover_done(ls->ls_ops_arg, slots, num, in dlm_lsop_recover_done()
519 ls->ls_slot, ls->ls_generation); in dlm_lsop_recover_done()
[all …]
A Drcom.c140 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config()
150 spin_lock(&ls->ls_rcom_spin); in allow_sync_reply()
151 *new_seq = ++ls->ls_rcom_seq; in allow_sync_reply()
158 spin_lock(&ls->ls_rcom_spin); in disallow_sync_reply()
184 rc = ls->ls_recover_buf; in dlm_rcom_status()
203 disallow_sync_reply(ls); in dlm_rcom_status()
209 rc = ls->ls_recover_buf; in dlm_rcom_status()
279 dlm_slots_copy_out(ls, rc); in receive_rcom_status()
326 disallow_sync_reply(ls); in dlm_rcom_names()
447 len += ls->ls_lvblen; in dlm_send_rcom_lock()
[all …]
A Drequestqueue.c47 mutex_lock(&ls->ls_requestqueue_mutex); in dlm_add_requestqueue()
49 mutex_unlock(&ls->ls_requestqueue_mutex); in dlm_add_requestqueue()
69 mutex_lock(&ls->ls_requestqueue_mutex); in dlm_process_requestqueue()
72 if (list_empty(&ls->ls_requestqueue)) { in dlm_process_requestqueue()
90 mutex_lock(&ls->ls_requestqueue_mutex); in dlm_process_requestqueue()
94 if (dlm_locking_stopped(ls)) { in dlm_process_requestqueue()
120 if (list_empty(&ls->ls_requestqueue)) in dlm_wait_requestqueue()
133 if (!ls->ls_count) in purge_request()
136 if (dlm_is_removed(ls, nodeid)) in purge_request()
147 if (!dlm_no_directory(ls)) in purge_request()
[all …]
A Ddir.c37 if (ls->ls_num_nodes == 1) in dlm_hash2nodeid()
41 return ls->ls_node_array[node]; in dlm_hash2nodeid()
54 down_read(&ls->ls_root_sem); in dlm_recover_dir_nodeid()
58 up_read(&ls->ls_root_sem); in dlm_recover_dir_nodeid()
71 if (dlm_no_directory(ls)) in dlm_recover_directory()
219 down_read(&ls->ls_root_sem); in find_rsb_root()
222 up_read(&ls->ls_root_sem); in find_rsb_root()
228 up_read(&ls->ls_root_sem); in find_rsb_root()
244 down_read(&ls->ls_root_sem); in dlm_copy_master_names()
256 list = ls->ls_root_list.next; in dlm_copy_master_names()
[all …]
A Dlock.c420 r->res_ls = ls; in get_rsb_struct()
1269 struct dlm_ls *ls; in dlm_put_lkb() local
1631 !rsb_cmp(r, ls->ls_remove_name, ls->ls_remove_len)) { in wait_pending_remove()
3421 struct dlm_ls *ls; in dlm_lock() local
3427 if (!ls) in dlm_lock()
3475 if (!ls) in dlm_unlock()
4159 send_request_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); in receive_request()
4214 send_convert_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); in receive_convert()
4265 send_unlock_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); in receive_unlock()
4301 send_cancel_reply(&ls->ls_stub_rsb, &ls->ls_stub_lkb, error); in receive_cancel()
[all …]
A Dlock.h15 void dlm_dump_rsb_name(struct dlm_ls *ls, char *name, int len);
24 void dlm_scan_rsbs(struct dlm_ls *ls);
25 int dlm_lock_recovery_try(struct dlm_ls *ls);
26 void dlm_unlock_recovery(struct dlm_ls *ls);
27 void dlm_scan_waiters(struct dlm_ls *ls);
28 void dlm_scan_timeout(struct dlm_ls *ls);
29 void dlm_adjust_timeouts(struct dlm_ls *ls);
36 void dlm_recover_purge(struct dlm_ls *ls);
38 void dlm_recover_grant(struct dlm_ls *ls);
39 int dlm_recover_waiters_post(struct dlm_ls *ls);
[all …]
A Drecover.h15 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls));
16 uint32_t dlm_recover_status(struct dlm_ls *ls);
18 int dlm_recover_members_wait(struct dlm_ls *ls);
20 int dlm_recover_locks_wait(struct dlm_ls *ls);
21 int dlm_recover_done_wait(struct dlm_ls *ls);
22 int dlm_recover_masters(struct dlm_ls *ls);
24 int dlm_recover_locks(struct dlm_ls *ls);
26 int dlm_create_root_list(struct dlm_ls *ls);
27 void dlm_release_root_list(struct dlm_ls *ls);
28 void dlm_clear_toss(struct dlm_ls *ls);
[all …]
A Dast.c202 mutex_lock(&ls->ls_cb_mutex); in dlm_add_cb()
204 mutex_unlock(&ls->ls_cb_mutex); in dlm_add_cb()
272 if (!ls->ls_callback_wq) { in dlm_callback_start()
281 if (ls->ls_callback_wq) in dlm_callback_stop()
282 destroy_workqueue(ls->ls_callback_wq); in dlm_callback_stop()
287 set_bit(LSFL_CB_DELAY, &ls->ls_flags); in dlm_callback_suspend()
289 if (ls->ls_callback_wq) in dlm_callback_suspend()
290 flush_workqueue(ls->ls_callback_wq); in dlm_callback_suspend()
302 if (!ls->ls_callback_wq) in dlm_callback_resume()
306 mutex_lock(&ls->ls_cb_mutex); in dlm_callback_resume()
[all …]
A Dmember.h14 int dlm_ls_stop(struct dlm_ls *ls);
15 int dlm_ls_start(struct dlm_ls *ls);
16 void dlm_clear_members(struct dlm_ls *ls);
17 void dlm_clear_members_gone(struct dlm_ls *ls);
19 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
22 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc,
24 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc);
25 int dlm_slots_copy_in(struct dlm_ls *ls);
26 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
[all …]
A Duser.c178 struct dlm_ls *ls; in dlm_user_add_ast() local
239 struct dlm_ls *ls; in device_user_lock() local
245 if (!ls) in device_user_lock()
293 struct dlm_ls *ls; in device_user_unlock() local
298 if (!ls) in device_user_unlock()
326 if (!ls) in device_user_deadlock()
387 if (!ls) in device_user_purge()
412 if (!ls) in device_create_lockspace()
436 if (!ls) in device_remove_lockspace()
636 if (!ls) in device_open()
[all …]
A Ddebug_fs.c425 struct dlm_ls *ls = seq->private; in table_seq_start() local
435 if (bucket >= ls->ls_rsbtbl_size) in table_seq_start()
452 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
484 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start()
550 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_next()
800 ls->ls_debug_rsb_dentry = debugfs_create_file(ls->ls_name, in dlm_create_debug_file()
803 ls, in dlm_create_debug_file()
814 ls, in dlm_create_debug_file()
825 ls, in dlm_create_debug_file()
836 ls, in dlm_create_debug_file()
[all …]
A Dplock.c88 op->info.fsid = ls->ls_global_id; in do_unlock_close()
104 struct dlm_ls *ls; in dlm_posix_lock() local
110 if (!ls) in dlm_posix_lock()
124 op->info.fsid = ls->ls_global_id; in dlm_posix_lock()
179 dlm_put_lockspace(ls); in dlm_posix_lock()
244 struct dlm_ls *ls; in dlm_posix_unlock() local
250 if (!ls) in dlm_posix_unlock()
309 dlm_put_lockspace(ls); in dlm_posix_unlock()
318 struct dlm_ls *ls; in dlm_posix_get() local
323 if (!ls) in dlm_posix_get()
[all …]
A Ddlm_internal.h66 #define log_error(ls, fmt, args...) \ argument
69 #define log_rinfo(ls, fmt, args...) \ argument
73 (ls)->ls_name, ##args); \
76 (ls)->ls_name , ##args); \
79 #define log_debug(ls, fmt, args...) \ argument
83 (ls)->ls_name , ##args); \
86 #define log_limit(ls, fmt, args...) \ argument
90 (ls)->ls_name , ##args); \
743 return test_bit(LSFL_NODIR, &ls->ls_flags); in dlm_no_directory()
755 void dlm_create_debug_file(struct dlm_ls *ls);
[all …]
A Dast.h17 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
23 int dlm_callback_start(struct dlm_ls *ls);
24 void dlm_callback_stop(struct dlm_ls *ls);
25 void dlm_callback_suspend(struct dlm_ls *ls);
26 void dlm_callback_resume(struct dlm_ls *ls);
/linux/fs/gfs2/
A Dlock_dlm.c509 error = dlm_unlock(ls->ls_dlm, lksb->sb_lkid, 0, lksb, ls); in sync_unlock()
669 control_lvb_read(ls, &lvb_gen, ls->ls_lvb_bits); in gfs2_control_func()
740 control_lvb_write(ls, start_gen, ls->ls_lvb_bits); in gfs2_control_func()
801 ls->ls_control_lksb.sb_lvbptr = ls->ls_control_lvb; in control_mount()
898 control_lvb_read(ls, &lvb_gen, ls->ls_lvb_bits); in control_mount()
1033 control_lvb_write(ls, start_gen, ls->ls_lvb_bits); in control_first_done()
1125 ls->ls_recover_block = ls->ls_recover_start; in gdlm_recover_prep()
1154 jid, ls->ls_recover_block, ls->ls_recover_size); in gdlm_recover_slot()
1161 jid, ls->ls_recover_block, ls->ls_recover_submit[jid]); in gdlm_recover_slot()
1163 ls->ls_recover_submit[jid] = ls->ls_recover_block; in gdlm_recover_slot()
[all …]
/linux/fs/nfsd/
A Dnfs4layouts.c173 vfs_setlease(ls->ls_file->nf_file, F_UNLCK, NULL, (void **)&ls); in nfsd4_free_layout_stateid()
176 if (ls->ls_recalled) in nfsd4_free_layout_stateid()
199 fl->fl_owner = ls; in nfsd4_layout_setlease()
262 return ls; in nfsd4_alloc_layout_stateid()
294 if (!ls) in nfsd4_preprocess_layout_stateid()
308 *lsp = ls; in nfsd4_preprocess_layout_stateid()
323 if (ls->ls_recalled) in nfsd4_recall_file_layout()
393 if (l != ls) { in nfsd4_recall_conflict()
426 new->lo_state = ls; in nfsd4_insert_layout()
502 &ls); in nfsd4_return_file_layouts()
[all …]
/linux/tools/testing/selftests/media_tests/
A Dmedia_dev_allocator.sh11 MDEV=$(ls -d *\-*)
15 ADEV=$(ls -d *\-*.1)
23 ls -l /dev/media*
32 ls -l /dev/media*
42 ls -l /dev/media*
48 ls -l /dev/media*
60 ls -l /dev/media*
68 ls -l /dev/media*
74 ls -l /dev/media*
82 ls -l /dev/media*
/linux/tools/perf/
A Dbuiltin-lock.c414 if (!ls) in report_lock_acquire_event()
416 if (ls->discard) in report_lock_acquire_event()
456 ls->discard = 1; in report_lock_acquire_event()
486 if (!ls) in report_lock_acquired_event()
488 if (ls->discard) in report_lock_acquired_event()
529 ls->avg_wait_time = ls->nr_contended ? ls->wait_time_total/ls->nr_contended : 0; in report_lock_acquired_event()
548 if (!ls) in report_lock_contended_event()
550 if (ls->discard) in report_lock_contended_event()
584 ls->avg_wait_time = ls->wait_time_total/ls->nr_contended; in report_lock_contended_event()
603 if (!ls) in report_lock_release_event()
[all …]
/linux/security/apparmor/
A Dlabel.c594 AA_BUG(!ls); in __label_remove()
630 AA_BUG(!ls); in __label_replace()
667 AA_BUG(!ls); in __label_insert()
775 AA_BUG(!ls); in aa_label_remove()
930 AA_BUG(!ls); in aa_label_insert()
1145 AA_BUG(!ls); in __label_find_merge()
1984 AA_BUG(!ls); in aa_labelset_destroy()
1987 for (node = rb_first(&ls->root); node; node = rb_first(&ls->root)) { in aa_labelset_destroy()
2004 AA_BUG(!ls); in aa_labelset_init()
2007 ls->root = RB_ROOT; in aa_labelset_init()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun_mplsoudp.c96 match.mask->ls[0].mpls_label); in parse_tunnel()
99 match.key->ls[0].mpls_label); in parse_tunnel()
103 match.mask->ls[0].mpls_tc); in parse_tunnel()
105 outer_first_mpls_over_udp.mpls_exp, match.key->ls[0].mpls_tc); in parse_tunnel()
109 match.mask->ls[0].mpls_bos); in parse_tunnel()
112 match.key->ls[0].mpls_bos); in parse_tunnel()
116 match.mask->ls[0].mpls_ttl); in parse_tunnel()
119 match.key->ls[0].mpls_ttl); in parse_tunnel()
/linux/arch/m68k/lib/
A Dmemset.c34 long *ls = s; in memset() local
37 *ls++ = c; in memset()
58 : "=a" (ls), "=d" (temp), "=&d" (temp1) in memset()
59 : "d" (c), "0" (ls), "1" (temp)); in memset()
61 s = ls; in memset()
/linux/arch/m68k/fpsp040/
A Dsgetem.S95 movel LOCAL_LO(%a0),%d1 |load ls mant in d1
98 movel %d1,LOCAL_LO(%a0) |put ls mant back on stack
107 | ls mantissa part in d1
114 tstl %d1 |test if any bits set in ls mant
119 exg %d0,%d1 |shift ls mant to ms mant
120 bfffo %d0{#0:#32},%d3 |find first 1 in ls mant to d0
127 bfffo %d0{#0:#32},%d3 |find first 1 in ls mant to d0
129 movel %d1,%d6 |save ls mant in d6
130 lsll %d3,%d1 |shift ls mant by count
132 subl %d3,%d5 |sub 32 from shift for ls mant
[all …]

Completed in 62 milliseconds

12345678910>>...13