Searched refs:pe (Results 1 – 6 of 6) sorted by relevance
/net/netfilter/ipvs/ |
D | ip_vs_pe.c | 22 struct ip_vs_pe *pe; in __ip_vs_pe_getbyname() local 28 list_for_each_entry_rcu(pe, &ip_vs_pe, n_list) { in __ip_vs_pe_getbyname() 30 if (pe->module && in __ip_vs_pe_getbyname() 31 !try_module_get(pe->module)) { in __ip_vs_pe_getbyname() 35 if (strcmp(pe_name, pe->name)==0) { in __ip_vs_pe_getbyname() 38 return pe; in __ip_vs_pe_getbyname() 40 module_put(pe->module); in __ip_vs_pe_getbyname() 50 struct ip_vs_pe *pe; in ip_vs_pe_getbyname() local 53 pe = __ip_vs_pe_getbyname(name); in ip_vs_pe_getbyname() 56 if (!pe) { in ip_vs_pe_getbyname() [all …]
|
D | ip_vs_conn.c | 133 if (p->pe_data && p->pe->hashkey_raw) in ip_vs_conn_hashkey_param() 134 return p->pe->hashkey_raw(p, ip_vs_conn_rnd, inverse) & in ip_vs_conn_hashkey_param() 155 if (cp->pe) { in ip_vs_conn_hashkey_conn() 156 p.pe = cp->pe; in ip_vs_conn_hashkey_conn() 363 if (unlikely(p->pe_data && p->pe->ct_match)) { in ip_vs_ct_in_get() 366 if (p->pe == cp->pe && p->pe->ct_match(p, cp)) { in ip_vs_ct_in_get() 815 ip_vs_pe_put(cp->pe); in ip_vs_conn_rcu_free() 927 if (flags & IP_VS_CONN_F_TEMPLATE && p->pe) { in ip_vs_conn_new() 928 ip_vs_pe_get(p->pe); in ip_vs_conn_new() 929 cp->pe = p->pe; in ip_vs_conn_new() [all …]
|
D | ip_vs_ctl.c | 1195 struct ip_vs_pe *pe = NULL; in ip_vs_add_service() local 1213 pe = ip_vs_pe_getbyname(u->pe_name); in ip_vs_add_service() 1214 if (pe == NULL) { in ip_vs_add_service() 1278 RCU_INIT_POINTER(svc->pe, pe); in ip_vs_add_service() 1279 pe = NULL; in ip_vs_add_service() 1286 if (svc->pe && svc->pe->conn_out) in ip_vs_add_service() 1310 ip_vs_pe_put(pe); in ip_vs_add_service() 1326 struct ip_vs_pe *pe = NULL, *old_pe = NULL; in ip_vs_edit_service() local 1344 pe = ip_vs_pe_getbyname(u->pe_name); in ip_vs_edit_service() 1345 if (pe == NULL) { in ip_vs_edit_service() [all …]
|
D | ip_vs_core.c | 221 p->pe = rcu_dereference(svc->pe); in ip_vs_conn_fill_param_persist() 222 if (p->pe && p->pe->fill_param) in ip_vs_conn_fill_param_persist() 223 return p->pe->fill_param(p, skb); in ip_vs_conn_fill_param_persist() 1230 struct ip_vs_pe *pe; in __ip_vs_rs_conn_out() local 1234 pe = rcu_dereference(svc->pe); in __ip_vs_rs_conn_out() 1235 if (pe && pe->conn_out) in __ip_vs_rs_conn_out() 1236 cp = pe->conn_out(svc, dest, skb, iph, in __ip_vs_rs_conn_out()
|
D | ip_vs_sync.c | 656 pe_name_len = strnlen(cp->pe->name, IP_VS_PENAME_MAXLEN); in ip_vs_sync_conn() 763 memcpy(p, cp->pe->name, pe_name_len); in ip_vs_sync_conn() 812 p->pe = __ip_vs_pe_getbyname(buff); in ip_vs_conn_fill_param_sync() 813 if (!p->pe) { in ip_vs_conn_fill_param_sync() 825 module_put(p->pe->module); in ip_vs_conn_fill_param_sync() 1194 ip_vs_pe_put(param.pe); in ip_vs_proc_sync_conn()
|
/net/core/ |
D | pktgen.c | 3758 struct proc_dir_entry *pe; in pktgen_create_thread() local 3789 pe = proc_create_data(t->tsk->comm, 0600, pn->proc_dir, in pktgen_create_thread() 3791 if (!pe) { in pktgen_create_thread() 3864 struct proc_dir_entry *pe; in pg_net_init() local 3875 pe = proc_create(PGCTRL, 0600, pn->proc_dir, &pktgen_fops); in pg_net_init() 3876 if (pe == NULL) { in pg_net_init()
|