Home
last modified time | relevance | path

Searched defs:ls (Results 1 – 25 of 85) sorted by relevance

1234

/openbmc/linux/fs/dlm/
H A Drecover.c42 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function()
74 uint32_t dlm_recover_status(struct dlm_ls *ls) in dlm_recover_status()
83 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) in _set_recover_status()
88 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) in dlm_set_recover_status()
95 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, in wait_status_all()
128 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, in wait_status_low()
154 static int wait_status(struct dlm_ls *ls, uint32_t status, uint64_t seq) in wait_status()
169 int dlm_recover_members_wait(struct dlm_ls *ls, uint64_t seq) in dlm_recover_members_wait()
213 int dlm_recover_directory_wait(struct dlm_ls *ls, uint64_t seq) in dlm_recover_directory_wait()
218 int dlm_recover_locks_wait(struct dlm_ls *ls, uint64_t seq) in dlm_recover_locks_wait()
[all …]
H A Dlockspace.c35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
61 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
72 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
77 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
86 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
91 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
103 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
109 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
166 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() local
174 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() local
[all …]
H A Drecoverd.c31 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking()
51 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) in ls_recover()
257 static void do_ls_recovery(struct dlm_ls *ls) in do_ls_recovery()
302 struct dlm_ls *ls; in dlm_recoverd() local
350 int dlm_recoverd_start(struct dlm_ls *ls) in dlm_recoverd_start()
363 void dlm_recoverd_stop(struct dlm_ls *ls) in dlm_recoverd_stop()
368 void dlm_recoverd_suspend(struct dlm_ls *ls) in dlm_recoverd_suspend()
374 void dlm_recoverd_resume(struct dlm_ls *ls) in dlm_recoverd_resume()
H A Dmember.c28 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, in dlm_slot_save()
40 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_slots_copy_out()
62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots()
97 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in()
160 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign()
286 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) in add_ordered_member()
325 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) in dlm_add_member()
360 int dlm_is_member(struct dlm_ls *ls, int nodeid) in dlm_is_member()
367 int dlm_is_removed(struct dlm_ls *ls, int nodeid) in dlm_is_removed()
396 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members()
[all …]
H A Drcom.c25 static int rcom_response(struct dlm_ls *ls) in rcom_response()
30 static void _create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in _create_rcom()
50 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom()
70 static int create_rcom_stateless(struct dlm_ls *ls, int to_nodeid, int type, in create_rcom_stateless()
102 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status()
112 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config()
123 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config()
145 static void allow_sync_reply(struct dlm_ls *ls, __le64 *new_seq) in allow_sync_reply()
153 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply()
172 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, in dlm_rcom_status()
[all …]
H A Dlock.c204 static inline void dlm_lock_recovery(struct dlm_ls *ls) in dlm_lock_recovery()
209 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery()
214 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try()
341 struct dlm_ls *ls = r->res_ls; in put_rsb() local
356 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct()
392 static int get_rsb_struct(struct dlm_ls *ls, const void *name, int len, in get_rsb_struct()
538 static int find_rsb_dir(struct dlm_ls *ls, const void *name, int len, in find_rsb_dir()
716 static int find_rsb_nodir(struct dlm_ls *ls, const void *name, int len, in find_rsb_nodir()
810 static int find_rsb(struct dlm_ls *ls, const void *name, int len, in find_rsb()
836 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid()
[all …]
H A Dast.c43 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_enqueue_lkb_callback() local
136 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_cb() local
173 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_callback_work() local
222 int dlm_callback_start(struct dlm_ls *ls) in dlm_callback_start()
233 void dlm_callback_stop(struct dlm_ls *ls) in dlm_callback_stop()
239 void dlm_callback_suspend(struct dlm_ls *ls) in dlm_callback_suspend()
252 void dlm_callback_resume(struct dlm_ls *ls) in dlm_callback_resume()
H A Drequestqueue.c33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, in dlm_add_requestqueue()
68 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue()
125 void dlm_wait_requestqueue(struct dlm_ls *ls) in dlm_wait_requestqueue()
131 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request()
156 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
H A Ddir.c33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid()
50 void dlm_recover_dir_nodeid(struct dlm_ls *ls) in dlm_recover_dir_nodeid()
61 int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq) in dlm_recover_directory()
199 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, const char *name, in find_rsb_root()
236 void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen, in dlm_copy_master_names()
H A Duser.c198 struct dlm_ls *ls; in dlm_user_add_ast() local
267 struct dlm_ls *ls; in device_user_lock() local
318 struct dlm_ls *ls; in device_user_unlock() local
347 struct dlm_ls *ls; in device_user_deadlock() local
360 static int dlm_device_register(struct dlm_ls *ls, char *name) in dlm_device_register()
392 int dlm_device_deregister(struct dlm_ls *ls) in dlm_device_deregister()
408 struct dlm_ls *ls; in device_user_purge() local
424 struct dlm_ls *ls; in device_create_lockspace() local
454 struct dlm_ls *ls; in device_remove_lockspace() local
658 struct dlm_ls *ls; in device_open() local
[all …]
H A Dmemory.c83 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb()
96 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb()
111 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb()
H A Ddebug_fs.c480 struct dlm_ls *ls = seq->private; in table_seq_start() local
560 struct dlm_ls *ls = seq->private; in table_seq_next() local
709 struct dlm_ls *ls = seq->private; in table_write2() local
821 struct dlm_ls *ls = file->private_data; in waiters_read() local
847 struct dlm_ls *ls = file->private_data; in waiters_write() local
876 void dlm_delete_debug_file(struct dlm_ls *ls) in dlm_delete_debug_file()
974 void dlm_create_debug_file(struct dlm_ls *ls) in dlm_create_debug_file()
H A Dplock.c126 struct dlm_ls *ls; in dlm_posix_lock() local
295 struct dlm_ls *ls; in dlm_posix_unlock() local
371 struct dlm_ls *ls; in dlm_posix_cancel() local
432 struct dlm_ls *ls; in dlm_posix_get() local
/openbmc/linux/fs/gfs2/
H A Dlock_dlm.c263 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_lock() local
299 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock() local
344 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel() local
491 static void control_lvb_read(struct lm_lockstruct *ls, uint32_t *lvb_gen, in control_lvb_read()
500 static void control_lvb_write(struct lm_lockstruct *ls, uint32_t lvb_gen, in control_lvb_write()
517 struct lm_lockstruct *ls = arg; in sync_wait_cb() local
523 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock() local
546 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock() local
576 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock() local
582 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock() local
[all …]
H A Dsys.c405 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_show() local
417 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_store() local
461 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in lkfirst_show() local
494 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in first_done_show() local
552 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_done_show() local
558 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_status_show() local
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-hypothesis/
H A Dtest_binary_search.py31 def binary_search(ls, v): argument
78 def is_sorted(ls): argument
100 def test_insert_is_sorted(ls, v): argument
109 def test_is_minimal(ls, v): argument
119 def test_inserts_into_same_place_twice(ls, v): argument
H A Dtest_rle.py74 def test_decodes_to_starting_sequence(ls): argument
84 def test_duplicating_an_element_does_not_increase_length(ls, data): argument
/openbmc/linux/fs/nfsd/
H A Dnfs4layouts.c158 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid() local
183 nfsd4_layout_setlease(struct nfs4_layout_stateid *ls) in nfsd4_layout_setlease()
218 struct nfs4_layout_stateid *ls; in nfsd4_alloc_layout_stateid() local
270 struct nfs4_layout_stateid *ls; in nfsd4_preprocess_layout_stateid() local
320 nfsd4_recall_file_layout(struct nfs4_layout_stateid *ls) in nfsd4_recall_file_layout()
384 nfsd4_recall_conflict(struct nfs4_layout_stateid *ls) in nfsd4_recall_conflict()
403 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout()
494 struct nfs4_layout_stateid *ls; in nfsd4_return_file_layouts() local
537 struct nfs4_layout_stateid *ls, *n; in nfsd4_return_client_layouts() local
569 nfsd4_return_all_layouts(struct nfs4_layout_stateid *ls, in nfsd4_return_all_layouts()
[all …]
/openbmc/linux/security/apparmor/
H A Dlabel.c595 struct aa_labelset *ls = labels_set(label); in __label_remove() local
631 struct aa_labelset *ls = labels_set(old); in __label_replace() local
665 static struct aa_label *__label_insert(struct aa_labelset *ls, in __label_insert()
774 struct aa_labelset *ls = labels_set(label); in aa_label_remove() local
810 struct aa_labelset *ls = labels_set(old); in aa_label_replace() local
838 struct aa_labelset *ls; in vec_find() local
859 struct aa_labelset *ls; in vec_create_and_insert_label() local
928 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *label) in aa_label_insert()
1054 struct aa_labelset *ls; in label_merge_insert() local
1141 static struct aa_label *__label_find_merge(struct aa_labelset *ls, in __label_find_merge()
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_save.c49 unsigned int ls = 16384; in save_upper_240kb() local
106 unsigned int ls = (unsigned int)&regs_spill[0]; in spill_regs_to_mem() local
H A Dspu_restore.c34 unsigned int ls = (unsigned int)&regs_spill[0]; in fetch_regs_from_mem() local
49 unsigned int ls = 16384; in restore_upper_240kb() local
/openbmc/qemu/tests/tcg/s390x/
H A Dlong-double.c16 long double ls = (long double)i - j; in main() local
/openbmc/linux/arch/m68k/lib/
H A Dmemset.c34 long *ls = s; in memset() local
/openbmc/linux/drivers/leds/
H A Dleds-pca955x.c176 static inline int pca955x_ledstate(u8 ls, int led_num) in pca955x_ledstate()
283 u8 ls, pwm; in pca955x_led_get() local
316 u8 ls; in pca955x_led_set() local
418 u8 ls; in pca955x_led_blink() local
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwxgmac2_descs.c145 bool ls, unsigned int tot_pkt_len) in dwxgmac2_prepare_tx_desc()
183 bool ls, unsigned int tcphdrlen, in dwxgmac2_prepare_tso_tx_desc()

1234