/linux-master/drivers/net/fddi/skfp/ |
H A D | smtinit.c | 20 #include "h/smc.h" 22 void init_fddi_driver(struct s_smc *smc, const u_char *mac_addr); 30 #define OEMID(smc,i) oem_id[i] 33 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] 43 static void set_oem_spec_val(struct s_smc *smc) argument 47 mib = &smc->mib ; 52 if (OEMID(smc,0) == 'I') { 60 int init_smt(struct s_smc *smc, const u_char *mac_addr) argument 84 smc [all...] |
H A D | cfm.c | 34 #include "h/smc.h" 43 #define GO_STATE(x) (smc->mib.fddiSMTCF_State = (x)|AFLAG) 44 #define ACTIONS_DONE() (smc->mib.fddiSMTCF_State &= ~AFLAG) 79 /* Do this within the smc structure (use in multiple cards) */ 82 * all Globals are defined in smc.h 89 static void cfm_fsm(struct s_smc *smc, int cmd); 95 void cfm_init(struct s_smc *smc) argument 97 smc->mib.fddiSMTCF_State = ACTIONS(SC0_ISOLATED) ; 98 smc->r.rm_join = 0 ; 99 smc 110 selection_criteria(struct s_smc *smc, struct s_phy *phy) argument 136 all_selection_criteria(struct s_smc *smc) argument 147 cem_priv_state(struct s_smc *smc, int event) argument 203 cfm(struct s_smc *smc, int event) argument 266 cfm_fsm(struct s_smc *smc, int cmd) argument 524 cfm_get_mac_input(struct s_smc *smc) argument 535 cfm_get_mac_output(struct s_smc *smc) argument 575 cem_build_path(struct s_smc *smc, char *to, int path_index) argument [all...] |
H A D | rmt.c | 43 #include "h/smc.h" 52 #define GO_STATE(x) (smc->mib.m[MAC0].fddiMACRMTState = (x)|AFLAG) 53 #define ACTIONS_DONE() (smc->mib.m[MAC0].fddiMACRMTState &= ~AFLAG) 95 static void rmt_fsm(struct s_smc *smc, int cmd); 96 static void start_rmt_timer0(struct s_smc *smc, u_long value, int event); 97 static void start_rmt_timer1(struct s_smc *smc, u_long value, int event); 98 static void start_rmt_timer2(struct s_smc *smc, u_long value, int event); 99 static void stop_rmt_timer0(struct s_smc *smc); 100 static void stop_rmt_timer1(struct s_smc *smc); 101 static void stop_rmt_timer2(struct s_smc *smc); 115 rmt_init(struct s_smc *smc) argument 137 rmt(struct s_smc *smc, int event) argument 156 rmt_fsm(struct s_smc *smc, int cmd) argument 521 rmt_dup_actions(struct s_smc *smc) argument 540 rmt_reinsert_actions(struct s_smc *smc) argument 549 rmt_new_dup_actions(struct s_smc *smc) argument 574 rmt_leave_actions(struct s_smc *smc) argument 587 start_rmt_timer0(struct s_smc *smc, u_long value, int event) argument 597 start_rmt_timer1(struct s_smc *smc, u_long value, int event) argument 607 start_rmt_timer2(struct s_smc *smc, u_long value, int event) argument 617 stop_rmt_timer0(struct s_smc *smc) argument 627 stop_rmt_timer1(struct s_smc *smc) argument 637 stop_rmt_timer2(struct s_smc *smc) argument [all...] |
H A D | ecm.c | 38 #include "h/smc.h" 47 #define GO_STATE(x) (smc->mib.fddiSMTECMState = (x)|AFLAG) 48 #define ACTIONS_DONE() (smc->mib.fddiSMTECMState &= ~AFLAG) 78 * all Globals are defined in smc.h 86 static void ecm_fsm(struct s_smc *smc, int cmd); 87 static void start_ecm_timer(struct s_smc *smc, u_long value, int event); 88 static void stop_ecm_timer(struct s_smc *smc); 89 static void prop_actions(struct s_smc *smc); 95 void ecm_init(struct s_smc *smc) argument 97 smc 113 ecm(struct s_smc *smc, int event) argument 132 ecm_fsm(struct s_smc *smc, int cmd) argument 415 prop_actions(struct s_smc *smc) argument 465 prop_actions(struct s_smc *smc) argument 511 start_ecm_timer(struct s_smc *smc, u_long value, int event) argument 520 stop_ecm_timer(struct s_smc *smc) argument [all...] |
H A D | hwt.c | 28 #include "h/smc.h" 43 * struct s_smc *smc, 46 * smc - A pointer to the SMT Context structure. 55 void hwt_start(struct s_smc *smc, u_long time) argument 62 smc->hw.t_start = time ; 63 smc->hw.t_stop = 0L ; 76 smc->hw.timer_activ = TRUE ; 86 * struct s_smc *smc) ; 88 * smc - A pointer to the SMT Context structure. 93 void hwt_stop(struct s_smc *smc) argument 115 hwt_init(struct s_smc *smc) argument 138 hwt_restart(struct s_smc *smc) argument 156 hwt_read(struct s_smc *smc) argument 191 hwt_quick_read(struct s_smc *smc) argument 219 hwt_wait_time(struct s_smc *smc, u_long start, long int duration) argument [all...] |
H A D | drvfbi.c | 19 #include "h/smc.h" 60 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] 66 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i] 76 static void smt_stop_watchdog(struct s_smc *smc); 81 static void card_start(struct s_smc *smc) argument 89 smt_stop_watchdog(smc) ; 97 hwt_wait_time(smc,hwt_quick_read(smc),MS2BCLK(10)) ; 129 smc 156 card_stop(struct s_smc *smc) argument 179 mac1_irq(struct s_smc *smc, u_short stu, u_short stl) argument 228 plc1_irq(struct s_smc *smc) argument 239 plc2_irq(struct s_smc *smc) argument 250 timer_irq(struct s_smc *smc) argument 260 pcm_get_s_port(struct s_smc *smc) argument 277 read_address(struct s_smc *smc, u_char *mac_addr) argument 316 init_board(struct s_smc *smc, u_char *mac_addr) argument 337 sm_pm_bypass_req(struct s_smc *smc, int mode) argument 360 sm_pm_bypass_present(struct s_smc *smc) argument 365 plc_clear_irq(struct s_smc *smc, int p) argument 384 led_indication(struct s_smc *smc, int led_event) argument 433 pcm_state_change(struct s_smc *smc, int plc, int p_state) argument 446 rmt_indication(struct s_smc *smc, int i) argument 458 llc_recover_tx(struct s_smc *smc) argument 494 set_oi_id_def(struct s_smc *smc) argument 533 driver_get_bia(struct s_smc *smc, struct fddi_addr *bia_addr) argument 541 smt_start_watchdog(struct s_smc *smc) argument 556 smt_stop_watchdog(struct s_smc *smc) argument 572 mac_do_pci_fix(struct s_smc *smc) argument [all...] |
H A D | fplustm.c | 19 #include "h/smc.h" 39 static void build_claim_beacon(struct s_smc *smc, u_long t_request); 40 static int init_mac(struct s_smc *smc, int all); 41 static void rtm_init(struct s_smc *smc); 42 static void smt_split_up_fifo(struct s_smc *smc); 49 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP)) 54 SMT_PANIC(smc,SMT_E0130, SMT_E0130_MSG) ; \ 61 SMT_PANIC(smc,SMT_E0131, SMT_E0131_MSG) ; \ 76 #define MA smc->hw.fddi_canon_addr 78 #define MA smc 103 mac_get_tneg(struct s_smc *smc) argument 112 mac_update_counter(struct s_smc *smc) argument 137 write_mdr(struct s_smc *smc, u_long val) argument 166 init_ram(struct s_smc *smc) argument 185 set_recvptr(struct s_smc *smc) argument 215 set_txptr(struct s_smc *smc) argument 247 init_rbc(struct s_smc *smc) argument 268 init_rx(struct s_smc *smc) argument 290 set_formac_tsync(struct s_smc *smc, long sync_bw) argument 298 init_tx(struct s_smc *smc) argument 324 mac_counter_init(struct s_smc *smc) argument 347 set_formac_addr(struct s_smc *smc) argument 389 copy_tx_mac(struct s_smc *smc, u_long td, struct fddi_mac *mac, unsigned int off, int len) argument 438 directed_beacon(struct s_smc *smc) argument 467 build_claim_beacon(struct s_smc *smc, u_long t_request) argument 528 formac_rcv_restart(struct s_smc *smc) argument 536 formac_tx_restart(struct s_smc *smc) argument 542 enable_formac(struct s_smc *smc) argument 633 disable_formac(struct s_smc *smc) argument 645 mac_ring_up(struct s_smc *smc, int up) argument 672 mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l) argument 798 mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l) argument 821 formac_offline(struct s_smc *smc) argument 839 formac_online(struct s_smc *smc) argument 849 init_fplus(struct s_smc *smc) argument 887 init_mac(struct s_smc *smc, int all) argument 992 config_mux(struct s_smc *smc, int mux) argument 1006 sm_mac_check_beacon_claim(struct s_smc *smc) argument 1019 sm_ma_control(struct s_smc *smc, int mode) argument 1043 sm_mac_get_tx_state(struct s_smc *smc) argument 1052 mac_get_mc_table(struct s_smc *smc, struct fddi_addr *user, struct fddi_addr *own, int del, int can) argument 1096 mac_clear_multicast(struct s_smc *smc) argument 1138 mac_add_multicast(struct s_smc *smc, struct fddi_addr *addr, int can) argument 1192 mac_update_multicast(struct s_smc *smc) argument 1268 mac_set_rx_mode(struct s_smc *smc, int mode) argument 1324 rtm_irq(struct s_smc *smc) argument 1337 rtm_init(struct s_smc *smc) argument 1343 rtm_set_timer(struct s_smc *smc) argument 1353 smt_split_up_fifo(struct s_smc *smc) argument 1473 formac_reinit_tx(struct s_smc *smc) argument [all...] |
H A D | queue.c | 19 #include "h/smc.h" 26 void ev_init(struct s_smc *smc) argument 28 smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ; 34 void queue_event(struct s_smc *smc, int class, int event) argument 37 smc->q.ev_put->class = class ; 38 smc->q.ev_put->event = event ; 39 if (++smc->q.ev_put == &smc 50 timer_event(struct s_smc *smc, u_long token) argument 65 ev_dispatcher(struct s_smc *smc) argument 119 smt_online(struct s_smc *smc, int on) argument 133 do_smt_flag(struct s_smc *smc, char *flag, int value) argument [all...] |
H A D | smt.c | 15 #include "h/smc.h" 54 static int mac_index(struct s_smc *smc, int mac); 55 static int phy_index(struct s_smc *smc, int phy); 56 static int mac_con_resource_index(struct s_smc *smc, int mac); 57 static int phy_con_resource_index(struct s_smc *smc, int phy); 58 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, 60 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, 62 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, 64 static void smt_echo_test(struct s_smc *smc, int dna); 65 static void smt_send_sif_config(struct s_smc *smc, struc 108 is_my_addr(const struct s_smc *smc, const struct fddi_addr *addr) argument 147 smt_agent_init(struct s_smc *smc) argument 193 smt_agent_task(struct s_smc *smc) argument 201 smt_emulate_token_ct(struct s_smc *smc, int mac_index) argument 228 smt_event(struct s_smc *smc, int event) argument 460 smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) argument 806 update_dac(struct s_smc *smc, int report) argument 824 smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) argument 847 smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, int local) argument 924 smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, int fc, u_long tid, int type, int local) argument 953 smt_send_nif_request(struct s_smc *smc, struct fddi_addr *dest) argument 963 smt_send_ecf_request(struct s_smc *smc, struct fddi_addr *dest, int len) argument 975 smt_echo_test(struct s_smc *smc, int dna) argument 990 smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, u_long tid, int type, int len) argument 1016 smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, u_long tid, int local) argument 1049 smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, u_long tid, int local) argument 1097 smt_build_frame(struct s_smc *smc, int class, int type, int length) argument 1147 smt_fill_una(struct s_smc *smc, struct smt_p_una *una) argument 1157 smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde) argument 1173 smt_fill_state(struct s_smc *smc, struct smt_p_state *state) argument 1213 smt_fill_timestamp(struct s_smc *smc, struct smt_p_timestamp *ts) argument 1220 smt_set_timestamp(struct s_smc *smc, u_char *p) argument 1254 smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) argument 1285 smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency) argument 1308 smt_fill_neighbor(struct s_smc *smc, struct smt_p_neighbor *neighbor) argument 1327 smt_fill_path(struct s_smc *smc, struct smt_p_path *path) argument 1375 smt_fill_mac_status(struct s_smc *smc, struct smt_p_mac_status *st) argument 1402 smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) argument 1424 smt_fill_version(struct s_smc *smc, struct smt_p_version *vers) argument 1443 smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) argument 1463 smt_fill_mac_counter(struct s_smc *smc, struct smt_p_mac_counter *mc) argument 1475 smt_fill_mac_fnc(struct s_smc *smc, struct smt_p_mac_fnc *fnc) argument 1487 smt_fill_manufacturer(struct s_smc *smc, struct smp_p_manufacturer *man) argument 1499 smt_fill_user(struct s_smc *smc, struct smp_p_user *user) argument 1510 smt_fill_setcount(struct s_smc *smc, struct smt_p_setcount *setcount) argument 1522 smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed, int len) argument 1540 smt_clear_una_dna(struct s_smc *smc) argument 1546 smt_clear_old_una_dna(struct s_smc *smc) argument 1552 smt_get_tid(struct s_smc *smc) argument 1642 smt_check_para(struct s_smc *smc, struct smt_header *sm, const u_short list[]) argument 1656 sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) argument 1718 mac_index(struct s_smc *smc, int mac) argument 1732 phy_index(struct s_smc *smc, int phy) argument 1741 mac_con_resource_index(struct s_smc *smc, int mac) argument 1765 phy_con_resource_index(struct s_smc *smc, int phy) argument 1787 entity_to_index(struct s_smc *smc, int e) argument 1906 smt_action(struct s_smc *smc, int class, int code, int index) argument 1992 hwm_conv_can(struct s_smc *smc, char *data, int len) argument [all...] |
H A D | srf.c | 20 #include "h/smc.h" 32 static void clear_all_rep(struct s_smc *smc); 33 static void clear_reported(struct s_smc *smc); 34 static void smt_send_srf(struct s_smc *smc); 35 static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index); 37 #define MAX_EVCS ARRAY_SIZE(smc->evcs) 63 void smt_init_evc(struct s_smc *smc) argument 73 memset((char *)smc->evcs,0,sizeof(smc->evcs)) ; 75 evc = smc 152 smt_get_evc(struct s_smc *smc, int code, int index) argument 176 smt_srf_event(struct s_smc *smc, int code, int index, int cond) argument 324 clear_all_rep(struct s_smc *smc) argument 337 clear_reported(struct s_smc *smc) argument 360 smt_send_srf(struct s_smc *smc) argument [all...] |
H A D | smttimer.c | 19 #include "h/smc.h" 21 static void timer_done(struct s_smc *smc, int restart); 23 void smt_timer_init(struct s_smc *smc) argument 25 smc->t.st_queue = NULL; 26 smc->t.st_fast.tm_active = FALSE ; 27 smc->t.st_fast.tm_next = NULL; 28 hwt_init(smc) ; 31 void smt_timer_stop(struct s_smc *smc, struct smt_timer *timer) argument 40 if (smc->t.st_queue == timer && !timer->tm_next) { 41 hwt_stop(smc) ; 54 smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, u_long token) argument 102 smt_force_irq(struct s_smc *smc) argument 107 smt_timer_done(struct s_smc *smc) argument 112 timer_done(struct s_smc *smc, int restart) argument [all...] |
H A D | hwmtm.c | 21 #include "h/smc.h" 70 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb); 71 static void smt_to_llc(struct s_smc *smc, SMbuf *mb); 72 static void init_txd_ring(struct s_smc *smc); 73 static void init_rxd_ring(struct s_smc *smc); 74 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb); 75 static u_long init_descr_ring(struct s_smc *smc, union s_fp_descr volatile *start, 77 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue); 78 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue); 79 static SMbuf* get_llc_rx(struct s_smc *smc); 251 mac_drv_init(struct s_smc *smc) argument 301 init_driver_fplus(struct s_smc *smc) argument 316 init_descr_ring(struct s_smc *smc, union s_fp_descr volatile *start, int count) argument 347 init_txd_ring(struct s_smc *smc) argument 384 init_rxd_ring(struct s_smc *smc) argument 414 init_fddi_driver(struct s_smc *smc, u_char *mac_addr) argument 478 smt_get_mbuf(struct s_smc *smc) argument 500 smt_free_mbuf(struct s_smc *smc, SMbuf *mb) argument 546 mac_drv_repair_descr(struct s_smc *smc) argument 578 repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) argument 630 repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) argument 701 fddi_isr(struct s_smc *smc) argument 984 mac_drv_rx_mode(struct s_smc *smc, int mode) argument 1033 process_receive(struct s_smc *smc) argument 1372 smt_to_llc(struct s_smc *smc, SMbuf *mb) argument 1407 hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, int frame_status) argument 1455 mac_drv_clear_rx_queue(struct s_smc *smc) argument 1542 hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len, int frame_status) argument 1620 hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, int frame_status) argument 1726 queue_llc_rx(struct s_smc *smc, SMbuf *mb) argument 1750 get_llc_rx(struct s_smc *smc) argument 1766 queue_txd_mb(struct s_smc *smc, SMbuf *mb) argument 1783 get_txd_mb(struct s_smc *smc) argument 1798 smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc) argument 1933 mac_drv_clear_txd(struct s_smc *smc) argument 2023 mac_drv_clear_tx_queue(struct s_smc *smc) argument 2115 mac_drv_debug_lev(struct s_smc *smc, int flag, int lev) argument [all...] |
H A D | ess.c | 34 #include "h/smc.h" 78 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, 80 static void ess_config_fifo(struct s_smc *smc); 81 static void ess_send_alc_req(struct s_smc *smc); 82 static void ess_send_frame(struct s_smc *smc, SMbuf *mb); 96 void ess_timer_poll(struct s_smc *smc); 97 void ess_para_change(struct s_smc *smc); 98 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, 100 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead); 112 int ess_raf_received_pack(struct s_smc *smc, SMbu argument 375 process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) argument 471 ess_send_response(struct s_smc *smc, struct smt_header *sm, int sba_cmd) argument 536 ess_timer_poll(struct s_smc *smc) argument 550 ess_send_alc_req(struct s_smc *smc) argument 658 ess_send_frame(struct s_smc *smc, SMbuf *mb) argument 684 ess_para_change(struct s_smc *smc) argument 690 ess_config_fifo(struct s_smc *smc) argument [all...] |
H A D | smtdef.c | 19 #include "h/smc.h" 67 void smt_reset_defaults(struct s_smc *smc, int level); 68 static void smt_init_mib(struct s_smc *smc, int level); 74 void smt_reset_defaults(struct s_smc *smc, int level) argument 81 smt_init_mib(smc,level) ; 83 smc->os.smc_version = SMC_VERSION ; 86 smc->sm.last_tok_time[i] = smt_boot_time ; 87 smt = &smc->s ; 125 smc->ess.sync_bw_available = FALSE ; 126 smc 156 smt_init_mib(struct s_smc *smc, int level) argument 276 smt_set_mac_opvalues(struct s_smc *smc) argument 301 smt_fixup_mib(struct s_smc *smc) argument [all...] |
/linux-master/net/smc/ |
H A D | smc_close.h | 17 #include "smc.h" 22 void smc_close_wake_tx_prepared(struct smc_sock *smc); 23 int smc_close_active(struct smc_sock *smc); 24 int smc_close_shutdown_write(struct smc_sock *smc); 25 void smc_close_init(struct smc_sock *smc); 26 void smc_clcsock_release(struct smc_sock *smc); 28 void smc_close_active_abort(struct smc_sock *smc);
|
H A D | smc_sysctl.h | 25 net->smc.sysctl_autocorking_size = SMC_AUTOCORKING_DEFAULT_SIZE; 26 net->smc.sysctl_max_links_per_lgr = SMC_LINKS_PER_LGR_MAX_PREFER; 27 net->smc.sysctl_max_conns_per_lgr = SMC_CONN_PER_LGR_PREFER;
|
H A D | Makefile | 3 obj-$(CONFIG_SMC) += smc.o 5 smc-y := af_smc.o smc_pnet.o smc_ib.o smc_clc.o smc_core.o smc_wr.o smc_llc.o 6 smc-y += smc_cdc.o smc_tx.o smc_rx.o smc_close.o smc_ism.o smc_netlink.o smc_stats.o 7 smc-y += smc_tracepoint.o 8 smc-$(CONFIG_SYSCTL) += smc_sysctl.o
|
H A D | smc_tracepoint.h | 4 #define TRACE_SYSTEM smc 13 #include "smc.h" 18 TP_PROTO(const struct smc_sock *smc, int fallback_rsn), 20 TP_ARGS(smc, fallback_rsn), 30 const struct sock *sk = &smc->sk; 31 const struct sock *clcsk = smc->clcsock->sk; 46 TP_PROTO(const struct smc_sock *smc, size_t len), 48 TP_ARGS(smc, len), 51 __field(const void *, smc) 54 __string(name, smc [all...] |
H A D | smc_close.c | 18 #include "smc.h" 24 void smc_clcsock_release(struct smc_sock *smc) argument 28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) 29 cancel_work_sync(&smc->smc_listen_work); 30 mutex_lock(&smc->clcsock_release_lock); 31 if (smc->clcsock) { 32 tcp = smc->clcsock; 33 smc->clcsock = NULL; 36 mutex_unlock(&smc 49 smc_close_stream_wait(struct smc_sock *smc, long timeout) argument 81 smc_close_wake_tx_prepared(struct smc_sock *smc) argument 114 smc_close_cancel_work(struct smc_sock *smc) argument 128 smc_close_active_abort(struct smc_sock *smc) argument 193 smc_close_active(struct smc_sock *smc) argument 312 smc_close_passive_abort_received(struct smc_sock *smc) argument 361 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); local 447 smc_close_shutdown_write(struct smc_sock *smc) argument 503 smc_close_init(struct smc_sock *smc) argument [all...] |
H A D | smc_sysctl.c | 17 #include "smc.h" 36 .data = &init_net.smc.sysctl_autocorking_size, 43 .data = &init_net.smc.sysctl_smcr_buf_type, 52 .data = &init_net.smc.sysctl_smcr_testlink_time, 59 .data = &init_net.smc.sysctl_wmem, 68 .data = &init_net.smc.sysctl_rmem, 77 .data = &init_net.smc.sysctl_max_links_per_lgr, 86 .data = &init_net.smc.sysctl_max_conns_per_lgr, 112 net->smc.smc_hdr = register_net_sysctl_sz(net, "net/smc", tabl [all...] |
H A D | smc_rx.h | 18 #include "smc.h" 20 void smc_rx_init(struct smc_sock *smc); 22 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, 24 int smc_rx_wait(struct smc_sock *smc, long *timeo,
|
H A D | smc_stats.h | 18 #include <linux/smc.h> 85 struct smc_stats_tech smc[2]; member in struct:smc_stats 98 this_cpu_inc((*stats).smc[t].key ## _cnt); \ 103 this_cpu_inc((*stats).smc[t].key ## _pd.buf[_pos]); \ 104 this_cpu_add((*stats).smc[t].key ## _bytes, r); \ 112 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \ 127 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \ 148 this_cpu_inc((*(_smc_stats)).smc[t].k ## _rmbsize.buf[_pos]); \ 153 this_cpu_inc((*(_smc_stats)).smc[t].rmb ## _ ## key.type ## _cnt) 158 struct smc_stats __percpu *_smc_stats = _net->smc [all...] |
H A D | smc_rx.c | 21 #include "smc.h" 59 static int smc_rx_update_consumer(struct smc_sock *smc, argument 62 struct smc_connection *conn = &smc->conn; 63 struct sock *sk = &smc->sk; 100 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) argument 102 struct smc_connection *conn = &smc->conn; 106 smc_rx_update_consumer(smc, cons, len); 110 struct smc_sock *smc; member in struct:smc_spd_priv 118 struct smc_sock *smc = priv->smc; local 149 smc_rx_splice(struct pipe_inode_info *pipe, char *src, size_t len, struct smc_sock *smc) argument 255 smc_rx_wait(struct smc_sock *smc, long *timeo, int (*fcrit)(struct smc_connection *conn)) argument 281 smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, int flags) argument 325 smc_rx_recvmsg_data_available(struct smc_sock *smc) argument 344 smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, struct pipe_inode_info *pipe, size_t len, int flags) argument 510 smc_rx_init(struct smc_sock *smc) argument [all...] |
/linux-master/drivers/net/fddi/skfp/h/ |
H A D | cmtdef.h | 61 #define DB_TEST (smc->debug) 484 void hwt_restart(struct s_smc *smc); /* hwt.c */ 485 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, 487 SMbuf *smt_get_mbuf(struct s_smc *smc); /* drvsr.c */ 488 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, 495 void queue_event(struct s_smc *smc, int class, int event); 496 void ecm(struct s_smc *smc, int event); 497 void ecm_init(struct s_smc *smc); 498 void rmt(struct s_smc *smc, int event); 499 void rmt_init(struct s_smc *smc); [all...] |
/linux-master/arch/arm/mach-highbank/ |
H A D | Makefile | 2 obj-y := highbank.o system.o smc.o
|