/net/xfrm/ |
D | xfrm_algo.c | 30 .name = "rfc4106(gcm(aes))", 48 .name = "rfc4106(gcm(aes))", 66 .name = "rfc4106(gcm(aes))", 84 .name = "rfc4309(ccm(aes))", 102 .name = "rfc4309(ccm(aes))", 120 .name = "rfc4309(ccm(aes))", 138 .name = "rfc4543(gcm(aes))", 159 .name = "digest_null", 178 .name = "hmac(md5)", 198 .name = "hmac(sha1)", [all …]
|
/net/ipv4/ |
D | tcp_cong.c | 22 static struct tcp_congestion_ops *tcp_ca_find(const char *name) in tcp_ca_find() argument 27 if (strcmp(e->name, name) == 0) in tcp_ca_find() 44 pr_err("%s does not implement required ops\n", ca->name); in tcp_register_congestion_control() 49 if (tcp_ca_find(ca->name)) { in tcp_register_congestion_control() 50 pr_notice("%s already registered\n", ca->name); in tcp_register_congestion_control() 54 pr_info("%s registered\n", ca->name); in tcp_register_congestion_control() 122 int tcp_set_default_congestion_control(const char *name) in tcp_set_default_congestion_control() argument 128 ca = tcp_ca_find(name); in tcp_set_default_congestion_control() 133 request_module("tcp_%s", name); in tcp_set_default_congestion_control() 135 ca = tcp_ca_find(name); in tcp_set_default_congestion_control() [all …]
|
D | proc.c | 139 const char *name; member 343 for (i = 0; icmpmibmap[i].name != NULL; i++) in icmp_put() 344 seq_printf(seq, " In%s", icmpmibmap[i].name); in icmp_put() 346 for (i = 0; icmpmibmap[i].name != NULL; i++) in icmp_put() 347 seq_printf(seq, " Out%s", icmpmibmap[i].name); in icmp_put() 352 for (i = 0; icmpmibmap[i].name != NULL; i++) in icmp_put() 358 for (i = 0; icmpmibmap[i].name != NULL; i++) in icmp_put() 373 for (i = 0; snmp4_ipstats_list[i].name != NULL; i++) in snmp_seq_show() 374 seq_printf(seq, " %s", snmp4_ipstats_list[i].name); in snmp_seq_show() 381 for (i = 0; snmp4_ipstats_list[i].name != NULL; i++) in snmp_seq_show() [all …]
|
/net/irda/ |
D | irias_object.c | 47 struct ias_object *irias_new_object( char *name, int id) in irias_new_object() argument 61 obj->name = kstrndup(name, IAS_MAX_CLASSNAME, GFP_ATOMIC); in irias_new_object() 62 if (!obj->name) { in irias_new_object() 78 kfree(obj->name); in irias_new_object() 98 kfree(attrib->name); in __irias_delete_attrib() 111 kfree(obj->name); in __irias_delete_object() 194 hashbin_insert(irias_objects, (irda_queue_t *) obj, 0, obj->name); in irias_insert_object() 204 struct ias_object *irias_find_object(char *name) in irias_find_object() argument 206 IRDA_ASSERT(name != NULL, return NULL;); in irias_find_object() 209 return hashbin_lock_find(irias_objects, 0, name); in irias_find_object() [all …]
|
D | irqueue.c | 213 static __u32 hash( const char* name) in hash() argument 218 while(*name) { in hash() 219 h = (h<<4) + *name++; in hash() 450 const char* name) in hashbin_insert() argument 463 if ( name ) in hashbin_insert() 464 hashv = hash( name ); in hashbin_insert() 476 if ( name ) in hashbin_insert() 477 strlcpy( entry->q_name, name, sizeof(entry->q_name)); in hashbin_insert() 562 void* hashbin_remove( hashbin_t* hashbin, long hashv, const char* name) in hashbin_remove() argument 576 if ( name ) in hashbin_remove() [all …]
|
/net/tipc/ |
D | bearer.c | 59 struct tipc_media *tipc_media_find(const char *name) in tipc_media_find() argument 64 if (!strcmp(media_info_array[i]->name, name)) in tipc_media_find() 96 ret = tipc_snprintf(buf, len, "%s(%s)", m_ptr->name, addr_str); in tipc_media_addr_printf() 121 media_info_array[i]->name, in tipc_media_get_names() 122 strlen(media_info_array[i]->name) + 1); in tipc_media_get_names() 134 static int bearer_name_validate(const char *name, in bearer_name_validate() argument 146 strncpy(name_copy, name, TIPC_MAX_BEARER_NAME); in bearer_name_validate() 175 struct tipc_bearer *tipc_bearer_find(const char *name) in tipc_bearer_find() argument 182 if (b_ptr && (!strcmp(b_ptr->name, name))) in tipc_bearer_find() 208 b->name, in tipc_bearer_get_names() [all …]
|
/net/mac80211/ |
D | debugfs_netdev.c | 70 #define IEEE80211_IF_FMT(name, field, format_string) \ argument 71 static ssize_t ieee80211_if_fmt_##name( \ 77 #define IEEE80211_IF_FMT_DEC(name, field) \ argument 78 IEEE80211_IF_FMT(name, field, "%d\n") 79 #define IEEE80211_IF_FMT_HEX(name, field) \ argument 80 IEEE80211_IF_FMT(name, field, "%#x\n") 81 #define IEEE80211_IF_FMT_LHEX(name, field) \ argument 82 IEEE80211_IF_FMT(name, field, "%#lx\n") 83 #define IEEE80211_IF_FMT_SIZE(name, field) \ argument 84 IEEE80211_IF_FMT(name, field, "%zd\n") [all …]
|
D | debugfs_key.c | 18 #define KEY_READ(name, prop, format_string) \ argument 19 static ssize_t key_##name##_read(struct file *file, \ 27 #define KEY_READ_D(name) KEY_READ(name, name, "%d\n") argument 28 #define KEY_READ_X(name) KEY_READ(name, name, "0x%x\n") argument 30 #define KEY_OPS(name) \ argument 31 static const struct file_operations key_ ##name## _ops = { \ 32 .read = key_##name##_read, \ 37 #define KEY_FILE(name, format) \ argument 38 KEY_READ_##format(name) \ 39 KEY_OPS(name) [all …]
|
D | debugfs.c | 201 #define DEBUGFS_READONLY_FILE_FN(name, fmt, value...) \ argument 202 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 211 #define DEBUGFS_READONLY_FILE_OPS(name) \ argument 212 static const struct file_operations name## _ops = { \ 213 .read = name## _read, \ 218 #define DEBUGFS_READONLY_FILE(name, fmt, value...) \ argument 219 DEBUGFS_READONLY_FILE_FN(name, fmt, value) \ 220 DEBUGFS_READONLY_FILE_OPS(name) 222 #define DEBUGFS_ADD(name) \ argument 223 debugfs_create_file(#name, 0400, phyd, local, &name## _ops); [all …]
|
D | debugfs_sta.c | 22 #define STA_READ(name, field, format_string) \ argument 23 static ssize_t sta_ ##name## _read(struct file *file, \ 31 #define STA_READ_D(name, field) STA_READ(name, field, "%d\n") argument 32 #define STA_READ_U(name, field) STA_READ(name, field, "%u\n") argument 33 #define STA_READ_S(name, field) STA_READ(name, field, "%s\n") argument 35 #define STA_OPS(name) \ argument 36 static const struct file_operations sta_ ##name## _ops = { \ 37 .read = sta_##name##_read, \ 42 #define STA_OPS_W(name) \ argument 43 static const struct file_operations sta_ ##name## _ops = { \ [all …]
|
/net/nfc/hci/ |
D | llc.c | 50 kfree(llc_engine->name); in nfc_llc_exit() 55 int nfc_llc_register(const char *name, struct nfc_llc_ops *ops) in nfc_llc_register() argument 63 llc_engine->name = kstrdup(name, GFP_KERNEL); in nfc_llc_register() 64 if (llc_engine->name == NULL) { in nfc_llc_register() 76 static struct nfc_llc_engine *nfc_llc_name_to_engine(const char *name) in nfc_llc_name_to_engine() argument 81 if (strcmp(llc_engine->name, name) == 0) in nfc_llc_name_to_engine() 88 void nfc_llc_unregister(const char *name) in nfc_llc_unregister() argument 92 llc_engine = nfc_llc_name_to_engine(name); in nfc_llc_unregister() 97 kfree(llc_engine->name); in nfc_llc_unregister() 101 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, in nfc_llc_allocate() argument [all …]
|
/net/netfilter/ |
D | x_tables.c | 182 struct xt_match *xt_find_match(u8 af, const char *name, u8 revision) in xt_find_match() argument 189 if (strcmp(m->name, name) == 0) { in xt_find_match() 203 return xt_find_match(NFPROTO_UNSPEC, name, revision); in xt_find_match() 210 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) in xt_request_find_match() argument 214 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 216 request_module("%st_%s", xt_prefix[nfproto], name); in xt_request_find_match() 217 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 225 struct xt_target *xt_find_target(u8 af, const char *name, u8 revision) in xt_find_target() argument 232 if (strcmp(t->name, name) == 0) { in xt_find_target() 246 return xt_find_target(NFPROTO_UNSPEC, name, revision); in xt_find_target() [all …]
|
D | xt_quota2.c | 55 char name[sizeof(((struct xt_quota_mtinfo2 *)NULL)->name)]; member 118 strlcpy(pm->indev_name, in->name, sizeof(pm->indev_name)); in quota2_log() 123 strlcpy(pm->outdev_name, out->name, sizeof(pm->outdev_name)); in quota2_log() 195 strlcpy(e->name, q->name, sizeof(e->name)); in q2_new_counter() 211 if (*q->name == '\0') in q2_get_counter() 221 if (strcmp(e->name, q->name) == 0) { in q2_get_counter() 225 pr_debug("xt_quota2: old counter name=%s", e->name); in q2_get_counter() 229 pr_debug("xt_quota2: new_counter name=%s", e->name); in q2_get_counter() 241 p = e->procfs_entry = proc_create_data(e->name, quota_list_perms, in q2_get_counter() 267 q->name[sizeof(q->name)-1] = '\0'; in quota_mt2_check() [all …]
|
D | xt_RATEEST.c | 29 static unsigned int xt_rateest_hash(const char *name) in xt_rateest_hash() argument 31 return jhash(name, FIELD_SIZEOF(struct xt_rateest, name), jhash_rnd) & in xt_rateest_hash() 39 h = xt_rateest_hash(est->name); in xt_rateest_hash_insert() 43 struct xt_rateest *xt_rateest_lookup(const char *name) in xt_rateest_lookup() argument 48 h = xt_rateest_hash(name); in xt_rateest_lookup() 51 if (strcmp(est->name, name) == 0) { in xt_rateest_lookup() 107 est = xt_rateest_lookup(info->name); in xt_rateest_tg_checkentry() 128 strlcpy(est->name, info->name, sizeof(est->name)); in xt_rateest_tg_checkentry() 162 .name = "RATEEST",
|
/net/ceph/ |
D | msgpool.c | 17 dout("msgpool_alloc %s failed\n", pool->name); in msgpool_alloc() 19 dout("msgpool_alloc %s %p\n", pool->name, msg); in msgpool_alloc() 30 dout("msgpool_release %s %p\n", pool->name, msg); in msgpool_free() 36 int front_len, int size, bool blocking, const char *name) in ceph_msgpool_init() argument 38 dout("msgpool %s init\n", name); in ceph_msgpool_init() 44 pool->name = name; in ceph_msgpool_init() 50 dout("msgpool %s destroy\n", pool->name); in ceph_msgpool_destroy() 61 pool->name, front_len, pool->front_len); in ceph_msgpool_get() 69 dout("msgpool_get %s %p\n", pool->name, msg); in ceph_msgpool_get() 75 dout("msgpool_put %s %p\n", pool->name, msg); in ceph_msgpool_put()
|
/net/netfilter/ipvs/ |
D | ip_vs_pe.c | 35 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() 78 if (strcmp(tmp->name, pe->name) == 0) { in register_ip_vs_pe() 82 "in the system\n", __func__, pe->name); in register_ip_vs_pe() 90 pr_info("[%s] pe registered.\n", pe->name); in register_ip_vs_pe() 107 pr_info("[%s] pe unregistered.\n", pe->name); in unregister_ip_vs_pe()
|
D | ip_vs_sched.c | 102 if (strcmp(sched_name, sched->name)==0) { in ip_vs_sched_getbyname() 152 char *sched_name = sched ? sched->name : "none"; in ip_vs_scheduler_err() 182 if (!scheduler->name) { in register_ip_vs_scheduler() 196 __func__, scheduler->name); in register_ip_vs_scheduler() 205 if (strcmp(scheduler->name, sched->name) == 0) { in register_ip_vs_scheduler() 209 "in the system\n", __func__, scheduler->name); in register_ip_vs_scheduler() 219 pr_info("[%s] scheduler registered.\n", scheduler->name); in register_ip_vs_scheduler() 239 __func__, scheduler->name); in unregister_ip_vs_scheduler() 252 pr_info("[%s] scheduler unregistered.\n", scheduler->name); in unregister_ip_vs_scheduler()
|
/net/atm/ |
D | mpc.c | 272 char name[IFNAMSIZ]; in find_lec_by_itfnum() local 274 sprintf(name, "lec%d", itf); in find_lec_by_itfnum() 275 dev = dev_get_by_name(&init_net, name); in find_lec_by_itfnum() 314 dprintk("(%s)\n", mpc->dev->name); in start_mpc() 316 pr_info("(%s) not starting\n", dev->name); in start_mpc() 328 dprintk("(%s)", mpc->dev->name); in stop_mpc() 383 dprintk("(%s) received TLV(s), ", dev->name); in lane2_assoc_ind() 387 pr_info("(%s) no mpc\n", dev->name); in lane2_assoc_ind() 404 dev->name); in lane2_assoc_ind() 415 dev->name, mpoa_device_type_string(mpoa_device_type)); in lane2_assoc_ind() [all …]
|
/net/netfilter/ipset/ |
D | ip_set_core.c | 83 find_set_type(const char *name, u8 family, u8 revision) in find_set_type() argument 88 if (STREQ(type->name, name) && in find_set_type() 99 load_settype(const char *name) in load_settype() argument 102 pr_debug("try to load ip_set_%s\n", name); in load_settype() 103 if (request_module("ip_set_%s", name) < 0) { in load_settype() 104 pr_warn("Can't find ip_set type %s\n", name); in load_settype() 113 #define find_set_type_get(name, family, revision, found) \ argument 114 __find_set_type_get(name, family, revision, found, false) 117 __find_set_type_get(const char *name, u8 family, u8 revision, in __find_set_type_get() argument 123 if (retry && !load_settype(name)) in __find_set_type_get() [all …]
|
/net/bluetooth/ |
D | hci_event.c | 43 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_inquiry_cancel() 63 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_periodic_inq() 75 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_exit_periodic_inq() 88 BT_DBG("%s", hdev->name); in hci_cc_remote_name_req_cancel() 96 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_role_discovery() 115 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_link_policy() 135 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_write_link_policy() 158 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_def_link_policy() 172 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_def_link_policy() 188 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_reset() [all …]
|
/net/ieee802154/ |
D | nl-phy.c | 87 const char *name; in ieee802154_list_phy() local 95 name = nla_data(info->attrs[IEEE802154_ATTR_PHY_NAME]); in ieee802154_list_phy() 96 if (name[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1] != '\0') in ieee802154_list_phy() 100 phy = wpan_phy_find(name); in ieee802154_list_phy() 175 const char *name; in ieee802154_add_iface() local 186 name = nla_data(info->attrs[IEEE802154_ATTR_PHY_NAME]); in ieee802154_add_iface() 187 if (name[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1] != '\0') in ieee802154_add_iface() 202 phy = wpan_phy_find(name); in ieee802154_add_iface() 254 nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, dev->name)) in ieee802154_add_iface() 278 const char *name; in ieee802154_del_iface() local [all …]
|
/net/ipv4/netfilter/ |
D | ip_tables.c | 226 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum() 234 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum() 309 indev = in ? in->name : nulldevname; in ipt_do_table() 310 outdev = out ? out->name : nulldevname; in ipt_do_table() 343 table->name, hook, origptr, in ipt_do_table() 374 table->name, private, e); in ipt_do_table() 477 (strcmp(t->target.u.user.name, in mark_source_chains() 482 if ((strcmp(t->target.u.user.name, in mark_source_chains() 527 if (strcmp(t->target.u.user.name, in mark_source_chains() 607 duprintf("check failed for `%s'.\n", par->match->name); in check_match() [all …]
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 252 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum() 260 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum() 333 indev = in ? in->name : nulldevname; in ip6t_do_table() 334 outdev = out ? out->name : nulldevname; in ip6t_do_table() 394 table->name, private, e); in ip6t_do_table() 487 (strcmp(t->target.u.user.name, in mark_source_chains() 492 if ((strcmp(t->target.u.user.name, in mark_source_chains() 537 if (strcmp(t->target.u.user.name, in mark_source_chains() 617 par.match->name); in check_match() 629 match = xt_request_find_match(NFPROTO_IPV6, m->u.user.name, in find_check_match() [all …]
|
/net/sunrpc/ |
D | rpc_pipe.c | 410 seq_printf(m, "service: %s (%d) version %d\n", clnt->cl_program->name, in rpc_show_info() 467 const char *name; member 648 const char *name) in __rpc_lookup_create_exclusive() argument 650 struct qstr q = QSTR_INIT(name, strlen(name)); in __rpc_lookup_create_exclusive() 672 struct qstr name; in __rpc_depopulate() local 676 name.name = files[i].name; in __rpc_depopulate() 677 name.len = strlen(files[i].name); in __rpc_depopulate() 678 dentry = d_hash_and_lookup(parent, &name); in __rpc_depopulate() 720 dentry = __rpc_lookup_create_exclusive(parent, files[i].name); in rpc_populate() 753 const char *name, umode_t mode, void *private, in rpc_mkdir_populate() argument [all …]
|
/net/rfkill/ |
D | rfkill-gpio.c | 33 const char *name; member 75 rfkill->name = dev_name(dev); in rfkill_gpio_acpi_probe() 97 rfkill->name = pdata->name; in rfkill_gpio_probe() 124 if ((!rfkill->reset_gpio && !rfkill->shutdown_gpio) || !rfkill->name) { in rfkill_gpio_probe() 129 rfkill->rfkill_dev = rfkill_alloc(rfkill->name, &pdev->dev, in rfkill_gpio_probe() 141 dev_info(&pdev->dev, "%s device registered.\n", rfkill->name); in rfkill_gpio_probe() 173 .name = "rfkill_gpio",
|