Home
last modified time | relevance | path

Searched defs:lc (Results 1 – 25 of 46) sorted by relevance

12

/linux/lib/
H A Dlru_cache.c39 #define PARANOIA_LC_ELEMENT(lc, e) do { \ argument
55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock()
83 struct lru_cache *lc; in lc_create() local
150 static void lc_free_by_index(struct lru_cache *lc, unsigned i) in lc_free_by_index()
164 void lc_destroy(struct lru_cache *lc) in lc_destroy()
183 void lc_reset(struct lru_cache *lc) in lc_reset()
219 void lc_seq_printf_stats(struct seq_file *seq, struct lru_cache *lc) in lc_seq_printf_stats()
233 static struct hlist_head *lc_hash_slot(struct lru_cache *lc, unsigned int enr) in lc_hash_slot()
239 static struct lc_element *__lc_find(struct lru_cache *lc, unsigned int enr, in __lc_find()
270 struct lc_element *lc_find(struct lru_cache *lc, unsigned int enr) in lc_find()
[all …]
H A Ddecompress_unlzma.c352 int lc, uint32_t literal_pos_mask) { in process_bit0()
548 int lc, pb, lp; in unlzma() local
/linux/drivers/md/
H A Ddm-log-writes.c138 static inline sector_t bio_to_dev_sectors(struct log_writes_c *lc, in bio_to_dev_sectors()
144 static inline sector_t dev_to_bio_sectors(struct log_writes_c *lc, in dev_to_bio_sectors()
150 static void put_pending_block(struct log_writes_c *lc) in put_pending_block()
159 static void put_io_block(struct log_writes_c *lc) in put_io_block()
170 struct log_writes_c *lc = bio->bi_private; in log_end_io() local
188 struct log_writes_c *lc = bio->bi_private; in log_end_super() local
198 static void free_pending_block(struct log_writes_c *lc, in free_pending_block()
212 static int write_metadata(struct log_writes_c *lc, void *entry, in write_metadata()
258 static int write_inline_data(struct log_writes_c *lc, void *entry, in write_inline_data()
318 static int log_one_block(struct log_writes_c *lc, in log_one_block()
[all …]
H A Ddm-log.c299 static int rw_header(struct log_c *lc, enum req_op op) in rw_header()
306 static int flush_header(struct log_c *lc) in flush_header()
374 struct log_c *lc; in create_log_context() local
531 static void destroy_log_context(struct log_c *lc) in destroy_log_context()
540 struct log_c *lc = log->context; in core_dtr() local
579 struct log_c *lc = log->context; in disk_dtr() local
587 static void fail_log_device(struct log_c *lc) in fail_log_device()
600 struct log_c *lc = log->context; in disk_resume() local
662 struct log_c *lc = log->context; in core_get_region_size() local
669 struct log_c *lc = log->context; in core_resume() local
[all …]
H A Ddm-linear.c32 struct linear_c *lc; in linear_ctr() local
76 struct linear_c *lc = ti->private; in linear_dtr() local
84 struct linear_c *lc = ti->private; in linear_map_sector() local
91 struct linear_c *lc = ti->private; in linear_map() local
102 struct linear_c *lc = ti->private; in linear_status() local
126 struct linear_c *lc = ti->private; in linear_prepare_ioctl() local
143 struct linear_c *lc = ti->private; in linear_report_zones() local
156 struct linear_c *lc = ti->private; in linear_iterate_devices() local
164 struct linear_c *lc = ti->private; in linear_dax_pgoff() local
/linux/tools/testing/selftests/powerpc/papr_vpd/
H A Dpapr_vpd.c32 struct papr_location_code lc = { .str = "", }; in dev_papr_vpd_get_handle_all() local
71 struct papr_location_code lc = { .str = "", }; in dev_papr_vpd_get_handle_byte_at_a_time() local
112 struct papr_location_code lc = {}; in dev_papr_vpd_unterm_loc_code() local
157 struct papr_location_code lc = { .str = "", }; in papr_vpd_close_handle_without_reading() local
180 struct papr_location_code lc = { .str = "", }; in papr_vpd_reread() local
214 static int get_system_loc_code(struct papr_location_code *lc) in get_system_loc_code()
261 struct papr_location_code lc; in papr_vpd_system_loc_code() local
/linux/arch/s390/kernel/
H A Dvtime.c39 struct lowcore *lc = get_lowcore(); in set_vtimer() local
114 static inline void vtime_reset_last_update(struct lowcore *lc) in vtime_reset_last_update()
131 struct lowcore *lc = get_lowcore(); in do_account_vtime() local
181 struct lowcore *lc = get_lowcore(); in vtime_task_switch() local
203 struct lowcore *lc = get_lowcore(); in vtime_flush() local
221 struct lowcore *lc = get_lowcore(); in vtime_delta() local
230 struct lowcore *lc = get_lowcore(); in vtime_account_kernel() local
H A Dsmp.c185 struct lowcore *lc; in pcpu_alloc_lowcore() local
225 struct lowcore *lc; in pcpu_free_lowcore() local
243 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary() local
269 struct lowcore *lc; in pcpu_attach_task() local
289 struct lowcore *lc; in pcpu_start_fn() local
313 struct lowcore *lc, *abs_lc; in pcpu_delegate() local
376 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu() local
546 struct lowcore *lc; in smp_store_status() local
815 struct lowcore *lc = get_lowcore(); in smp_start_secondary() local
952 struct lowcore *lc = get_lowcore(); in smp_prepare_boot_cpu() local
[all …]
H A Dctlreg.c37 void __init system_ctlreg_init_save_area(struct lowcore *lc) in system_ctlreg_init_save_area()
/linux/net/rds/
H A Dloop.c141 struct rds_loop_connection *lc; in rds_loop_conn_alloc() local
161 struct rds_loop_connection *lc = arg; in rds_loop_conn_free() local
183 struct rds_loop_connection *lc, *_lc; in rds_loop_exit() local
202 struct rds_loop_connection *lc, *_lc; in rds_loop_kill_conns() local
/linux/fs/f2fs/
H A Dcheckpoint.c43 struct f2fs_lock_context *lc) in trace_lock_elapsed_time_start()
53 struct f2fs_lock_context *lc, bool is_write) in trace_lock_elapsed_time_end()
118 static void uplift_priority(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc, in uplift_priority()
139 static void restore_priority(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc, in restore_priority()
153 void f2fs_down_read_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_read_trace()
160 int f2fs_down_read_trylock_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_read_trylock_trace()
171 void f2fs_up_read_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_up_read_trace()
178 void f2fs_down_write_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_write_trace()
185 int f2fs_down_write_trylock_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_down_write_trylock_trace()
196 void f2fs_up_write_trace(struct f2fs_rwsem *sem, struct f2fs_lock_context *lc) in f2fs_up_write_trace()
[all …]
H A Dnamei.c372 struct f2fs_lock_context lc; in f2fs_create() local
423 struct f2fs_lock_context lc; in f2fs_link() local
574 struct f2fs_lock_context lc; in __do_unlink() local
669 struct f2fs_lock_context lc; in f2fs_symlink() local
758 struct f2fs_lock_context lc; in f2fs_mkdir() local
817 struct f2fs_lock_context lc; in f2fs_mknod() local
865 struct f2fs_lock_context lc; in __f2fs_tmpfile() local
975 struct f2fs_lock_context lc; in f2fs_rename() local
1182 struct f2fs_lock_context lc; in f2fs_cross_rename() local
H A Dnode.c404 struct f2fs_lock_context lc; in f2fs_need_dentry_mark() local
422 struct f2fs_lock_context lc; in f2fs_is_checkpointed_node() local
437 struct f2fs_lock_context lc, nlc; in f2fs_need_inode_block_update() local
457 struct f2fs_lock_context lc; in cache_nat_entry() local
488 struct f2fs_lock_context lc; in set_node_addr() local
547 struct f2fs_lock_context lc; in f2fs_try_to_free_nats() local
589 struct f2fs_lock_context lc; in f2fs_get_node_info() local
1773 struct f2fs_lock_context lc; in __write_node_folio() local
2581 struct f2fs_lock_context lc; in scan_free_nid_bits() local
2615 struct f2fs_lock_context lc; in __f2fs_build_free_nids() local
[all …]
H A Ddata.c668 struct f2fs_lock_context lc; in __f2fs_submit_merged_write() local
699 struct f2fs_lock_context lc; in __submit_merged_write_cond() local
1042 struct f2fs_lock_context lc; in f2fs_submit_page_write() local
1534 struct f2fs_lock_context *lc, in f2fs_map_lock()
1544 struct f2fs_lock_context *lc, in f2fs_map_unlock()
1556 struct f2fs_lock_context lc; in f2fs_get_block_locked() local
1655 struct f2fs_lock_context lc; in f2fs_map_blocks() local
2951 struct f2fs_lock_context lc; in f2fs_do_write_data_page() local
3137 struct f2fs_lock_context lc; in f2fs_write_single_data_page() local
3673 struct f2fs_lock_context lc; in prepare_write_begin() local
[all …]
H A Dfile.c836 struct f2fs_lock_context lc; in f2fs_do_truncate_blocks() local
1188 struct f2fs_lock_context lc; in f2fs_setattr() local
1293 struct f2fs_lock_context lc; in fill_zero() local
1387 struct f2fs_lock_context lc; in f2fs_punch_hole() local
1633 struct f2fs_lock_context lc; in f2fs_do_collapse() local
1807 struct f2fs_lock_context lc; in f2fs_zero_range() local
1920 struct f2fs_lock_context lc; in f2fs_insert_range() local
3219 struct f2fs_lock_context lc; in f2fs_move_file_range() local
3503 struct f2fs_lock_context lc; in f2fs_ioc_setproject() local
3752 struct f2fs_lock_context lc, glc; in f2fs_ioc_reserve_dev_alias() local
[all …]
H A Dinode.c940 struct f2fs_lock_context lc; in f2fs_delete_inode() local
1111 struct f2fs_lock_context *lc, bool orphan_free) in f2fs_handle_failed_inode()
H A Dinline.c223 struct f2fs_lock_context lc; in f2fs_convert_inline_inode() local
611 struct f2fs_lock_context lc; in f2fs_try_convert_inline_dir() local
/linux/tools/testing/selftests/bpf/progs/
H A Dsetget_sockopt.c157 static int bpf_test_socket_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_socket_sockopt()
174 static int bpf_test_ip_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ip_sockopt()
191 static int bpf_test_ipv6_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_ipv6_sockopt()
208 static int bpf_test_tcp_sockopt(__u32 i, struct loop_ctx *lc) in bpf_test_tcp_sockopt()
261 struct loop_ctx lc = { .ctx = ctx, .sk = sk, }; in bpf_test_sockopt() local
/linux/drivers/gpio/
H A Dgpiolib-cdev.c947 static bool gpio_v2_line_config_debounced(struct gpio_v2_line_config *lc, in gpio_v2_line_config_debounced()
961 static u32 gpio_v2_line_config_debounce_period(struct gpio_v2_line_config *lc, in gpio_v2_line_config_debounce_period()
1004 struct gpio_v2_line_config *lc, in edge_detector_setup()
1064 struct gpio_v2_line_config *lc, in edge_detector_update()
1097 static u64 gpio_v2_line_config_flags(struct gpio_v2_line_config *lc, in gpio_v2_line_config_flags()
1111 static int gpio_v2_line_config_output_value(struct gpio_v2_line_config *lc, in gpio_v2_line_config_output_value()
1184 static int gpio_v2_line_config_validate(struct gpio_v2_line_config *lc, in gpio_v2_line_config_validate()
1391 struct gpio_v2_line_config lc; in linereq_set_config() local
1607 struct gpio_v2_line_config *lc; in linereq_create() local
/linux/net/tipc/
H A Dnetlink_compat.c708 struct tipc_link_config *lc) in __tipc_add_link_prop()
727 struct tipc_link_config *lc; in tipc_nl_compat_media_set() local
754 struct tipc_link_config *lc; in tipc_nl_compat_bearer_set() local
781 struct tipc_link_config *lc; in __tipc_nl_compat_link_set() local
807 struct tipc_link_config *lc; in tipc_nl_compat_link_set() local
/linux/include/linux/
H A Dlru_cache.h266 static inline int lc_try_lock_for_transaction(struct lru_cache *lc) in lc_try_lock_for_transaction()
286 static inline void lc_unlock(struct lru_cache *lc) in lc_unlock()
/linux/fs/hpfs/
H A Dname.c55 unsigned len, int lc, int lng) in hpfs_translate_name()
/linux/lib/zlib_deflate/
H A Ddeftree.c918 unsigned lc /* match length-MIN_MATCH or unmatched char (if dist==0) */
971 int lc; /* match length or unmatched char (if dist == 0) */ local
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c721 struct link_config *lc = &pi->link_cfg; in set_link_ksettings() local
819 const struct link_config *lc = &pi->link_cfg; in get_fecparam() local
840 struct link_config *lc = &pi->link_cfg; in set_fecparam() local
874 struct link_config *lc = &p->link_cfg; in set_pauseparam() local
/linux/arch/x86/boot/
H A Dstring.c266 unsigned int lc = c | 0x20; /* don't tolower() this line */ in _parse_integer() local

12