/linux-master/fs/xfs/ |
H A D | xfs_sysfs.h | 31 const struct kobj_type *ktype, 40 err = kobject_init_and_add(&kobj->kobject, ktype, parent, "%s", name); 29 xfs_sysfs_init( struct xfs_kobj *kobj, const struct kobj_type *ktype, struct xfs_kobj *parent_kobj, const char *name) argument
|
/linux-master/include/linux/ |
H A D | kobject.h | 69 const struct kobj_type *ktype; member in struct:kobject 92 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype); 97 const struct kobj_type *ktype, 198 return kobj->ktype;
|
H A D | key-type.h | 167 extern int register_key_type(struct key_type *ktype); 168 extern void unregister_key_type(struct key_type *ktype);
|
/linux-master/lib/ |
H A D | kobject.c | 37 return kobj->ktype->namespace(kobj); 55 if (kobj->ktype->get_ownership) 56 kobj->ktype->get_ownership(kobj, uid, gid); 69 const struct kobj_type *ktype = get_ktype(kobj); local 77 if (ktype) { 78 error = sysfs_create_groups(kobj, ktype->default_groups); 324 * @ktype: pointer to the ktype for this kobject. 333 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype) argument 341 if (!ktype) { 448 kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) argument 589 const struct kobj_type *ktype; local [all...] |
H A D | kobject_uevent.c | 243 ns = kobj->ktype->namespace(kobj); 405 if (ops && ops->netlink_ns && kobj->ktype->namespace) 407 net = kobj->ktype->namespace(kobj);
|
/linux-master/security/keys/ |
H A D | key.c | 702 struct key_type *ktype; local 708 list_for_each_entry(ktype, &key_types_list, link) { 709 if (strcmp(ktype->name, type) == 0) 714 ktype = ERR_PTR(-ENOKEY); 717 return ktype; 738 void key_type_put(struct key_type *ktype) argument 1202 * @ktype: The new key type. 1208 int register_key_type(struct key_type *ktype) argument 1213 memset(&ktype->lock_class, 0, sizeof(ktype 1244 unregister_key_type(struct key_type *ktype) argument [all...] |
H A D | gc.c | 112 void key_gc_keytype(struct key_type *ktype) argument 114 kenter("%s", ktype->name); 116 key_gc_dead_keytype = ktype;
|
H A D | keyctl.c | 172 struct key_type *ktype; local 215 ktype = key_type_lookup(type); 216 if (IS_ERR(ktype)) { 217 ret = PTR_ERR(ktype); 222 key = request_key_and_link(ktype, description, NULL, callout_info, 240 key_type_put(ktype); 721 struct key_type *ktype; local 756 ktype = key_type_lookup(type); 757 if (IS_ERR(ktype)) { 758 ret = PTR_ERR(ktype); [all...] |
H A D | internal.h | 93 extern void key_type_put(struct key_type *ktype); 173 extern void key_gc_keytype(struct key_type *ktype);
|
/linux-master/drivers/s390/crypto/ |
H A D | pkey_api.c | 703 enum pkey_key_type ktype, enum pkey_key_size ksize, 713 switch (ktype) { 744 if (ktype == PKEY_TYPE_EP11 || 745 ktype == PKEY_TYPE_EP11_AES) { 747 keybuf, keybufsize, ktype); 748 } else if (ktype == PKEY_TYPE_CCA_DATA) { 764 enum pkey_key_type ktype, enum pkey_key_size ksize, 775 switch (ktype) { 808 if (ktype == PKEY_TYPE_EP11 || 809 ktype 702 pkey_genseckey2(const struct pkey_apqn *apqns, size_t nr_apqns, enum pkey_key_type ktype, enum pkey_key_size ksize, u32 kflags, u8 *keybuf, size_t *keybufsize) argument 763 pkey_clr2seckey2(const struct pkey_apqn *apqns, size_t nr_apqns, enum pkey_key_type ktype, enum pkey_key_size ksize, u32 kflags, const u8 *clrkey, u8 *keybuf, size_t *keybufsize) argument 829 pkey_verifykey2(const u8 *key, size_t keylen, u16 *cardnr, u16 *domain, enum pkey_key_type *ktype, enum pkey_key_size *ksize, u32 *flags) argument 1156 pkey_apqns4keytype(enum pkey_key_type ktype, u8 cur_mkvp[32], u8 alt_mkvp[32], u32 flags, struct pkey_apqn *apqns, size_t *nr_apqns) argument [all...] |
/linux-master/fs/sysfs/ |
H A D | file.c | 23 * Determine ktype->sysfs_ops for the given kernfs_node. This function 32 return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; 272 const struct sysfs_ops *sysfs_ops = kobj->ktype->sysfs_ops; 277 /* every kobject with an attribute needs a ktype assigned */ 698 * the default attributes associated with the ktype of @kobj and the default 699 * attributes associated with the ktype of @kobj. 709 const struct kobj_type *ktype; local 719 ktype = get_ktype(kobj); 720 if (ktype) { [all...] |
/linux-master/drivers/firmware/ |
H A D | qemu_fw_cfg.c | 524 if (ko->ktype != dir->kobj.ktype) { 539 subdir->kobj.ktype = dir->kobj.ktype; 568 if (k->ktype == kset->kobj.ktype)
|
/linux-master/fs/ocfs2/cluster/ |
H A D | masklog.c | 153 .kobj = {.ktype = &mlog_ktype},
|
/linux-master/fs/ubifs/ |
H A D | sysfs.c | 88 .kobj = {.ktype = &ubifs_ktype},
|
/linux-master/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-srv-sysfs.c | 24 static struct kobj_type ktype = { variable in typeref:struct:kobj_type 276 err = kobject_init_and_add(&srv_path->kobj, &ktype, srv->kobj_paths,
|
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | mac.c | 471 const u8 ktype, const u8 keyidx, const u8 *keydata, 482 key.type = cpu_to_le16(ktype); 470 carl9170_upload_key(struct ar9170 *ar, const u8 id, const u8 *mac, const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen) argument
|
H A D | main.c | 1165 u8 ktype; local 1194 ktype = AR9170_ENC_ALG_WEP64; 1197 ktype = AR9170_ENC_ALG_WEP128; 1200 ktype = AR9170_ENC_ALG_TKIP; 1203 ktype = AR9170_ENC_ALG_AESCCMP; 1232 ktype, 0, key->key, 1239 NULL, ktype, 1,
|
H A D | carl9170.h | 568 const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen);
|
/linux-master/include/linux/ceph/ |
H A D | decode.h | 174 #define ceph_decode_skip_map(p, end, ktype, vtype, bad) \ 180 ceph_decode_skip_##ktype(p, end, bad); \
|
/linux-master/fs/ceph/ |
H A D | mdsmap.c | 75 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ 80 need = (sizeof(ktype) + sizeof(vtype)) * n; \
|
/linux-master/fs/erofs/ |
H A D | sysfs.c | 193 .kobj = {.ktype = &erofs_ktype},
|
/linux-master/drivers/media/rc/ |
H A D | imon.c | 1530 unsigned char *buf, u8 ktype) 1552 else if (ktype == IMON_KEY_MCE) { 1588 u8 ktype; local 1597 ktype = IMON_KEY_PANEL; 1603 ktype = IMON_KEY_IMON; 1605 ktype = IMON_KEY_MCE; 1608 ktype = IMON_KEY_IMON; 1656 press_type = imon_parse_press_type(ictx, buf, ktype); 1660 if (ktype != IMON_KEY_PANEL) { 1529 imon_parse_press_type(struct imon_context *ictx, unsigned char *buf, u8 ktype) argument
|
/linux-master/fs/nfs/ |
H A D | sysfs.c | 56 nfs_kset->kobj.ktype = &nfs_kset_type;
|
/linux-master/drivers/base/ |
H A D | bus.c | 221 const struct kobj_type *ktype = get_ktype(kobj); local 223 if (ktype == &bus_ktype) 865 bus_kobj->ktype = &bus_ktype;
|
H A D | class.c | 200 cp->subsys.kobj.ktype = &class_ktype;
|