Lines Matching refs:write
46 static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write,
48 static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write,
50 static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write, void *buffer,
52 static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write, void *buffer,
54 static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write,
56 static int proc_sctp_do_auth(const struct ctl_table *ctl, int write,
58 static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write,
387 static int proc_sctp_do_hmac_alg(const struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument
399 if (write) { in proc_sctp_do_hmac_alg()
407 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
408 if (write && ret == 0) { in proc_sctp_do_hmac_alg()
432 static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument
444 if (write) in proc_sctp_do_rto_min()
449 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min()
450 if (write && ret == 0) { in proc_sctp_do_rto_min()
460 static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write, in proc_sctp_do_rto_max() argument
472 if (write) in proc_sctp_do_rto_max()
477 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_max()
478 if (write && ret == 0) { in proc_sctp_do_rto_max()
488 static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write, in proc_sctp_do_alpha_beta() argument
491 if (write) in proc_sctp_do_alpha_beta()
495 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in proc_sctp_do_alpha_beta()
498 static int proc_sctp_do_auth(const struct ctl_table *ctl, int write, in proc_sctp_do_auth() argument
508 if (write) in proc_sctp_do_auth()
513 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_auth()
514 if (write && ret == 0) { in proc_sctp_do_auth()
527 static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write, in proc_sctp_do_udp_port() argument
539 if (write) in proc_sctp_do_udp_port()
544 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_udp_port()
545 if (write && ret == 0) { in proc_sctp_do_udp_port()
568 static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write, in proc_sctp_do_probe_interval() argument
578 if (write) in proc_sctp_do_probe_interval()
583 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_probe_interval()
584 if (write && ret == 0) { in proc_sctp_do_probe_interval()