Home
last modified time | relevance | path

Searched refs:oid (Results 1 - 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/lib/
H A Doid_registry.c29 enum OID oid; in look_up_OID() local
61 oid = oid_search_table[j].oid; in look_up_OID()
62 len = oid_index[oid + 1] - oid_index[oid]; in look_up_OID()
76 unsigned char a = oid_data[oid_index[oid] + --len]; in look_up_OID()
87 return oid; in look_up_OID()
100 * @oid: Pointer to oid to return result
103 * ASN1_OID | length | oid
106 parse_OID(const void *data, size_t datasize, enum OID *oid) parse_OID() argument
187 sprint_OID(enum OID oid, char *buffer, size_t bufsize) sprint_OID() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Doid_registry.c29 enum OID oid; in look_up_OID() local
61 oid = oid_search_table[j].oid; in look_up_OID()
62 len = oid_index[oid + 1] - oid_index[oid]; in look_up_OID()
76 unsigned char a = oid_data[oid_index[oid] + --len]; in look_up_OID()
87 return oid; in look_up_OID()
100 * @oid: Pointer to oid to return result
103 * ASN1_OID | length | oid
106 parse_OID(const void *data, size_t datasize, enum OID *oid) parse_OID() argument
186 sprint_OID(enum OID oid, char *buffer, size_t bufsize) sprint_OID() argument
[all...]
H A Dasn1_encoder.c89 static int asn1_encode_oid_digit(unsigned char **_data, int *data_len, u32 oid) in asn1_encode_oid_digit() argument
99 if (oid == 0) { in asn1_encode_oid_digit()
105 while (oid >> start == 0) in asn1_encode_oid_digit()
111 byte = oid >> start; in asn1_encode_oid_digit()
112 oid = oid - (byte << start); in asn1_encode_oid_digit()
120 *data++ = oid; in asn1_encode_oid_digit()
132 * asn1_encode_oid() - encode an oid to ASN.1
135 * @oid: array of oids
136 * @oid_len: length of oid arra
141 asn1_encode_oid(unsigned char *data, const unsigned char *end_data, u32 oid[], int oid_len) asn1_encode_oid() argument
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dasn1.c408 unsigned char *eoc, unsigned long **oid, unsigned int *len) in asn1_oid_decode()
420 *oid = kmalloc_array(size, sizeof(unsigned long), GFP_ATOMIC); in asn1_oid_decode()
421 if (*oid == NULL) in asn1_oid_decode()
424 optr = *oid; in asn1_oid_decode()
427 kfree(*oid); in asn1_oid_decode()
428 *oid = NULL; in asn1_oid_decode()
449 kfree(*oid); in asn1_oid_decode()
450 *oid = NULL; in asn1_oid_decode()
455 kfree(*oid); in asn1_oid_decode()
456 *oid in asn1_oid_decode()
407 asn1_oid_decode(struct asn1_ctx *ctx, unsigned char *eoc, unsigned long **oid, unsigned int *len) asn1_oid_decode() argument
489 unsigned long *oid = NULL; decode_negTokenInit() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dasn1.c25 enum OID oid; in cifs_gssapi_this_mech() local
27 oid = look_up_OID(value, vlen); in cifs_gssapi_this_mech()
28 if (oid != OID_spnego) { in cifs_gssapi_this_mech()
44 enum OID oid; in cifs_neg_token_init_mech_type() local
46 oid = look_up_OID(value, vlen); in cifs_neg_token_init_mech_type()
47 if (oid == OID_mskrb5) in cifs_neg_token_init_mech_type()
49 else if (oid == OID_krb5u2u) in cifs_neg_token_init_mech_type()
51 else if (oid == OID_krb5) in cifs_neg_token_init_mech_type()
53 else if (oid == OID_ntlmssp) in cifs_neg_token_init_mech_type()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dmscode_parser.c40 enum OID oid; in mscode_note_content_type() local
42 oid = look_up_OID(value, vlen); in mscode_note_content_type()
43 if (oid == OID__NR) { in mscode_note_content_type()
56 if (oid != OID_msPeImageDataObjId && in mscode_note_content_type()
57 oid != OID_msIndividualSPKeyPurpose) { in mscode_note_content_type()
58 pr_err("Unexpected content type OID %u\n", oid); in mscode_note_content_type()
74 enum OID oid; in mscode_note_digest_algo() local
76 oid = look_up_OID(value, vlen); in mscode_note_digest_algo()
77 switch (oid) { in mscode_note_digest_algo()
106 pr_err("Unsupported content type: %u\n", oid); in mscode_note_digest_algo()
[all...]
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dmscode_parser.c40 enum OID oid; in mscode_note_content_type() local
42 oid = look_up_OID(value, vlen); in mscode_note_content_type()
43 if (oid == OID__NR) { in mscode_note_content_type()
56 if (oid != OID_msPeImageDataObjId && in mscode_note_content_type()
57 oid != OID_msIndividualSPKeyPurpose) { in mscode_note_content_type()
58 pr_err("Unexpected content type OID %u\n", oid); in mscode_note_content_type()
74 enum OID oid; in mscode_note_digest_algo() local
76 oid = look_up_OID(value, vlen); in mscode_note_digest_algo()
77 switch (oid) { in mscode_note_digest_algo()
106 pr_err("Unsupported content type: %u\n", oid); in mscode_note_digest_algo()
[all...]
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dosdmap.h116 #define __CEPH_OID_INITIALIZER(oid) { .name = (oid).inline_name }
118 #define CEPH_DEFINE_OID_ONSTACK(oid) \
119 struct ceph_object_id oid = __CEPH_OID_INITIALIZER(oid)
121 static inline void ceph_oid_init(struct ceph_object_id *oid) in ceph_oid_init() argument
123 *oid = (struct ceph_object_id) __CEPH_OID_INITIALIZER(*oid); in ceph_oid_init()
126 static inline bool ceph_oid_empty(const struct ceph_object_id *oid) in ceph_oid_empty() argument
128 return oid in ceph_oid_empty()
[all...]
H A Dcls_lock_client.h28 struct ceph_object_id *oid,
33 struct ceph_object_id *oid,
37 struct ceph_object_id *oid,
42 struct ceph_object_id *oid,
50 struct ceph_object_id *oid,
H A Dosd_client.h313 void *oid; member
514 struct ceph_object_id *oid,
535 struct ceph_object_id *oid,
544 struct ceph_object_id *oid,
551 struct ceph_object_id *oid,
561 struct ceph_object_id *oid,
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dosdmap.h116 #define __CEPH_OID_INITIALIZER(oid) { .name = (oid).inline_name }
118 #define CEPH_DEFINE_OID_ONSTACK(oid) \
119 struct ceph_object_id oid = __CEPH_OID_INITIALIZER(oid)
121 static inline void ceph_oid_init(struct ceph_object_id *oid) in ceph_oid_init() argument
123 *oid = (struct ceph_object_id) __CEPH_OID_INITIALIZER(*oid); in ceph_oid_init()
126 static inline bool ceph_oid_empty(const struct ceph_object_id *oid) in ceph_oid_empty() argument
128 return oid in ceph_oid_empty()
[all...]
H A Dcls_lock_client.h28 struct ceph_object_id *oid,
33 struct ceph_object_id *oid,
37 struct ceph_object_id *oid,
42 struct ceph_object_id *oid,
50 struct ceph_object_id *oid,
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
H A Doid_mgt.c36 #define OID_STRUCT(name,oid,s,t) [name] = {oid, 0, sizeof(s), t}
37 #define OID_STRUCT_C(name,oid,s,t) OID_STRUCT(name,oid,s,t | OID_FLAG_CACHED)
38 #define OID_U32(name,oid) OID_STRUCT(name,oid,u32,OID_TYPE_U32)
39 #define OID_U32_C(name,oid) OID_STRUCT_C(name,oid,u32,OID_TYPE_U32)
40 #define OID_STRUCT_MLME(name,oid) OID_STRUCT(name,oid,struc
413 u32 oid; mgt_set_request() local
474 u32 oid; mgt_set_varlen() local
513 u32 oid; mgt_get_request() local
589 u32 oid = t->oid; mgt_commit_list() local
765 mgt_oidtonum(u32 oid) mgt_oidtonum() argument
[all...]
H A Dislpci_mgt.c58 pimfor_encode_header(int operation, u32 oid, u32 length, pimfor_header_t *h) in pimfor_encode_header() argument
64 h->oid = cpu_to_be32(oid); in pimfor_encode_header()
78 le32_to_cpus(&h->oid); in pimfor_decode_header()
81 be32_to_cpus(&h->oid); in pimfor_decode_header()
84 if (h->oid != OID_INL_TUNNEL) in pimfor_decode_header()
145 * Create and transmit a management frame using "operation" and "oid",
152 islpci_mgt_transmit(struct net_device *ndev, int operation, unsigned long oid, in islpci_mgt_transmit() argument
185 pimfor_encode_header(operation, oid, length, (pimfor_header_t *) p); in islpci_mgt_transmit()
197 "PIMFOR: op %i, oid in islpci_mgt_transmit()
431 islpci_mgt_transaction(struct net_device *ndev, int operation, unsigned long oid, void *senddata, int sendlen, struct islpci_mgmtframe **recvframe) islpci_mgt_transaction() argument
[all...]
H A Dislpci_mgt.h87 u32 oid; member
116 int operation, unsigned long oid,
/kernel/linux/linux-6.6/fs/smb/server/
H A Dasn1.c119 /* insert oid */ in build_spnego_ntlmssp_neg_blob()
165 enum OID oid; in ksmbd_gssapi_this_mech() local
167 oid = look_up_OID(value, vlen); in ksmbd_gssapi_this_mech()
168 if (oid != OID_spnego) { in ksmbd_gssapi_this_mech()
184 enum OID oid; in ksmbd_neg_token_init_mech_type() local
187 oid = look_up_OID(value, vlen); in ksmbd_neg_token_init_mech_type()
188 if (oid == OID_ntlmssp) { in ksmbd_neg_token_init_mech_type()
190 } else if (oid == OID_mskrb5) { in ksmbd_neg_token_init_mech_type()
192 } else if (oid == OID_krb5) { in ksmbd_neg_token_init_mech_type()
194 } else if (oid in ksmbd_neg_token_init_mech_type()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dasn1_encoder.h11 #define asn1_oid_len(oid) (sizeof(oid)/sizeof(u32))
17 u32 oid[], int oid_len);
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
H A Drtw_ioctl.h58 NDIS_OID oid; member
76 int drv_query_info(struct net_device *miniportadaptercontext, NDIS_OID oid,
81 NDIS_OID oid, void *informationbuffer,
/kernel/linux/linux-5.10/net/ceph/
H A Dcls_lock_client.c13 * @oid, @oloc: object to lock
24 struct ceph_object_id *oid, in ceph_cls_lock()
73 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "lock", in ceph_cls_lock()
85 * @oid, @oloc: object to lock
90 struct ceph_object_id *oid, in ceph_cls_unlock()
121 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "unlock", in ceph_cls_unlock()
133 * @oid, @oloc: object to lock
139 struct ceph_object_id *oid, in ceph_cls_break_lock()
174 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "break_lock", in ceph_cls_break_lock()
185 struct ceph_object_id *oid, in ceph_cls_set_cookie()
23 ceph_cls_lock(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 type, char *cookie, char *tag, char *desc, u8 flags) ceph_cls_lock() argument
89 ceph_cls_unlock(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, char *cookie) ceph_cls_unlock() argument
138 ceph_cls_break_lock(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, char *cookie, struct ceph_entity_name *locker) ceph_cls_break_lock() argument
184 ceph_cls_set_cookie(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 type, char *old_cookie, char *tag, char *new_cookie) ceph_cls_set_cookie() argument
328 ceph_cls_lock_info(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 *type, char **tag, struct ceph_locker **lockers, u32 *num_lockers) ceph_cls_lock_info() argument
[all...]
H A Dosdmap.c2120 int oid_printf_vargs(struct ceph_object_id *oid, const char *fmt, va_list ap) in oid_printf_vargs() argument
2124 WARN_ON(!ceph_oid_empty(oid)); in oid_printf_vargs()
2126 len = vsnprintf(oid->inline_name, sizeof(oid->inline_name), fmt, ap); in oid_printf_vargs()
2127 if (len >= sizeof(oid->inline_name)) in oid_printf_vargs()
2130 oid->name_len = len; in oid_printf_vargs()
2135 * If oid doesn't fit into inline buffer, BUG.
2137 void ceph_oid_printf(struct ceph_object_id *oid, const char *fmt, ...) in ceph_oid_printf() argument
2142 BUG_ON(oid_printf_vargs(oid, fmt, ap)); in ceph_oid_printf()
2148 int oid_aprintf_vargs(struct ceph_object_id *oid, gfp_ argument
2176 ceph_oid_aprintf(struct ceph_object_id *oid, gfp_t gfp, const char *fmt, ...) ceph_oid_aprintf() argument
2190 ceph_oid_destroy(struct ceph_object_id *oid) ceph_oid_destroy() argument
2358 __ceph_object_locator_to_pg(struct ceph_pg_pool_info *pi, const struct ceph_object_id *oid, const struct ceph_object_locator *oloc, struct ceph_pg *raw_pgid) __ceph_object_locator_to_pg() argument
2392 ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, const struct ceph_object_id *oid, const struct ceph_object_locator *oloc, struct ceph_pg *raw_pgid) ceph_object_locator_to_pg() argument
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A Dcls_lock_client.c14 * @oid: object to lock
26 struct ceph_object_id *oid, in ceph_cls_lock()
75 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "lock", in ceph_cls_lock()
88 * @oid: object to lock
94 struct ceph_object_id *oid, in ceph_cls_unlock()
125 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "unlock", in ceph_cls_unlock()
138 * @oid: object to lock
145 struct ceph_object_id *oid, in ceph_cls_break_lock()
180 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "break_lock", in ceph_cls_break_lock()
191 struct ceph_object_id *oid, in ceph_cls_set_cookie()
25 ceph_cls_lock(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 type, char *cookie, char *tag, char *desc, u8 flags) ceph_cls_lock() argument
93 ceph_cls_unlock(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, char *cookie) ceph_cls_unlock() argument
144 ceph_cls_break_lock(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, char *cookie, struct ceph_entity_name *locker) ceph_cls_break_lock() argument
190 ceph_cls_set_cookie(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 type, char *old_cookie, char *tag, char *new_cookie) ceph_cls_set_cookie() argument
334 ceph_cls_lock_info(struct ceph_osd_client *osdc, struct ceph_object_id *oid, struct ceph_object_locator *oloc, char *lock_name, u8 *type, char **tag, struct ceph_locker **lockers, u32 *num_lockers) ceph_cls_lock_info() argument
[all...]
H A Dosdmap.c2155 int oid_printf_vargs(struct ceph_object_id *oid, const char *fmt, va_list ap) in oid_printf_vargs() argument
2159 WARN_ON(!ceph_oid_empty(oid)); in oid_printf_vargs()
2161 len = vsnprintf(oid->inline_name, sizeof(oid->inline_name), fmt, ap); in oid_printf_vargs()
2162 if (len >= sizeof(oid->inline_name)) in oid_printf_vargs()
2165 oid->name_len = len; in oid_printf_vargs()
2170 * If oid doesn't fit into inline buffer, BUG.
2172 void ceph_oid_printf(struct ceph_object_id *oid, const char *fmt, ...) in ceph_oid_printf() argument
2177 BUG_ON(oid_printf_vargs(oid, fmt, ap)); in ceph_oid_printf()
2183 int oid_aprintf_vargs(struct ceph_object_id *oid, gfp_ argument
2211 ceph_oid_aprintf(struct ceph_object_id *oid, gfp_t gfp, const char *fmt, ...) ceph_oid_aprintf() argument
2225 ceph_oid_destroy(struct ceph_object_id *oid) ceph_oid_destroy() argument
2393 __ceph_object_locator_to_pg(struct ceph_pg_pool_info *pi, const struct ceph_object_id *oid, const struct ceph_object_locator *oloc, struct ceph_pg *raw_pgid) __ceph_object_locator_to_pg() argument
2427 ceph_object_locator_to_pg(struct ceph_osdmap *osdmap, const struct ceph_object_id *oid, const struct ceph_object_locator *oloc, struct ceph_pg *raw_pgid) ceph_object_locator_to_pg() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtlv320aic32x4-spi.c35 const struct of_device_id *oid; in aic32x4_spi_probe() local
37 oid = of_match_node(aic32x4_of_id, spi->dev.of_node); in aic32x4_spi_probe()
38 dev_set_drvdata(&spi->dev, (void *)oid->data); in aic32x4_spi_probe()
H A Dtlv320aic32x4-i2c.c34 const struct of_device_id *oid; in aic32x4_i2c_probe() local
36 oid = of_match_node(aic32x4_of_id, i2c->dev.of_node); in aic32x4_i2c_probe()
37 dev_set_drvdata(&i2c->dev, (void *)oid->data); in aic32x4_i2c_probe()
/kernel/linux/linux-5.10/include/trace/events/
H A Drpcgss.h642 const char *oid
645 TP_ARGS(oid),
648 __string(oid, oid)
652 __assign_str(oid, oid);
655 TP_printk("mech for oid %s was not found", __get_str(oid))

Completed in 22 milliseconds

12345