Home
last modified time | relevance | path

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

/linux-4.4.14/fs/dlm/
Drecover.c44 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function()
72 uint32_t dlm_recover_status(struct dlm_ls *ls) in dlm_recover_status()
81 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) in _set_recover_status()
86 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) in dlm_set_recover_status()
93 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, in wait_status_all()
126 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, in wait_status_low()
152 static int wait_status(struct dlm_ls *ls, uint32_t status) in wait_status()
167 int dlm_recover_members_wait(struct dlm_ls *ls) in dlm_recover_members_wait()
210 int dlm_recover_directory_wait(struct dlm_ls *ls) in dlm_recover_directory_wait()
215 int dlm_recover_locks_wait(struct dlm_ls *ls) in dlm_recover_locks_wait()
[all …]
Drecoverd.c33 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking()
53 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) in ls_recover()
258 static void do_ls_recovery(struct dlm_ls *ls) in do_ls_recovery()
278 struct dlm_ls *ls; in dlm_recoverd() local
314 int dlm_recoverd_start(struct dlm_ls *ls) in dlm_recoverd_start()
327 void dlm_recoverd_stop(struct dlm_ls *ls) in dlm_recoverd_stop()
332 void dlm_recoverd_suspend(struct dlm_ls *ls) in dlm_recoverd_suspend()
338 void dlm_recoverd_resume(struct dlm_ls *ls) in dlm_recoverd_resume()
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()
165 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() local
173 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() local
[all …]
Drcom.c27 static int rcom_response(struct dlm_ls *ls) in rcom_response()
32 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom()
67 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom()
74 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status()
84 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config()
95 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config()
117 static void allow_sync_reply(struct dlm_ls *ls, uint64_t *new_seq) in allow_sync_reply()
125 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply()
144 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status()
191 static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_status()
[all …]
Dmember.c29 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_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots()
98 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in()
166 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign()
293 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) in add_ordered_member()
317 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) in dlm_add_member()
351 int dlm_is_member(struct dlm_ls *ls, int nodeid) in dlm_is_member()
358 int dlm_is_removed(struct dlm_ls *ls, int nodeid) in dlm_is_removed()
376 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members()
[all …]
Dast.c56 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_lkb_callback() local
114 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, in dlm_rem_lkb_callback()
178 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_cb() local
216 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_callback_work() local
268 int dlm_callback_start(struct dlm_ls *ls) in dlm_callback_start()
279 void dlm_callback_stop(struct dlm_ls *ls) in dlm_callback_stop()
285 void dlm_callback_suspend(struct dlm_ls *ls) in dlm_callback_suspend()
293 void dlm_callback_resume(struct dlm_ls *ls) in dlm_callback_resume()
Dlock.c205 static inline void dlm_lock_recovery(struct dlm_ls *ls) in dlm_lock_recovery()
210 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery()
215 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try()
351 struct dlm_ls *ls = r->res_ls; in put_rsb() local
364 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct()
400 static int get_rsb_struct(struct dlm_ls *ls, char *name, int len, in get_rsb_struct()
545 static int find_rsb_dir(struct dlm_ls *ls, char *name, int len, in find_rsb_dir()
724 static int find_rsb_nodir(struct dlm_ls *ls, char *name, int len, in find_rsb_nodir()
818 static int find_rsb(struct dlm_ls *ls, char *name, int len, int from_nodeid, in find_rsb()
843 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid()
[all …]
Drequestqueue.c34 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue()
65 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue()
118 void dlm_wait_requestqueue(struct dlm_ls *ls) in dlm_wait_requestqueue()
130 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request()
155 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
Ddir.c35 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid()
52 void dlm_recover_dir_nodeid(struct dlm_ls *ls) in dlm_recover_dir_nodeid()
63 int dlm_recover_directory(struct dlm_ls *ls) in dlm_recover_directory()
200 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, char *name, int len) in find_rsb_root()
236 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, in dlm_copy_master_names()
Dmemory.c47 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb()
60 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb()
75 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb()
Duser.c178 struct dlm_ls *ls; in dlm_user_add_ast() local
239 struct dlm_ls *ls; in device_user_lock() local
293 struct dlm_ls *ls; in device_user_unlock() local
322 struct dlm_ls *ls; in device_user_deadlock() local
335 static int dlm_device_register(struct dlm_ls *ls, char *name) in dlm_device_register()
363 int dlm_device_deregister(struct dlm_ls *ls) in dlm_device_deregister()
379 struct dlm_ls *ls; in device_user_purge() local
395 struct dlm_ls *ls; in device_create_lockspace() local
425 struct dlm_ls *ls; in device_remove_lockspace() local
634 struct dlm_ls *ls; in device_open() local
[all …]
Ddebug_fs.c426 struct dlm_ls *ls = seq->private; in table_seq_start() local
504 struct dlm_ls *ls = seq->private; in table_seq_next() local
670 struct dlm_ls *ls = file->private_data; in waiters_read() local
700 void dlm_delete_debug_file(struct dlm_ls *ls) in dlm_delete_debug_file()
709 int dlm_create_debug_file(struct dlm_ls *ls) in dlm_create_debug_file()
Dplock.c80 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
321 struct dlm_ls *ls; in dlm_posix_get() local
Ddlm_internal.h66 #define log_error(ls, fmt, args...) \ argument
68 #define log_rinfo(ls, fmt, args...) \ argument
71 #define log_debug(ls, fmt, args...) \ argument
78 #define log_limit(ls, fmt, args...) \ argument
695 static inline int dlm_locking_stopped(struct dlm_ls *ls) in dlm_locking_stopped()
700 static inline int dlm_recovery_stopped(struct dlm_ls *ls) in dlm_recovery_stopped()
705 static inline int dlm_no_directory(struct dlm_ls *ls) in dlm_no_directory()
724 static inline int dlm_create_debug_file(struct dlm_ls *ls) { return 0; } in dlm_create_debug_file()
725 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } in dlm_delete_debug_file()
/linux-4.4.14/fs/gfs2/
Dlock_dlm.c256 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_lock() local
285 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock() local
322 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel() local
468 static void control_lvb_read(struct lm_lockstruct *ls, uint32_t *lvb_gen, in control_lvb_read()
477 static void control_lvb_write(struct lm_lockstruct *ls, uint32_t lvb_gen, in control_lvb_write()
494 struct lm_lockstruct *ls = arg; in sync_wait_cb() local
500 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock() local
523 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock() local
553 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock() local
559 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock() local
[all …]
Dsys.c339 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_show() local
351 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in block_store() local
395 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in lkfirst_show() local
428 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in first_done_show() local
477 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_done_show() local
483 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in recover_status_show() local
Dutil.c40 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_withdraw() local
Drecovery.c438 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_recovery_done() local
Dops_fstype.c941 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lm_mount() local
Dfile.c989 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gfs2_lock() local
Dglock.c1268 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gfs2_glock_complete() local
/linux-4.4.14/fs/nfsd/
Dnfs4layouts.c133 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid() local
157 nfsd4_layout_setlease(struct nfs4_layout_stateid *ls) in nfsd4_layout_setlease()
189 struct nfs4_layout_stateid *ls; in nfsd4_alloc_layout_stateid() local
240 struct nfs4_layout_stateid *ls; in nfsd4_preprocess_layout_stateid() local
290 nfsd4_recall_file_layout(struct nfs4_layout_stateid *ls) in nfsd4_recall_file_layout()
354 nfsd4_recall_conflict(struct nfs4_layout_stateid *ls) in nfsd4_recall_conflict()
373 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout()
464 struct nfs4_layout_stateid *ls; in nfsd4_return_file_layouts() local
507 struct nfs4_layout_stateid *ls, *n; in nfsd4_return_client_layouts() local
539 nfsd4_return_all_layouts(struct nfs4_layout_stateid *ls, in nfsd4_return_all_layouts()
[all …]
Dnfs4callback.c564 const struct nfs4_layout_stateid *ls, in encode_cb_layout4args()
593 const struct nfs4_layout_stateid *ls = in nfs4_xdr_enc_cb_layout() local
Dnfs4proc.c1246 struct nfs4_layout_stateid *ls; in nfsd4_layoutget() local
1329 struct nfs4_layout_stateid *ls; in nfsd4_layoutcommit() local
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dspu_save.c63 unsigned int ls = 16384; in save_upper_240kb() local
120 unsigned int ls = (unsigned int)&regs_spill[0]; in spill_regs_to_mem() local
Dspu_restore.c48 unsigned int ls = (unsigned int)&regs_spill[0]; in fetch_regs_from_mem() local
63 unsigned int ls = 16384; in restore_upper_240kb() local
Dspu_utils.h112 unsigned int ls = 0; in enqueue_putllc() local
Drun.c312 void __iomem *ls; in spu_process_callback() local
/linux-4.4.14/arch/m68k/lib/
Dmemset.c34 long *ls = s; in memset() local
/linux-4.4.14/arch/mips/lasat/
Dlasat_board.c61 unsigned long *ls = lasat_board_info.li_flashpart_size; in init_flash_sizes() local
/linux-4.4.14/tools/perf/
Dbuiltin-lock.c399 struct lock_stat *ls; in report_lock_acquire_event() local
471 struct lock_stat *ls; in report_lock_acquired_event() local
534 struct lock_stat *ls; in report_lock_contended_event() local
589 struct lock_stat *ls; in report_lock_release_event() local
/linux-4.4.14/arch/arm64/kernel/
Dsetup.c122 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local
/linux-4.4.14/drivers/clk/bcm/
Dclk-cygnus.c33 #define ASIU_DIV_VAL(o, es, hs, hw, ls, lw) \ argument
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c227 const int ls, const int tw) in sxgbe_set_eee_timer()
/linux-4.4.14/drivers/leds/
Dleds-pca955x.c200 u8 ls; in pca955x_led_work() local
/linux-4.4.14/drivers/net/fddi/skfp/
Dpcmplc.c1037 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls) in sm_ph_linestate()
1923 char *ls = "" ; in get_linestate() local
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c351 static void dwmac1000_set_eee_timer(struct mac_device_info *hw, int ls, int tw) in dwmac1000_set_eee_timer()
/linux-4.4.14/arch/powerpc/kernel/
Dprom.c449 const __be32 *dm, *ls, *usm; in early_init_dt_scan_drconf_memory() local
/linux-4.4.14/arch/arm/kernel/
Dsetup.c547 u32 fs[3], bits[3], ls, mask = 0; in smp_build_mpidr_hash() local
/linux-4.4.14/arch/ia64/kernel/
Dunwind.c1034 struct unw_labeled_state *ls; in desc_copy_state() local
1050 struct unw_labeled_state *ls; in desc_label_state() local
1530 struct unw_labeled_state *ls, *next; in build_script() local
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dspu.c136 unsigned long problem, unsigned long ls, unsigned long shadow, in _dump_areas()
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtl8723a_xmit.h76 u32 ls:1; member
Drtl8723a_hal.h423 u32 ls:1; member
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_util.c1409 struct iscsi_login_stats *ls; in iscsit_collect_login_stats() local
/linux-4.4.14/arch/powerpc/include/asm/
Dspu_csa.h103 unsigned char ls[LS_SIZE] __attribute__((aligned(65536))); member
/linux-4.4.14/arch/arm64/net/
Dbpf_jit.h76 #define A64_LS_PAIR(Rt, Rt2, Rn, offset, ls, type) \ argument
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c880 union oct_link_status *ls) in update_link_status()
3088 union oct_link_status *ls; in lio_nic_info() local
/linux-4.4.14/drivers/md/
Dmd-cluster.c24 dlm_lockspace_t *ls; member
Ddm-thin.c120 static void build_key(struct dm_thin_device *td, enum lock_space ls, in build_key()
/linux-4.4.14/arch/mips/mm/
Dtlbex.c1351 const enum label_id ls = label_tlb_huge_update; in build_r4000_tlb_refill_handler() local
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c76 struct i40e_link_status *ls = &pf->hw.phy.link_info; in i40e_vc_notify_vf_link_state() local
/linux-4.4.14/kernel/rcu/
Dtree_plugin.h2456 int ls = rcu_nocb_leader_stride; in rcu_organize_nocb_kthreads() local
/linux-4.4.14/tools/lib/traceevent/
Devent-parse.c4235 int ls = 0; in make_bprint_args() local
4826 int ls; in pretty_print() local
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h75 u32 ls:1; member
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h846 #define VXGE_HW_DEVICE_LINK_STATE_SET(hldev, ls) (hldev->link_state = ls) argument
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_format.h1081 #define XFS_SUMOFFS(mp,ls,bb) ((int)((ls) * (mp)->m_sb.sb_rbmblocks + (bb))) argument
/linux-4.4.14/drivers/net/fddi/
Ddefxx.h46 PI_UINT32 ls; member
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_hw.h3638 uint32_t ls:1; member
3650 uint32_t ls:1; member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h1032 uint32_t ls:4; member
Dcvmx-gmxx-defs.h6874 uint64_t ls:2; member