/linux/fs/dlm/ |
H A D | recover.c | 42 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 D | lockspace.c | 33 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store() 59 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store() 70 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show() 75 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store() 84 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show() 89 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store() 101 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show() 107 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show() 164 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() local 172 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() local [all …]
|
H A D | member.c | 28 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() 398 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members() [all …]
|
H A D | rcom.c | 25 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() 101 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status() 111 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() 122 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() 144 static void allow_sync_reply(struct dlm_ls *ls, __le64 *new_seq) in allow_sync_reply() 152 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply() 171 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, in dlm_rcom_status() [all …]
|
H A D | lock.c | 204 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() 375 struct dlm_ls *ls = r->res_ls; in put_rsb() local 393 static void enable_scan_timer(struct dlm_ls *ls, unsigned long jiffies) in enable_scan_timer() 405 void resume_scan_timer(struct dlm_ls *ls) in resume_scan_timer() 419 static void del_scan(struct dlm_ls *ls, struct dlm_rsb *r) in del_scan() 458 static void add_scan(struct dlm_ls *ls, struct dlm_rsb *r) in add_scan() 512 struct dlm_ls *ls = from_timer(ls, timer, ls_scan_timer); in dlm_rsb_scan() local 598 static int get_rsb_struct(struct dlm_ls *ls, const void *name, int len, in get_rsb_struct() [all …]
|
H A D | dir.c | 33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() 50 void dlm_recover_dir_nodeid(struct dlm_ls *ls, const struct list_head *root_list) in dlm_recover_dir_nodeid() 59 int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq) in dlm_recover_directory() 197 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, const char *name, in find_rsb_root() 236 static void drop_dir_ctx(struct dlm_ls *ls, int nodeid) in drop_dir_ctx() 252 static struct dlm_dir_dump *lookup_dir_dump(struct dlm_ls *ls, int nodeid) in lookup_dir_dump() 268 static struct dlm_dir_dump *init_dir_dump(struct dlm_ls *ls, int nodeid) in init_dir_dump() 297 void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen, in dlm_copy_master_names()
|
H A D | requestqueue.c | 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, in dlm_add_requestqueue() 65 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue() 108 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() 133 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
|
H A D | user.c | 181 struct dlm_ls *ls; in dlm_user_add_ast() local 251 struct dlm_ls *ls; in device_user_lock() local 302 struct dlm_ls *ls; in device_user_unlock() local 331 struct dlm_ls *ls; in device_user_deadlock() local 344 static int dlm_device_register(struct dlm_ls *ls, char *name) in dlm_device_register() 376 int dlm_device_deregister(struct dlm_ls *ls) in dlm_device_deregister() 392 struct dlm_ls *ls; in device_user_purge() local 408 struct dlm_ls *ls; in device_create_lockspace() local 438 struct dlm_ls *ls; in device_remove_lockspace() local 642 struct dlm_ls *ls; in device_open() local [all …]
|
H A D | debug_fs.c | 399 struct dlm_ls *ls = seq->private; in table_seq_start() local 422 struct dlm_ls *ls = seq->private; in table_seq_next() local 435 struct dlm_ls *ls = seq->private; in table_seq_stop() local 507 struct dlm_ls *ls = seq->private; in table_write2() local 597 struct dlm_ls *ls = file->private_data; in waiters_read() local 631 struct dlm_ls *ls = file->private_data; in waiters_write() local 665 void dlm_delete_debug_file(struct dlm_ls *ls) in dlm_delete_debug_file() 762 void dlm_create_debug_file(struct dlm_ls *ls) in dlm_create_debug_file()
|
H A D | plock.c | 126 struct dlm_ls *ls; in dlm_posix_lock() local 291 struct dlm_ls *ls; in dlm_posix_unlock() local 364 struct dlm_ls *ls; in dlm_posix_cancel() local 425 struct dlm_ls *ls; in dlm_posix_get() local
|
H A D | dlm_internal.h | 62 #define log_error(ls, fmt, args...) \ argument 65 #define log_rinfo(ls, fmt, args...) \ argument 75 #define log_debug(ls, fmt, args...) \ argument 82 #define log_limit(ls, fmt, args...) \ argument 724 static inline int dlm_locking_stopped(struct dlm_ls *ls) in dlm_locking_stopped() 729 static inline int dlm_recovery_stopped(struct dlm_ls *ls) in dlm_recovery_stopped() 734 static inline int dlm_no_directory(struct dlm_ls *ls) in dlm_no_directory() 824 static inline void dlm_create_debug_file(struct dlm_ls *ls) { } in dlm_create_debug_file() 825 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } in dlm_delete_debug_file()
|
H A D | memory.c | 85 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb()
|
/linux/fs/nfsd/ |
H A D | nfs4layouts.c | 155 void nfsd4_close_layout(struct nfs4_layout_stateid *ls) in nfsd4_close_layout() 175 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid() local 198 nfsd4_layout_setlease(struct nfs4_layout_stateid *ls) in nfsd4_layout_setlease() 232 struct nfs4_layout_stateid *ls; in nfsd4_alloc_layout_stateid() local 284 struct nfs4_layout_stateid *ls; in nfsd4_preprocess_layout_stateid() local 334 nfsd4_recall_file_layout(struct nfs4_layout_stateid *ls) in nfsd4_recall_file_layout() 398 nfsd4_recall_conflict(struct nfs4_layout_stateid *ls) in nfsd4_recall_conflict() 417 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout() 508 struct nfs4_layout_stateid *ls; in nfsd4_return_file_layouts() local 551 struct nfs4_layout_stateid *ls, *n; in nfsd4_return_client_layouts() local [all …]
|
H A D | pnfs.h | 95 static inline void nfsd4_close_layout(struct nfs4_layout_stateid *ls) in nfsd4_close_layout()
|
/linux/security/apparmor/ |
H A D | label.c | 597 struct aa_labelset *ls = labels_set(label); in __label_remove() local 633 struct aa_labelset *ls = labels_set(old); in __label_replace() local 667 __label_insert(struct aa_labelset * ls,struct aa_label * label,bool replace) __label_insert() argument 776 struct aa_labelset *ls = labels_set(label); aa_label_remove() local 812 struct aa_labelset *ls = labels_set(old); aa_label_replace() local 840 struct aa_labelset *ls; vec_find() local 861 struct aa_labelset *ls; vec_create_and_insert_label() local 930 aa_label_insert(struct aa_labelset * ls,struct aa_label * label) aa_label_insert() argument 1056 struct aa_labelset *ls; label_merge_insert() local 1143 __label_find_merge(struct aa_labelset * ls,struct aa_label * a,struct aa_label * b) __label_find_merge() argument 1186 struct aa_labelset *ls; aa_label_find_merge() local 1448 struct aa_labelset *ls; aa_update_label_name() local 1983 aa_labelset_destroy(struct aa_labelset * ls) aa_labelset_destroy() argument 2006 aa_labelset_init(struct aa_labelset * ls) aa_labelset_init() argument 2014 labelset_next_stale(struct aa_labelset * ls) labelset_next_stale() argument 2055 struct aa_labelset *ls; __label_update() local [all...] |
/linux/fs/gfs2/ |
H A D | sys.c | 405 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
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_save.c | 49 unsigned int ls = 16384; in save_upper_240kb() local 106 unsigned int ls = (unsigned int)®s_spill[0]; in spill_regs_to_mem() local
|
H A D | spu_restore.c | 34 unsigned int ls = (unsigned int)®s_spill[0]; in fetch_regs_from_mem() local 49 unsigned int ls = 16384; in restore_upper_240kb() local
|
H A D | spu_utils.h | 99 unsigned int ls = 0; in enqueue_putllc() local
|
H A D | run.c | 313 void __iomem *ls; in spu_process_callback() local
|
/linux/arch/m68k/lib/ |
H A D | memset.c | 34 long *ls = s; in memset() local
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_descs.c | 147 bool ls, unsigned int tot_pkt_len) in dwxgmac2_prepare_tx_desc() 185 bool ls, unsigned int tcphdrlen, in dwxgmac2_prepare_tso_tx_desc()
|
H A D | dwmac4_descs.c | 324 bool ls, unsigned int tot_pkt_len) in dwmac4_rd_prepare_tx_desc() 362 bool ls, unsigned int tcphdrlen, in dwmac4_rd_prepare_tso_tx_desc()
|
/linux/tools/perf/ |
H A D | builtin-lock.c | 662 struct lock_stat *ls; in report_lock_acquire_event() local 737 struct lock_stat *ls; in report_lock_acquired_event() local 803 struct lock_stat *ls; in report_lock_contended_event() local 861 struct lock_stat *ls; in report_lock_release_event() local 1062 struct lock_stat *ls; in report_lock_contention_begin_event() local 1226 struct lock_stat *ls; in report_lock_contention_end_event() local
|
/linux/drivers/leds/ |
H A D | leds-pca955x.c | 244 u8 ls, pwm; in pca955x_led_get() local 278 u8 ls; in pca955x_led_set() local
|