Lines Matching refs:pn

93 	struct sys_t_policy_node *pn = priv;  in sys_t_policy_node_init()  local
95 uuid_gen(&pn->uuid); in sys_t_policy_node_init()
100 struct sys_t_policy_node *pn = priv; in sys_t_output_open() local
107 memcpy(&opriv->node, pn, sizeof(opriv->node)); in sys_t_output_open()
121 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_uuid_show() local
123 return sprintf(page, "%pU\n", &pn->uuid); in sys_t_policy_uuid_show()
131 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_uuid_store() local
135 ret = uuid_parse(page, &pn->uuid); in sys_t_policy_uuid_store()
146 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_do_len_show() local
148 return sprintf(page, "%d\n", pn->do_len); in sys_t_policy_do_len_show()
156 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_do_len_store() local
160 ret = kstrtobool(page, &pn->do_len); in sys_t_policy_do_len_store()
171 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_ts_interval_show() local
173 return sprintf(page, "%u\n", jiffies_to_msecs(pn->ts_interval)); in sys_t_policy_ts_interval_show()
181 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_ts_interval_store() local
190 pn->ts_interval = msecs_to_jiffies(ms); in sys_t_policy_ts_interval_store()
202 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_clocksync_interval_show() local
204 return sprintf(page, "%u\n", jiffies_to_msecs(pn->clocksync_interval)); in sys_t_policy_clocksync_interval_show()
212 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_clocksync_interval_store() local
221 pn->clocksync_interval = msecs_to_jiffies(ms); in sys_t_policy_clocksync_interval_store()