/linux-3.3/fs/dlm/ |
D | recover.c | 46 struct dlm_ls *ls = (struct dlm_ls *) data; in dlm_wait_timer_fn() local 51 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function() 79 uint32_t dlm_recover_status(struct dlm_ls *ls) in dlm_recover_status() 88 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) in _set_recover_status() 93 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) in dlm_set_recover_status() 100 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, in wait_status_all() 133 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, in wait_status_low() 159 static int wait_status(struct dlm_ls *ls, uint32_t status) in wait_status() 174 int dlm_recover_members_wait(struct dlm_ls *ls) in dlm_recover_members_wait() 217 int dlm_recover_directory_wait(struct dlm_ls *ls) in dlm_recover_directory_wait() [all …]
|
D | recoverd.c | 33 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking() 52 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) in ls_recover() 250 static void do_ls_recovery(struct dlm_ls *ls) in do_ls_recovery() 270 struct dlm_ls *ls; in dlm_recoverd() local 292 void dlm_recoverd_kick(struct dlm_ls *ls) in dlm_recoverd_kick() 298 int dlm_recoverd_start(struct dlm_ls *ls) in dlm_recoverd_start() 311 void dlm_recoverd_stop(struct dlm_ls *ls) in dlm_recoverd_stop() 316 void dlm_recoverd_suspend(struct dlm_ls *ls) in dlm_recoverd_suspend() 322 void dlm_recoverd_resume(struct dlm_ls *ls) in dlm_recoverd_resume()
|
D | lockspace.c | 35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store() 58 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store() 66 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show() 71 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store() 77 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show() 83 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show() 132 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() local 140 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() local 147 struct dlm_ls *ls = container_of(k, struct dlm_ls, ls_kobj); in lockspace_kobj_release() local 164 static int do_uevent(struct dlm_ls *ls, int in) in do_uevent() [all …]
|
D | rcom.c | 29 static int rcom_response(struct dlm_ls *ls) in rcom_response() 34 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom() 69 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() 76 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status() 86 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() 97 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() 119 static void allow_sync_reply(struct dlm_ls *ls, uint64_t *new_seq) in allow_sync_reply() 127 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply() 146 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status() 193 static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_status() [all …]
|
D | member.c | 29 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, in dlm_slot_save() 41 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_slots_copy_out() 63 static void log_debug_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_debug_slots() 101 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in() 169 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() 296 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) in add_ordered_member() 320 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) in dlm_add_member() 354 int dlm_is_member(struct dlm_ls *ls, int nodeid) in dlm_is_member() 361 int dlm_is_removed(struct dlm_ls *ls, int nodeid) in dlm_is_removed() 379 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members() [all …]
|
D | dir.c | 27 static void put_free_de(struct dlm_ls *ls, struct dlm_direntry *de) in put_free_de() 34 static struct dlm_direntry *get_free_de(struct dlm_ls *ls, int len) in get_free_de() 56 void dlm_clear_free_entries(struct dlm_ls *ls) in dlm_clear_free_entries() 79 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() 120 static inline uint32_t dir_hash(struct dlm_ls *ls, char *name, int len) in dir_hash() 130 static void add_entry_to_hash(struct dlm_ls *ls, struct dlm_direntry *de) in add_entry_to_hash() 138 static struct dlm_direntry *search_bucket(struct dlm_ls *ls, char *name, in search_bucket() 152 void dlm_dir_remove_entry(struct dlm_ls *ls, int nodeid, char *name, int namelen) in dlm_dir_remove_entry() 179 void dlm_dir_clear(struct dlm_ls *ls) in dlm_dir_clear() 199 int dlm_recover_directory(struct dlm_ls *ls) in dlm_recover_directory() [all …]
|
D | lock.c | 201 static inline void dlm_lock_recovery(struct dlm_ls *ls) in dlm_lock_recovery() 206 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery() 211 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try() 331 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct() 367 static int get_rsb_struct(struct dlm_ls *ls, char *name, int len, in get_rsb_struct() 471 static int _search_rsb(struct dlm_ls *ls, char *name, int len, int b, in _search_rsb() 523 static int find_rsb(struct dlm_ls *ls, char *name, int namelen, in find_rsb() 605 struct dlm_ls *ls = r->res_ls; in toss_rsb() local 623 struct dlm_ls *ls = r->res_ls; in put_rsb() local 677 static int create_lkb(struct dlm_ls *ls, struct dlm_lkb **lkb_ret) in create_lkb() [all …]
|
D | ast.c | 55 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_lkb_callback() local 113 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, in dlm_rem_lkb_callback() 177 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_cb() local 215 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_callback_work() local 267 int dlm_callback_start(struct dlm_ls *ls) in dlm_callback_start() 281 void dlm_callback_stop(struct dlm_ls *ls) in dlm_callback_stop() 287 void dlm_callback_suspend(struct dlm_ls *ls) in dlm_callback_suspend() 295 void dlm_callback_resume(struct dlm_ls *ls) in dlm_callback_resume()
|
D | requestqueue.c | 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue() 63 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue() 107 void dlm_wait_requestqueue(struct dlm_ls *ls) in dlm_wait_requestqueue() 119 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() 172 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
|
D | memory.c | 49 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb() 62 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb() 77 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb()
|
D | user.c | 178 struct dlm_ls *ls; in dlm_user_add_ast() local 239 struct dlm_ls *ls; in device_user_lock() local 284 struct dlm_ls *ls; in device_user_unlock() local 313 struct dlm_ls *ls; in device_user_deadlock() local 326 static int dlm_device_register(struct dlm_ls *ls, char *name) in dlm_device_register() 354 int dlm_device_deregister(struct dlm_ls *ls) in dlm_device_deregister() 373 struct dlm_ls *ls; in device_user_purge() local 389 struct dlm_ls *ls; in device_create_lockspace() local 419 struct dlm_ls *ls; in device_remove_lockspace() local 627 struct dlm_ls *ls; in device_open() local [all …]
|
D | debug_fs.c | 397 struct dlm_ls *ls = seq->private; in table_seq_start() local 470 struct dlm_ls *ls = seq->private; in table_seq_next() local 622 struct dlm_ls *ls = file->private_data; in waiters_read() local 652 void dlm_delete_debug_file(struct dlm_ls *ls) in dlm_delete_debug_file() 664 int dlm_create_debug_file(struct dlm_ls *ls) in dlm_create_debug_file()
|
D | plock.c | 80 static void do_unlock_close(struct dlm_ls *ls, u64 number, in do_unlock_close() 107 struct dlm_ls *ls; in dlm_posix_lock() local 247 struct dlm_ls *ls; in dlm_posix_unlock() local 309 struct dlm_ls *ls; in dlm_posix_get() local
|
D | dlm_internal.h | 67 #define log_error(ls, fmt, args...) \ argument 70 #define log_debug(ls, fmt, args...) \ argument 627 static inline int dlm_locking_stopped(struct dlm_ls *ls) in dlm_locking_stopped() 632 static inline int dlm_recovery_stopped(struct dlm_ls *ls) in dlm_recovery_stopped() 637 static inline int dlm_no_directory(struct dlm_ls *ls) in dlm_no_directory() 656 static inline int dlm_create_debug_file(struct dlm_ls *ls) { return 0; } in dlm_create_debug_file() 657 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } in dlm_delete_debug_file()
|
/linux-3.3/fs/gfs2/ |
D | lock_dlm.c | 149 struct lm_lockstruct *ls = &gl->gl_sbd->sd_lockstruct; in gdlm_lock() local 167 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock() local 187 struct lm_lockstruct *ls = &gl->gl_sbd->sd_lockstruct; in gdlm_cancel() local 333 static void control_lvb_read(struct lm_lockstruct *ls, uint32_t *lvb_gen, in control_lvb_read() 342 static void control_lvb_write(struct lm_lockstruct *ls, uint32_t lvb_gen, in control_lvb_write() 363 struct lm_lockstruct *ls = arg; in sync_wait_cb() local 369 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock() local 392 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock() local 422 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock() local 428 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock() local [all …]
|
D | sys.c | 297 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_show() local 309 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_store() local 329 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in lkfirst_show() local 362 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in first_done_show() local 406 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_done_show() local 412 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_status_show() local
|
/linux-3.3/arch/powerpc/platforms/cell/spufs/ |
D | spu_save.c | 63 unsigned int ls = 16384; in save_upper_240kb() local 120 unsigned int ls = (unsigned int)®s_spill[0]; in spill_regs_to_mem() local
|
D | spu_restore.c | 48 unsigned int ls = (unsigned int)®s_spill[0]; in fetch_regs_from_mem() local 63 unsigned int ls = 16384; in restore_upper_240kb() local
|
D | spu_utils.h | 112 unsigned int ls = 0; in enqueue_putllc() local
|
D | run.c | 312 void __iomem *ls; in spu_process_callback() local
|
/linux-3.3/arch/m68k/lib/ |
D | memset.c | 34 long *ls = s; in memset() local
|
/linux-3.3/arch/mips/lasat/ |
D | lasat_board.c | 61 unsigned long *ls = lasat_board_info.li_flashpart_size; in init_flash_sizes() local
|
/linux-3.3/tools/perf/ |
D | builtin-lock.c | 424 struct lock_stat *ls; in report_lock_acquire_event() local 488 struct lock_stat *ls; in report_lock_acquired_event() local 544 struct lock_stat *ls; in report_lock_contended_event() local 591 struct lock_stat *ls; in report_lock_release_event() local
|
/linux-3.3/fs/xfs/ |
D | xfs_rtalloc.h | 46 #define XFS_SUMOFFS(mp,ls,bb) ((int)((ls) * (mp)->m_sb.sb_rbmblocks + (bb))) argument
|
/linux-3.3/drivers/staging/wlags49_h2/ |
D | wl_main.c | 2950 #define ls ((LINK_STATUS_STRCT *)ltv) in wl_endian_translate_mailbox() macro 3240 #define ls ((LINK_STATUS_STRCT *)ltv) in wl_process_mailbox() macro
|