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
400 if (write) { in proc_sctp_do_hmac_alg()
408 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
409 if (write && ret == 0) { in proc_sctp_do_hmac_alg()
433 static int proc_sctp_do_rto_min(const struct ctl_table *ctl, int write, in proc_sctp_do_rto_min() argument
445 if (write) in proc_sctp_do_rto_min()
450 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min()
451 if (write && ret == 0) { in proc_sctp_do_rto_min()
461 static int proc_sctp_do_rto_max(const struct ctl_table *ctl, int write, in proc_sctp_do_rto_max() argument
473 if (write) in proc_sctp_do_rto_max()
478 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_max()
479 if (write && ret == 0) { in proc_sctp_do_rto_max()
489 static int proc_sctp_do_alpha_beta(const struct ctl_table *ctl, int write, in proc_sctp_do_alpha_beta() argument
492 if (write) in proc_sctp_do_alpha_beta()
496 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in proc_sctp_do_alpha_beta()
499 static int proc_sctp_do_auth(const struct ctl_table *ctl, int write, in proc_sctp_do_auth() argument
509 if (write) in proc_sctp_do_auth()
514 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_auth()
515 if (write && ret == 0) { in proc_sctp_do_auth()
528 static int proc_sctp_do_udp_port(const struct ctl_table *ctl, int write, in proc_sctp_do_udp_port() argument
540 if (write) in proc_sctp_do_udp_port()
545 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_udp_port()
546 if (write && ret == 0) { in proc_sctp_do_udp_port()
569 static int proc_sctp_do_probe_interval(const struct ctl_table *ctl, int write, in proc_sctp_do_probe_interval() argument
580 if (write) in proc_sctp_do_probe_interval()
585 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_probe_interval()
586 if (write && ret == 0) { in proc_sctp_do_probe_interval()