Home
last modified time | relevance | path

Searched refs:osc (Results 1 – 25 of 27) sorted by relevance

12

/drivers/staging/lustre/lustre/osc/
Dosc_object.c55 static struct lu_object *osc2lu(struct osc_object *osc) in osc2lu() argument
57 return &osc->oo_cl.co_lu; in osc2lu()
75 struct osc_object *osc = lu2osc(obj); in osc_object_init() local
79 osc->oo_oinfo = cconf->u.coc_oinfo; in osc_object_init()
80 spin_lock_init(&osc->oo_seatbelt); in osc_object_init()
82 INIT_LIST_HEAD(&osc->oo_inflight[i]); in osc_object_init()
84 INIT_LIST_HEAD(&osc->oo_ready_item); in osc_object_init()
85 INIT_LIST_HEAD(&osc->oo_hp_ready_item); in osc_object_init()
86 INIT_LIST_HEAD(&osc->oo_write_item); in osc_object_init()
87 INIT_LIST_HEAD(&osc->oo_read_item); in osc_object_init()
[all …]
Dosc_cache.c59 struct client_obd *cli, struct osc_object *osc);
1219 static inline int osc_is_ready(struct osc_object *osc) in osc_is_ready() argument
1221 return !list_empty(&osc->oo_ready_item) || in osc_is_ready()
1222 !list_empty(&osc->oo_hp_ready_item); in osc_is_ready()
1531 struct osc_object *osc = oap->oap_obj; in osc_enter_cache() local
1532 struct lov_oinfo *loi = osc->oo_oinfo; in osc_enter_cache()
1634 static int osc_max_rpc_in_flight(struct client_obd *cli, struct osc_object *osc) in osc_max_rpc_in_flight() argument
1636 int hprpc = !!list_empty(&osc->oo_hp_exts); in osc_max_rpc_in_flight()
1644 static int osc_makes_rpc(struct client_obd *cli, struct osc_object *osc, in osc_makes_rpc() argument
1657 if (atomic_read(&osc->oo_nr_writes) == 0) in osc_makes_rpc()
[all …]
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += osc.o
2 osc-y := osc_request.o osc_dev.o osc_object.o \
Dosc_io.c105 struct osc_object *osc = NULL; /* to keep gcc happy */ in osc_io_submit() local
122 osc = cl2osc(ios->cis_obj); in osc_io_submit()
123 cli = osc_cli(osc); in osc_io_submit()
142 LASSERT(osc == oap->oap_obj); in osc_io_submit()
174 result = osc_queue_sync_pages(env, osc, &list, cmd, in osc_io_submit()
182 result = osc_queue_sync_pages(env, osc, &list, cmd, brw_flags); in osc_io_submit()
578 struct osc_object *osc = cl2osc(obj); in osc_io_fsync_start() local
586 result = osc_cache_writeback_range(env, osc, start, end, 0, in osc_io_fsync_start()
600 rc = osc_cache_wait_range(env, osc, start, end); in osc_io_fsync_start()
603 rc = osc_fsync_ost(env, osc, fio); in osc_io_fsync_start()
Dosc_dev.c109 static struct lu_device *osc2lu_dev(struct osc_device *osc) in osc2lu_dev() argument
111 return &osc->od_cl.cd_lu_dev; in osc2lu_dev()
171 LU_TYPE_INIT_FINI(osc, &osc_key, &osc_session_key);
Dlproc_osc.c571 LPROC_SEQ_FOPS_RO_TYPE(osc, connect_flags);
572 LPROC_SEQ_FOPS_RO_TYPE(osc, server_uuid);
573 LPROC_SEQ_FOPS_RO_TYPE(osc, conn_uuid);
574 LPROC_SEQ_FOPS_RO_TYPE(osc, timeouts);
575 LPROC_SEQ_FOPS_RO_TYPE(osc, state);
577 LPROC_SEQ_FOPS_WR_ONLY(osc, ping);
579 LPROC_SEQ_FOPS_RW_TYPE(osc, import);
580 LPROC_SEQ_FOPS_RW_TYPE(osc, pinger_recov);
Dosc_cl_internal.h437 int osc_prep_async_page(struct osc_object *osc, struct osc_page *ops,
456 struct osc_object *osc);
Dosc_page.c504 struct osc_object *osc = cl2osc(obj); in osc_page_init() local
511 result = osc_prep_async_page(osc, opg, vmpage, in osc_page_init()
531 result = osc_lru_reserve(env, osc, opg); in osc_page_init()
/drivers/clk/versatile/
Dclk-vexpress-osc.c29 #define to_vexpress_osc(osc) container_of(osc, struct vexpress_osc, hw) argument
34 struct vexpress_osc *osc = to_vexpress_osc(hw); in vexpress_osc_recalc_rate() local
37 regmap_read(osc->reg, 0, &rate); in vexpress_osc_recalc_rate()
45 struct vexpress_osc *osc = to_vexpress_osc(hw); in vexpress_osc_round_rate() local
47 if (WARN_ON(osc->rate_min && rate < osc->rate_min)) in vexpress_osc_round_rate()
48 rate = osc->rate_min; in vexpress_osc_round_rate()
50 if (WARN_ON(osc->rate_max && rate > osc->rate_max)) in vexpress_osc_round_rate()
51 rate = osc->rate_max; in vexpress_osc_round_rate()
59 struct vexpress_osc *osc = to_vexpress_osc(hw); in vexpress_osc_set_rate() local
61 return regmap_write(osc->reg, 0, rate); in vexpress_osc_set_rate()
[all …]
DMakefile6 obj-$(CONFIG_CLK_VEXPRESS_OSC) += clk-vexpress-osc.o
/drivers/clk/at91/
Dclk-main.c74 struct clk_main_osc *osc = dev_id; in clk_main_osc_irq_handler() local
76 wake_up(&osc->wait); in clk_main_osc_irq_handler()
77 disable_irq_nosync(osc->irq); in clk_main_osc_irq_handler()
84 struct clk_main_osc *osc = to_clk_main_osc(hw); in clk_main_osc_prepare() local
85 struct at91_pmc *pmc = osc->pmc; in clk_main_osc_prepare()
98 enable_irq(osc->irq); in clk_main_osc_prepare()
99 wait_event(osc->wait, in clk_main_osc_prepare()
108 struct clk_main_osc *osc = to_clk_main_osc(hw); in clk_main_osc_unprepare() local
109 struct at91_pmc *pmc = osc->pmc; in clk_main_osc_unprepare()
124 struct clk_main_osc *osc = to_clk_main_osc(hw); in clk_main_osc_is_prepared() local
[all …]
Dclk-slow.c79 struct clk_slow_osc *osc = to_clk_slow_osc(hw); in clk_slow_osc_prepare() local
80 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_prepare()
88 usleep_range(osc->startup_usec, osc->startup_usec + 1); in clk_slow_osc_prepare()
95 struct clk_slow_osc *osc = to_clk_slow_osc(hw); in clk_slow_osc_unprepare() local
96 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_unprepare()
107 struct clk_slow_osc *osc = to_clk_slow_osc(hw); in clk_slow_osc_is_prepared() local
108 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_is_prepared()
130 struct clk_slow_osc *osc; in at91_clk_register_slow_osc() local
137 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_slow_osc()
138 if (!osc) in at91_clk_register_slow_osc()
[all …]
/drivers/rtc/
Drtc-rs5c372.c252 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument
257 if (osc) in rs5c372_get_trim()
258 *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768; in rs5c372_get_trim()
419 int err, osc, trim; in rs5c372_rtc_proc() local
421 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
424 osc / 1000, osc % 1000); in rs5c372_rtc_proc()
462 int err, osc; in rs5c372_sysfs_show_osc() local
464 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc()
468 return sprintf(buf, "%d.%03d KHz\n", osc / 1000, osc % 1000); in rs5c372_sysfs_show_osc()
470 static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
/drivers/char/hw_random/
Dmxc-rnga.c110 u32 ctrl, osc; in mxc_rnga_init() local
118 osc = __raw_readl(mxc_rng->mem + RNGA_STATUS); in mxc_rnga_init()
119 if (osc & RNGA_STATUS_OSC_DEAD) { in mxc_rnga_init()
/drivers/clk/tegra/
Dclk-tegra-fixed.c37 struct clk *clk, *osc; in tegra_osc_clk_init() local
55 osc = clk_register_fixed_rate(NULL, "osc", NULL, CLK_IS_ROOT, in tegra_osc_clk_init()
/drivers/staging/lustre/
Dsysfs-fs-lustre497 What: /sys/fs/lustre/{mdc,osc}/{connection_name}/max_rpcs_in_flight
507 What: /sys/fs/lustre/osc/{connection_name}/max_pages_per_rpc
516 What: /sys/fs/lustre/osc/{connection_name}/active
523 What: /sys/fs/lustre/osc/{connection_name}/checksums
531 What: /sys/fs/lustre/osc/{connection_name}/contention_seconds
540 What: /sys/fs/lustre/osc/{connection_name}/cur_dirty_bytes
547 What: /sys/fs/lustre/osc/{connection_name}/cur_grant_bytes
558 What: /sys/fs/lustre/osc/{connection_name}/cur_lost_grant_bytes
565 What: /sys/fs/lustre/osc/{connection_name}/grant_shrink_interval
572 What: /sys/fs/lustre/osc/{connection_name}/destroys_in_flight
[all …]
/drivers/clk/sirf/
Dclk-atlas6.c62 rtc, osc, pll1, pll2, pll3, mem, sys, security, dsp, gps, enumerator
135 atlas6_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, in atlas6_clk_init()
Dclk-prima2.c61 rtc, osc, pll1, pll2, pll3, mem, sys, security, dsp, gps, enumerator
134 prima2_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, in prima2_clk_init()
/drivers/staging/lustre/lustre/
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += libcfs/ obdclass/ ptlrpc/ fld/ osc/ mgc/ \
/drivers/mfd/
Dtwl-core.c1010 struct clk *osc; in clocks_init() local
1014 osc = clk_get(dev, "fck"); in clocks_init()
1015 if (IS_ERR(osc)) { in clocks_init()
1021 rate = clk_get_rate(osc); in clocks_init()
1022 clk_put(osc); in clocks_init()
/drivers/media/tuners/
Dmax2165.c135 static int max2165_set_osc(struct max2165_priv *priv, u8 osc /*MHz*/) in max2165_set_osc() argument
139 v = (osc / 2); in max2165_set_osc()
/drivers/clk/imx/
Dclk-imx25.c66 dummy, osc, mpll, upll, mpll_cpu_3_4, cpu_sel, cpu, ahb, usb_div, ipg, enumerator
105 clk[osc] = imx_clk_fixed("osc", osc_rate); in __mx25_clocks_init()
/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c623 static int class_add_profile(int proflen, char *prof, int osclen, char *osc, in class_add_profile() argument
643 LASSERT(osclen == (strlen(osc) + 1)); in class_add_profile()
644 lprof->lp_dt = kmemdup(osc, osclen, GFP_NOFS); in class_add_profile()
/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c958 struct super_block *sb, char *osc, char *mdc) in ldebugfs_register_mountpoint() argument
971 LASSERT(osc != NULL); in ldebugfs_register_mountpoint()
1077 obd = class_name2obd(osc); in ldebugfs_register_mountpoint()
Dllite_internal.h661 struct super_block *sb, char *osc, char *mdc);

12