ktype 167 drivers/base/bus.c struct kobj_type *ktype = get_ktype(kobj); ktype 169 drivers/base/bus.c if (ktype == &bus_ktype) ktype 821 drivers/base/bus.c priv->subsys.kobj.ktype = &bus_ktype; ktype 183 drivers/base/class.c cp->subsys.kobj.ktype = &class_ktype; ktype 1137 drivers/base/core.c struct kobj_type *ktype = get_ktype(kobj); ktype 1139 drivers/base/core.c if (ktype == &device_ktype) { ktype 122 drivers/block/pktcdvd.c struct kobj_type* ktype) ktype 131 drivers/block/pktcdvd.c error = kobject_init_and_add(&p->kobj, ktype, parent, "%s", name); ktype 524 drivers/firmware/qemu_fw_cfg.c if (ko->ktype != dir->kobj.ktype) { ktype 539 drivers/firmware/qemu_fw_cfg.c subdir->kobj.ktype = dir->kobj.ktype; ktype 568 drivers/firmware/qemu_fw_cfg.c if (k->ktype == kset->kobj.ktype) ktype 398 drivers/infiniband/core/core_priv.h struct kobject *kobj, struct kobj_type *ktype, ktype 1395 drivers/infiniband/core/sysfs.c struct kobject *kobj, struct kobj_type *ktype, ktype 1407 drivers/infiniband/core/sysfs.c ret = kobject_init_and_add(kobj, ktype, &port->kobj, "%s", ktype 1497 drivers/media/rc/imon.c unsigned char *buf, u8 ktype) ktype 1519 drivers/media/rc/imon.c else if (ktype == IMON_KEY_MCE) { ktype 1556 drivers/media/rc/imon.c u8 ktype; ktype 1565 drivers/media/rc/imon.c ktype = IMON_KEY_PANEL; ktype 1571 drivers/media/rc/imon.c ktype = IMON_KEY_IMON; ktype 1573 drivers/media/rc/imon.c ktype = IMON_KEY_MCE; ktype 1576 drivers/media/rc/imon.c ktype = IMON_KEY_IMON; ktype 1624 drivers/media/rc/imon.c press_type = imon_parse_press_type(ictx, buf, ktype); ktype 1628 drivers/media/rc/imon.c if (ktype != IMON_KEY_PANEL) { ktype 566 drivers/net/wireless/ath/carl9170/carl9170.h const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen); ktype 475 drivers/net/wireless/ath/carl9170/mac.c const u8 ktype, const u8 keyidx, const u8 *keydata, ktype 486 drivers/net/wireless/ath/carl9170/mac.c key.type = cpu_to_le16(ktype); ktype 1180 drivers/net/wireless/ath/carl9170/main.c u8 ktype; ktype 1209 drivers/net/wireless/ath/carl9170/main.c ktype = AR9170_ENC_ALG_WEP64; ktype 1212 drivers/net/wireless/ath/carl9170/main.c ktype = AR9170_ENC_ALG_WEP128; ktype 1215 drivers/net/wireless/ath/carl9170/main.c ktype = AR9170_ENC_ALG_TKIP; ktype 1218 drivers/net/wireless/ath/carl9170/main.c ktype = AR9170_ENC_ALG_AESCCMP; ktype 1247 drivers/net/wireless/ath/carl9170/main.c ktype, 0, key->key, ktype 1254 drivers/net/wireless/ath/carl9170/main.c NULL, ktype, 1, ktype 390 drivers/s390/crypto/pkey_api.c enum pkey_key_type ktype, enum pkey_key_size ksize, ktype 400 drivers/s390/crypto/pkey_api.c switch (ktype) { ktype 422 drivers/s390/crypto/pkey_api.c if (ktype == PKEY_TYPE_CCA_DATA) { ktype 436 drivers/s390/crypto/pkey_api.c enum pkey_key_type ktype, enum pkey_key_size ksize, ktype 447 drivers/s390/crypto/pkey_api.c switch (ktype) { ktype 469 drivers/s390/crypto/pkey_api.c if (ktype == PKEY_TYPE_CCA_DATA) { ktype 485 drivers/s390/crypto/pkey_api.c enum pkey_key_type *ktype, ktype 502 drivers/s390/crypto/pkey_api.c if (ktype) ktype 503 drivers/s390/crypto/pkey_api.c *ktype = PKEY_TYPE_CCA_DATA; ktype 530 drivers/s390/crypto/pkey_api.c if (ktype) ktype 531 drivers/s390/crypto/pkey_api.c *ktype = PKEY_TYPE_CCA_CIPHER; ktype 677 drivers/s390/crypto/pkey_api.c static int pkey_apqns4keytype(enum pkey_key_type ktype, ktype 684 drivers/s390/crypto/pkey_api.c if (ktype == PKEY_TYPE_CCA_DATA || ktype == PKEY_TYPE_CCA_CIPHER) { ktype 692 drivers/s390/crypto/pkey_api.c if (ktype == PKEY_TYPE_CCA_CIPHER) ktype 607 drivers/xen/sys-hypervisor.c hypervisor_kobj->ktype = &hyp_sysfs_kobj_type; ktype 632 fs/btrfs/sysfs.c if (kobj->ktype != &btrfs_ktype) ktype 639 fs/btrfs/sysfs.c if (kobj->ktype != &btrfs_ktype) ktype 62 fs/ceph/mdsmap.c #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ ktype 67 fs/ceph/mdsmap.c need = (sizeof(ktype) + sizeof(vtype)) * n; \ ktype 592 fs/f2fs/sysfs.c .kobj = {.ktype = &f2fs_ktype}, ktype 154 fs/ocfs2/cluster/masklog.c .kobj = {.ktype = &mlog_ktype}, ktype 31 fs/sysfs/file.c return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; ktype 256 fs/sysfs/file.c const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; ktype 31 fs/xfs/xfs_sysfs.h struct kobj_type *ktype, ktype 36 fs/xfs/xfs_sysfs.h return kobject_init_and_add(&kobj->kobject, ktype, ktype 174 include/linux/ceph/decode.h #define ceph_decode_skip_map(p, end, ktype, vtype, bad) \ ktype 180 include/linux/ceph/decode.h ceph_decode_skip_##ktype(p, end, bad); \ ktype 165 include/linux/key-type.h extern int register_key_type(struct key_type *ktype); ktype 166 include/linux/key-type.h extern void unregister_key_type(struct key_type *ktype); ktype 70 include/linux/kobject.h struct kobj_type *ktype; ktype 94 include/linux/kobject.h extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype); ktype 100 include/linux/kobject.h struct kobj_type *ktype, struct kobject *parent, ktype 224 include/linux/kobject.h return kobj->ktype; ktype 429 include/net/netfilter/nf_tables.h u32 ktype; ktype 914 kernel/params.c struct kobj_type *ktype = get_ktype(kobj); ktype 916 kernel/params.c if (ktype == &module_ktype) ktype 35 lib/kobject.c return kobj->ktype->namespace(kobj); ktype 53 lib/kobject.c if (kobj->ktype->get_ownership) ktype 54 lib/kobject.c kobj->ktype->get_ownership(kobj, uid, gid); ktype 85 lib/kobject.c const struct kobj_type *ktype = get_ktype(kobj); ktype 99 lib/kobject.c if (ktype) { ktype 100 lib/kobject.c error = sysfs_create_groups(kobj, ktype->default_groups); ktype 349 lib/kobject.c void kobject_init(struct kobject *kobj, struct kobj_type *ktype) ktype 357 lib/kobject.c if (!ktype) { ktype 369 lib/kobject.c kobj->ktype = ktype; ktype 464 lib/kobject.c int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, ktype 470 lib/kobject.c kobject_init(kobj, ktype); ktype 612 lib/kobject.c const struct kobj_type *ktype; ktype 618 lib/kobject.c ktype = get_ktype(kobj); ktype 620 lib/kobject.c if (ktype) ktype 621 lib/kobject.c sysfs_remove_groups(kobj, ktype->default_groups); ktype 971 lib/kobject.c kset->kobj.ktype = &kset_ktype; ktype 1057 lib/kobject.c if (parent && parent->ktype && parent->ktype->child_ns_type) ktype 1058 lib/kobject.c ops = parent->ktype->child_ns_type(parent); ktype 244 lib/kobject_uevent.c ns = kobj->ktype->namespace(kobj); ktype 403 lib/kobject_uevent.c if (ops && ops->netlink_ns && kobj->ktype->namespace) ktype 405 lib/kobject_uevent.c net = kobj->ktype->namespace(kobj); ktype 5660 mm/slub.c struct kobj_type *ktype = get_ktype(kobj); ktype 5662 mm/slub.c if (ktype == &slab_ktype) ktype 3328 net/netfilter/nf_tables_api.c if (nla_put_be32(skb, NFTA_SET_KEY_TYPE, htonl(set->ktype))) ktype 3569 net/netfilter/nf_tables_api.c u32 ktype, dtype, flags, policy, gc_int, objtype; ktype 3583 net/netfilter/nf_tables_api.c ktype = NFT_DATA_VALUE; ktype 3585 net/netfilter/nf_tables_api.c ktype = ntohl(nla_get_be32(nla[NFTA_SET_KEY_TYPE])); ktype 3586 net/netfilter/nf_tables_api.c if ((ktype & NFT_DATA_RESERVED_MASK) == NFT_DATA_RESERVED_MASK) ktype 3738 net/netfilter/nf_tables_api.c set->ktype = ktype; ktype 99 security/keys/gc.c void key_gc_keytype(struct key_type *ktype) ktype 101 security/keys/gc.c kenter("%s", ktype->name); ktype 103 security/keys/gc.c key_gc_dead_keytype = ktype; ktype 92 security/keys/internal.h extern void key_type_put(struct key_type *ktype); ktype 180 security/keys/internal.h extern void key_gc_keytype(struct key_type *ktype); ktype 699 security/keys/key.c struct key_type *ktype; ktype 705 security/keys/key.c list_for_each_entry(ktype, &key_types_list, link) { ktype 706 security/keys/key.c if (strcmp(ktype->name, type) == 0) ktype 711 security/keys/key.c ktype = ERR_PTR(-ENOKEY); ktype 714 security/keys/key.c return ktype; ktype 737 security/keys/key.c void key_type_put(struct key_type *ktype) ktype 1127 security/keys/key.c int register_key_type(struct key_type *ktype) ktype 1132 security/keys/key.c memset(&ktype->lock_class, 0, sizeof(ktype->lock_class)); ktype 1139 security/keys/key.c if (strcmp(p->name, ktype->name) == 0) ktype 1144 security/keys/key.c list_add(&ktype->link, &key_types_list); ktype 1146 security/keys/key.c pr_notice("Key type %s registered\n", ktype->name); ktype 1163 security/keys/key.c void unregister_key_type(struct key_type *ktype) ktype 1166 security/keys/key.c list_del_init(&ktype->link); ktype 1168 security/keys/key.c key_gc_keytype(ktype); ktype 1169 security/keys/key.c pr_notice("Key type %s unregistered\n", ktype->name); ktype 170 security/keys/keyctl.c struct key_type *ktype; ktype 213 security/keys/keyctl.c ktype = key_type_lookup(type); ktype 214 security/keys/keyctl.c if (IS_ERR(ktype)) { ktype 215 security/keys/keyctl.c ret = PTR_ERR(ktype); ktype 220 security/keys/keyctl.c key = request_key_and_link(ktype, description, NULL, callout_info, ktype 238 security/keys/keyctl.c key_type_put(ktype); ktype 718 security/keys/keyctl.c struct key_type *ktype; ktype 753 security/keys/keyctl.c ktype = key_type_lookup(type); ktype 754 security/keys/keyctl.c if (IS_ERR(ktype)) { ktype 755 security/keys/keyctl.c ret = PTR_ERR(ktype); ktype 760 security/keys/keyctl.c key_ref = keyring_search(keyring_ref, ktype, description, true); ktype 786 security/keys/keyctl.c key_type_put(ktype);