/net/xfrm/ |
D | xfrm_algo.c | 28 .name = "rfc4106(gcm(aes))", 47 .name = "rfc4106(gcm(aes))", 66 .name = "rfc4106(gcm(aes))", 85 .name = "rfc4309(ccm(aes))", 104 .name = "rfc4309(ccm(aes))", 123 .name = "rfc4309(ccm(aes))", 142 .name = "rfc4543(gcm(aes))", 161 .name = "rfc7539esp(chacha20,poly1305)", 176 .name = "digest_null", 195 .name = "hmac(md5)", [all …]
|
/net/ipv4/ |
D | tcp_cong.c | 24 static struct tcp_congestion_ops *tcp_ca_find(const char *name) in tcp_ca_find() argument 29 if (strcmp(e->name, name) == 0) in tcp_ca_find() 38 const char *name) in tcp_ca_find_autoload() argument 40 struct tcp_congestion_ops *ca = tcp_ca_find(name); in tcp_ca_find_autoload() 45 request_module("tcp_%s", name); in tcp_ca_find_autoload() 47 ca = tcp_ca_find(name); in tcp_ca_find_autoload() 77 pr_err("%s does not implement required ops\n", ca->name); in tcp_register_congestion_control() 81 ca->key = jhash(ca->name, sizeof(ca->name), strlen(ca->name)); in tcp_register_congestion_control() 86 ca->name); in tcp_register_congestion_control() 90 pr_debug("%s registered\n", ca->name); in tcp_register_congestion_control() [all …]
|
D | tcp_ulp.c | 21 static struct tcp_ulp_ops *tcp_ulp_find(const char *name) in tcp_ulp_find() argument 26 if (strcmp(e->name, name) == 0) in tcp_ulp_find() 33 static const struct tcp_ulp_ops *__tcp_ulp_find_autoload(const char *name) in __tcp_ulp_find_autoload() argument 38 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload() 43 request_module("tcp-ulp-%s", name); in __tcp_ulp_find_autoload() 45 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload() 63 if (tcp_ulp_find(ulp->name)) in tcp_register_ulp() 94 offs == 0 ? "" : " ", ulp_ops->name); in tcp_get_available_ulp() 152 int tcp_set_ulp(struct sock *sk, const char *name) in tcp_set_ulp() argument 158 ulp_ops = __tcp_ulp_find_autoload(name); in tcp_set_ulp()
|
D | proc.c | 123 const char *name; member 345 for (i = 0; icmpmibmap[i].name; i++) in icmp_put() 346 seq_printf(seq, " In%s", icmpmibmap[i].name); in icmp_put() 348 for (i = 0; icmpmibmap[i].name; i++) in icmp_put() 349 seq_printf(seq, " Out%s", icmpmibmap[i].name); in icmp_put() 354 for (i = 0; icmpmibmap[i].name; i++) in icmp_put() 360 for (i = 0; icmpmibmap[i].name; i++) in icmp_put() 377 for (i = 0; snmp4_ipstats_list[i].name; i++) in snmp_seq_show_ipstats() 378 seq_printf(seq, " %s", snmp4_ipstats_list[i].name); in snmp_seq_show_ipstats() 388 for (i = 0; snmp4_ipstats_list[i].name; i++) in snmp_seq_show_ipstats() [all …]
|
/net/mac80211/ |
D | led.c | 34 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names() 36 local->tx_led.name = kasprintf(GFP_KERNEL, "%stx", in ieee80211_alloc_led_names() 38 local->assoc_led.name = kasprintf(GFP_KERNEL, "%sassoc", in ieee80211_alloc_led_names() 40 local->radio_led.name = kasprintf(GFP_KERNEL, "%sradio", in ieee80211_alloc_led_names() 46 kfree(local->rx_led.name); in ieee80211_free_led_names() 47 kfree(local->tx_led.name); in ieee80211_free_led_names() 48 kfree(local->assoc_led.name); in ieee80211_free_led_names() 49 kfree(local->radio_led.name); in ieee80211_free_led_names() 157 if (local->rx_led.name && led_trigger_register(&local->rx_led)) { in ieee80211_led_init() 158 kfree(local->rx_led.name); in ieee80211_led_init() [all …]
|
D | debugfs_key.c | 16 #define KEY_READ(name, prop, format_string) \ argument 17 static ssize_t key_##name##_read(struct file *file, \ 25 #define KEY_READ_D(name) KEY_READ(name, name, "%d\n") argument 26 #define KEY_READ_X(name) KEY_READ(name, name, "0x%x\n") argument 28 #define KEY_OPS(name) \ argument 29 static const struct file_operations key_ ##name## _ops = { \ 30 .read = key_##name##_read, \ 35 #define KEY_OPS_W(name) \ argument 36 static const struct file_operations key_ ##name## _ops = { \ 37 .read = key_##name##_read, \ [all …]
|
D | debugfs_netdev.c | 67 #define IEEE80211_IF_FMT(name, field, format_string) \ argument 68 static ssize_t ieee80211_if_fmt_##name( \ 74 #define IEEE80211_IF_FMT_DEC(name, field) \ argument 75 IEEE80211_IF_FMT(name, field, "%d\n") 76 #define IEEE80211_IF_FMT_HEX(name, field) \ argument 77 IEEE80211_IF_FMT(name, field, "%#x\n") 78 #define IEEE80211_IF_FMT_LHEX(name, field) \ argument 79 IEEE80211_IF_FMT(name, field, "%#lx\n") 80 #define IEEE80211_IF_FMT_SIZE(name, field) \ argument 81 IEEE80211_IF_FMT(name, field, "%zd\n") [all …]
|
D | debugfs.c | 34 #define DEBUGFS_READONLY_FILE_FN(name, fmt, value...) \ argument 35 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 44 #define DEBUGFS_READONLY_FILE_OPS(name) \ argument 45 static const struct file_operations name## _ops = { \ 46 .read = name## _read, \ 51 #define DEBUGFS_READONLY_FILE(name, fmt, value...) \ argument 52 DEBUGFS_READONLY_FILE_FN(name, fmt, value) \ 53 DEBUGFS_READONLY_FILE_OPS(name) 55 #define DEBUGFS_ADD(name) \ argument 56 debugfs_create_file(#name, 0400, phyd, local, &name## _ops); [all …]
|
/net/tipc/ |
D | trace.h | 155 #define DEFINE_SKB_EVENT(name) \ argument 156 DEFINE_EVENT(tipc_skb_class, name, \ 182 #define DEFINE_LIST_EVENT(name) \ argument 183 DEFINE_EVENT(tipc_list_class, name, \ 216 #define DEFINE_SK_EVENT_FILTER(name) \ argument 217 DEFINE_EVENT_CONDITION(tipc_sk_class, name, \ 235 #define DEFINE_SK_EVENT_FILTER_COND(name, cond) \ argument 236 DEFINE_EVENT_CONDITION(tipc_sk_class, name, \ 252 __array(char, name, TIPC_MAX_LINK_NAME) 258 tipc_link_name_ext(l, __entry->name); [all …]
|
D | bearer.c | 75 struct tipc_media *tipc_media_find(const char *name) in tipc_media_find() argument 80 if (!strcmp(media_info_array[i]->name, name)) in tipc_media_find() 112 ret = scnprintf(buf, len, "%s(%s)", m->name, addr_str); in tipc_media_addr_printf() 131 static int bearer_name_validate(const char *name, in bearer_name_validate() argument 143 strncpy(name_copy, name, TIPC_MAX_BEARER_NAME); in bearer_name_validate() 172 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find() argument 180 if (b && (!strcmp(b->name, name))) in tipc_bearer_find() 191 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name() argument 203 strcpy(name, b->name); in tipc_bearer_get_name() 234 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer() argument [all …]
|
/net/netfilter/ |
D | x_tables.c | 177 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision) in xt_find_match() argument 182 if (strnlen(name, XT_EXTENSION_MAXNAMELEN) == XT_EXTENSION_MAXNAMELEN) in xt_find_match() 187 if (strcmp(m->name, name) == 0) { in xt_find_match() 201 return xt_find_match(NFPROTO_UNSPEC, name, revision); in xt_find_match() 208 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) in xt_request_find_match() argument 212 if (strnlen(name, XT_EXTENSION_MAXNAMELEN) == XT_EXTENSION_MAXNAMELEN) in xt_request_find_match() 215 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 217 request_module("%st_%s", xt_prefix[nfproto], name); in xt_request_find_match() 218 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 226 static struct xt_target *xt_find_target(u8 af, const char *name, u8 revision) in xt_find_target() argument [all …]
|
D | xt_RATEEST.c | 31 static unsigned int xt_rateest_hash(const char *name) in xt_rateest_hash() argument 33 return jhash(name, FIELD_SIZEOF(struct xt_rateest, name), jhash_rnd) & in xt_rateest_hash() 42 h = xt_rateest_hash(est->name); in xt_rateest_hash_insert() 47 const char *name) in __xt_rateest_lookup() argument 52 h = xt_rateest_hash(name); in __xt_rateest_lookup() 54 if (strcmp(est->name, name) == 0) { in __xt_rateest_lookup() 63 struct xt_rateest *xt_rateest_lookup(struct net *net, const char *name) in xt_rateest_lookup() argument 69 est = __xt_rateest_lookup(xn, name); in xt_rateest_lookup() 118 if (strnlen(info->name, sizeof(est->name)) >= sizeof(est->name)) in xt_rateest_tg_checkentry() 124 est = __xt_rateest_lookup(xn, info->name); in xt_rateest_tg_checkentry() [all …]
|
D | xt_quota2.c | 55 char name[sizeof(((struct xt_quota_mtinfo2 *)NULL)->name)]; member 116 strlcpy(pm->indev_name, in->name, sizeof(pm->indev_name)); in quota2_log() 118 strlcpy(pm->outdev_name, out->name, sizeof(pm->outdev_name)); in quota2_log() 190 strlcpy(e->name, q->name, sizeof(e->name)); in q2_new_counter() 206 if (*q->name == '\0') in q2_get_counter() 216 if (strcmp(e->name, q->name) == 0) { in q2_get_counter() 220 pr_debug("xt_quota2: old counter name=%s", e->name); in q2_get_counter() 224 pr_debug("xt_quota2: new_counter name=%s", e->name); in q2_get_counter() 236 p = e->procfs_entry = proc_create_data(e->name, quota_list_perms, in q2_get_counter() 262 q->name[sizeof(q->name)-1] = '\0'; in quota_mt2_check() [all …]
|
D | nf_conntrack_helper.c | 73 __nf_conntrack_helper_find(const char *name, u16 l3num, u8 protonum) in __nf_conntrack_helper_find() argument 80 if (strcmp(h->name, name)) in __nf_conntrack_helper_find() 96 nf_conntrack_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_conntrack_helper_try_module_get() argument 102 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 106 if (request_module("nfct-helper-%s", name) == 0) { in nf_conntrack_helper_try_module_get() 108 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 150 nf_nat_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_nat_helper_try_module_get() argument 158 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_nat_helper_try_module_get() 337 nf_ct_helper_expectfn_find_by_name(const char *name) in nf_ct_helper_expectfn_find_by_name() argument 343 if (!strcmp(cur->name, name)) { in nf_ct_helper_expectfn_find_by_name() [all …]
|
/net/can/j1939/ |
D | bus.c | 62 ecu->addr, ecu->name); in j1939_ecu_map_locked() 148 struct j1939_ecu *j1939_ecu_create_locked(struct j1939_priv *priv, name_t name) in j1939_ecu_create_locked() argument 159 ecu->name = name; in j1939_ecu_create_locked() 209 name_t name) in j1939_ecu_find_by_name_locked() argument 216 if (ecu->name == name) in j1939_ecu_find_by_name_locked() 224 name_t name) in j1939_ecu_get_by_name_locked() argument 230 if (!name) in j1939_ecu_get_by_name_locked() 233 ecu = j1939_ecu_find_by_name_locked(priv, name); in j1939_ecu_get_by_name_locked() 240 struct j1939_ecu *j1939_ecu_get_by_name(struct j1939_priv *priv, name_t name) in j1939_ecu_get_by_name() argument 245 ecu = j1939_ecu_get_by_name_locked(priv, name); in j1939_ecu_get_by_name() [all …]
|
/net/nfc/hci/ |
D | llc.c | 39 kfree(llc_engine->name); in nfc_llc_exit() 44 int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) in nfc_llc_register() argument 52 llc_engine->name = kstrdup(name, GFP_KERNEL); in nfc_llc_register() 53 if (llc_engine->name == NULL) { in nfc_llc_register() 65 static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name) in nfc_llc_name_to_engine() argument 70 if (strcmp(llc_engine->name, name) == 0) in nfc_llc_name_to_engine() 77 void nfc_llc_unregister(const char *name) in nfc_llc_unregister() argument 81 llc_engine = nfc_llc_name_to_engine(name); in nfc_llc_unregister() 86 kfree(llc_engine->name); in nfc_llc_unregister() 90 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, in nfc_llc_allocate() argument [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_pe.c | 36 if (strcmp(pe_name, pe->name)==0) { in __ip_vs_pe_getbyname() 49 struct ip_vs_pe *ip_vs_pe_getbyname(const char *name) in ip_vs_pe_getbyname() argument 54 pe = __ip_vs_pe_getbyname(name); in ip_vs_pe_getbyname() 58 request_module("ip_vs_pe_%s", name); in ip_vs_pe_getbyname() 59 pe = __ip_vs_pe_getbyname(name); in ip_vs_pe_getbyname() 79 if (strcmp(tmp->name, pe->name) == 0) { in register_ip_vs_pe() 83 "in the system\n", __func__, pe->name); in register_ip_vs_pe() 91 pr_info("[%s] pe registered.\n", pe->name); in register_ip_vs_pe() 108 pr_info("[%s] pe unregistered.\n", pe->name); in unregister_ip_vs_pe()
|
D | ip_vs_sched.c | 97 if (strcmp(sched_name, sched->name)==0) { in ip_vs_sched_getbyname() 146 char *sched_name = sched ? sched->name : "none"; in ip_vs_scheduler_err() 176 if (!scheduler->name) { in register_ip_vs_scheduler() 191 __func__, scheduler->name); in register_ip_vs_scheduler() 200 if (strcmp(scheduler->name, sched->name) == 0) { in register_ip_vs_scheduler() 204 "in the system\n", __func__, scheduler->name); in register_ip_vs_scheduler() 214 pr_info("[%s] scheduler registered.\n", scheduler->name); in register_ip_vs_scheduler() 234 __func__, scheduler->name); in unregister_ip_vs_scheduler() 247 pr_info("[%s] scheduler unregistered.\n", scheduler->name); in unregister_ip_vs_scheduler()
|
/net/ceph/ |
D | msgpool.c | 20 dout("msgpool_alloc %s failed\n", pool->name); in msgpool_alloc() 22 dout("msgpool_alloc %s %p\n", pool->name, msg); in msgpool_alloc() 33 dout("msgpool_release %s %p\n", pool->name, msg); in msgpool_free() 40 const char *name) in ceph_msgpool_init() argument 42 dout("msgpool %s init\n", name); in ceph_msgpool_init() 49 pool->name = name; in ceph_msgpool_init() 55 dout("msgpool %s destroy\n", pool->name); in ceph_msgpool_destroy() 67 __func__, front_len, max_data_items, pool->name, in ceph_msgpool_get() 77 dout("msgpool_get %s %p\n", pool->name, msg); in ceph_msgpool_get() 83 dout("msgpool_put %s %p\n", pool->name, msg); in ceph_msgpool_put()
|
/net/atm/ |
D | mpc.c | 273 char name[IFNAMSIZ]; in find_lec_by_itfnum() local 275 sprintf(name, "lec%d", itf); in find_lec_by_itfnum() 276 dev = dev_get_by_name(&init_net, name); in find_lec_by_itfnum() 315 dprintk("(%s)\n", mpc->dev->name); in start_mpc() 317 pr_info("(%s) not starting\n", dev->name); in start_mpc() 329 dprintk("(%s)", mpc->dev->name); in stop_mpc() 384 dprintk("(%s) received TLV(s), ", dev->name); in lane2_assoc_ind() 388 pr_info("(%s) no mpc\n", dev->name); in lane2_assoc_ind() 405 dev->name); in lane2_assoc_ind() 416 dev->name, mpoa_device_type_string(mpoa_device_type)); in lane2_assoc_ind() [all …]
|
/net/sunrpc/ |
D | debugfs.c | 36 clnt->cl_program->name, clnt->cl_vers, rpc_proc_name(task), in tasks_show() 123 char name[24]; /* enough for "../../rpc_xprt/ + 8 hex digits + NULL */ in do_xprt_debugfs() local 129 len = snprintf(name, sizeof(name), "../../rpc_xprt/%s", in do_xprt_debugfs() 130 xprt->debugfs->d_name.name); in do_xprt_debugfs() 131 if (len >= sizeof(name)) in do_xprt_debugfs() 140 debugfs_create_symlink(link, clnt->cl_debugfs, name); in do_xprt_debugfs() 149 char name[9]; /* enough for 8 hex digits + NULL */ in rpc_clnt_debugfs_register() local 152 len = snprintf(name, sizeof(name), "%x", clnt->cl_clid); in rpc_clnt_debugfs_register() 153 if (len >= sizeof(name)) in rpc_clnt_debugfs_register() 157 clnt->cl_debugfs = debugfs_create_dir(name, rpc_clnt_dir); in rpc_clnt_debugfs_register() [all …]
|
/net/batman-adv/ |
D | debugfs.c | 47 const char *name = dentry->d_name.name; in batadv_debugfs_deprecated() local 50 current->comm, task_pid_nr(current), name, alt); in batadv_debugfs_deprecated() 201 .name = __stringify(_name), \ 269 .name = __stringify(_name), \ 299 debugfs_create_file(((*bat_debug)->attr).name, in batadv_debugfs_init() 326 hard_iface->debug_dir = debugfs_create_dir(hard_iface->net_dev->name, in batadv_debugfs_add_hardif() 330 debugfs_create_file(((*bat_debug)->attr).name, in batadv_debugfs_add_hardif() 342 const char *name = hard_iface->net_dev->name; in batadv_debugfs_rename_hardif() local 349 debugfs_rename(dir->d_parent, dir, dir->d_parent, name); in batadv_debugfs_rename_hardif() 385 bat_priv->debug_dir = debugfs_create_dir(dev->name, batadv_debugfs); in batadv_debugfs_add_meshif() [all …]
|
D | bat_algo.c | 37 static struct batadv_algo_ops *batadv_algo_get(char *name) in batadv_algo_get() argument 42 if (strcmp(bat_algo_ops_tmp->name, name) != 0) in batadv_algo_get() 62 bat_algo_ops_tmp = batadv_algo_get(bat_algo_ops->name); in batadv_algo_register() 65 bat_algo_ops->name); in batadv_algo_register() 77 bat_algo_ops->name); in batadv_algo_register() 100 int batadv_algo_select(struct batadv_priv *bat_priv, char *name) in batadv_algo_select() argument 104 bat_algo_ops = batadv_algo_get(name); in batadv_algo_select() 129 seq_printf(seq, " * %s\n", bat_algo_ops->name); in batadv_algo_seq_print_text() 187 if (nla_put_string(msg, BATADV_ATTR_ALGO_NAME, bat_algo_ops->name)) in batadv_algo_dump_entry()
|
/net/netfilter/ipset/ |
D | ip_set_core.c | 87 find_set_type(const char *name, u8 family, u8 revision) in find_set_type() argument 92 if (STRNCMP(type->name, name) && in find_set_type() 103 load_settype(const char *name) in load_settype() argument 106 pr_debug("try to load ip_set_%s\n", name); in load_settype() 107 if (request_module("ip_set_%s", name) < 0) { in load_settype() 108 pr_warn("Can't find ip_set type %s\n", name); in load_settype() 117 #define find_set_type_get(name, family, revision, found) \ argument 118 __find_set_type_get(name, family, revision, found, false) 121 __find_set_type_get(const char *name, u8 family, u8 revision, in __find_set_type_get() argument 127 if (retry && !load_settype(name)) in __find_set_type_get() [all …]
|
/net/bluetooth/ |
D | hci_event.c | 51 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_inquiry_cancel() 90 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_periodic_inq() 102 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_exit_periodic_inq() 115 BT_DBG("%s", hdev->name); in hci_cc_remote_name_req_cancel() 123 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_role_discovery() 142 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_link_policy() 162 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_write_link_policy() 185 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_def_link_policy() 199 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_def_link_policy() 215 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_reset() [all …]
|