Home
last modified time | relevance | path

Searched refs:oid (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v4.19/drivers/xen/
Dtmem.c80 u64 oid[3]; member
91 static inline int xen_tmem_op(u32 tmem_cmd, u32 tmem_pool, struct tmem_oid oid, in xen_tmem_op() argument
99 op.u.gen.oid[0] = oid.oid[0]; in xen_tmem_op()
100 op.u.gen.oid[1] = oid.oid[1]; in xen_tmem_op()
101 op.u.gen.oid[2] = oid.oid[2]; in xen_tmem_op()
131 static int xen_tmem_put_page(u32 pool_id, struct tmem_oid oid, in xen_tmem_put_page() argument
134 return xen_tmem_op(TMEM_PUT_PAGE, pool_id, oid, index, in xen_tmem_put_page()
138 static int xen_tmem_get_page(u32 pool_id, struct tmem_oid oid, in xen_tmem_get_page() argument
141 return xen_tmem_op(TMEM_GET_PAGE, pool_id, oid, index, in xen_tmem_get_page()
145 static int xen_tmem_flush_page(u32 pool_id, struct tmem_oid oid, u32 index) in xen_tmem_flush_page() argument
[all …]
/Linux-v4.19/fs/cifs/
Dasn1.c419 unsigned char *eoc, unsigned long **oid, unsigned int *len) in asn1_oid_decode() argument
431 *oid = kmalloc_array(size, sizeof(unsigned long), GFP_ATOMIC); in asn1_oid_decode()
432 if (*oid == NULL) in asn1_oid_decode()
435 optr = *oid; in asn1_oid_decode()
438 kfree(*oid); in asn1_oid_decode()
439 *oid = NULL; in asn1_oid_decode()
460 kfree(*oid); in asn1_oid_decode()
461 *oid = NULL; in asn1_oid_decode()
466 kfree(*oid); in asn1_oid_decode()
467 *oid = NULL; in asn1_oid_decode()
[all …]
/Linux-v4.19/include/linux/ceph/
Dosdmap.h113 static inline void ceph_oid_init(struct ceph_object_id *oid) in ceph_oid_init() argument
115 oid->name = oid->inline_name; in ceph_oid_init()
116 oid->name_len = 0; in ceph_oid_init()
119 #define CEPH_OID_INIT_ONSTACK(oid) \ argument
120 ({ ceph_oid_init(&oid); oid; })
121 #define CEPH_DEFINE_OID_ONSTACK(oid) \ argument
122 struct ceph_object_id oid = CEPH_OID_INIT_ONSTACK(oid)
124 static inline bool ceph_oid_empty(const struct ceph_object_id *oid) in ceph_oid_empty() argument
126 return oid->name == oid->inline_name && !oid->name_len; in ceph_oid_empty()
132 void ceph_oid_printf(struct ceph_object_id *oid, const char *fmt, ...);
[all …]
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,
Dosd_client.h298 void *oid; member
490 struct ceph_object_id *oid,
517 struct ceph_object_id *oid,
526 struct ceph_object_id *oid,
533 struct ceph_object_id *oid,
543 struct ceph_object_id *oid,
/Linux-v4.19/lib/
Doid_registry.c32 enum OID oid; in look_up_OID() local
64 oid = oid_search_table[j].oid; in look_up_OID()
65 len = oid_index[oid + 1] - oid_index[oid]; in look_up_OID()
79 unsigned char a = oid_data[oid_index[oid] + --len]; in look_up_OID()
90 return oid; in look_up_OID()
167 int sprint_OID(enum OID oid, char *buffer, size_t bufsize) in sprint_OID() argument
171 BUG_ON(oid >= OID__NR); in sprint_OID()
173 ret = sprint_oid(oid_data + oid_index[oid], in sprint_OID()
174 oid_index[oid + 1] - oid_index[oid], in sprint_OID()
Dbuild_OID_registry55 my $oid = $oids[$i];
57 my @components = split(/[.]/, $oid);
/Linux-v4.19/crypto/asymmetric_keys/
Dmscode_parser.c44 enum OID oid; in mscode_note_content_type() local
46 oid = look_up_OID(value, vlen); in mscode_note_content_type()
47 if (oid == OID__NR) { in mscode_note_content_type()
60 if (oid != OID_msPeImageDataObjId && in mscode_note_content_type()
61 oid != OID_msIndividualSPKeyPurpose) { in mscode_note_content_type()
62 pr_err("Unexpected content type OID %u\n", oid); in mscode_note_content_type()
78 enum OID oid; in mscode_note_digest_algo() local
80 oid = look_up_OID(value, vlen); in mscode_note_digest_algo()
81 switch (oid) { in mscode_note_digest_algo()
110 pr_err("Unsupported content type: %u\n", oid); in mscode_note_digest_algo()
/Linux-v4.19/drivers/net/wireless/intersil/prism54/
Doid_mgt.c48 #define OID_STRUCT(name,oid,s,t) [name] = {oid, 0, sizeof(s), t} argument
49 #define OID_STRUCT_C(name,oid,s,t) OID_STRUCT(name,oid,s,t | OID_FLAG_CACHED) argument
50 #define OID_U32(name,oid) OID_STRUCT(name,oid,u32,OID_TYPE_U32) argument
51 #define OID_U32_C(name,oid) OID_STRUCT_C(name,oid,u32,OID_TYPE_U32) argument
52 #define OID_STRUCT_MLME(name,oid) OID_STRUCT(name,oid,struct obj_mlme,OID_TYPE_MLME) argument
53 #define OID_STRUCT_MLMEEX(name,oid) OID_STRUCT(name,oid,struct obj_mlmeex,OID_TYPE_MLMEEX) argument
55 #define OID_UNKNOWN(name,oid) OID_STRUCT(name,oid,0,0) argument
425 u32 oid; in mgt_set_request() local
437 oid = isl_oid[n].oid + extra; in mgt_set_request()
454 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET, oid, in mgt_set_request()
[all …]
Dislpci_mgt.c70 pimfor_encode_header(int operation, u32 oid, u32 length, pimfor_header_t *h) in pimfor_encode_header() argument
76 h->oid = cpu_to_be32(oid); in pimfor_encode_header()
90 le32_to_cpus(&h->oid); in pimfor_decode_header()
93 be32_to_cpus(&h->oid); in pimfor_decode_header()
96 if (h->oid != OID_INL_TUNNEL) in pimfor_decode_header()
163 islpci_mgt_transmit(struct net_device *ndev, int operation, unsigned long oid, in islpci_mgt_transmit() argument
196 pimfor_encode_header(operation, oid, length, (pimfor_header_t *) p); in islpci_mgt_transmit()
209 h->operation, oid, h->device_id, h->flags, length); in islpci_mgt_transmit()
336 header->operation, header->oid, header->device_id, in islpci_mgt_receive()
375 header->oid, header->device_id, header->flags, in islpci_mgt_receive()
[all …]
Dislpci_mgt.h99 u32 oid; member
128 int operation, unsigned long oid,
Disl_ioctl.c1768 u32 oid = uwrq[0], u = uwrq[1]; in prism54_set_u32() local
1770 return mgt_set_request(netdev_priv(ndev), oid, 0, &u); in prism54_set_u32()
1777 u32 oid = dwrq->flags; in prism54_set_raw() local
1779 return mgt_set_request(netdev_priv(ndev), oid, 0, extra); in prism54_set_raw()
2216 prism54_process_bss_data(islpci_private *priv, u32 oid, u8 *addr, in prism54_process_bss_data() argument
2244 handle_request(islpci_private *priv, struct obj_mlme *mlme, enum oid_num_t oid) in handle_request() argument
2254 mgt_set_request(priv, oid, 0, mlme); in handle_request()
2259 prism54_process_trap_helper(islpci_private *priv, enum oid_num_t oid, in prism54_process_trap_helper() argument
2279 if (oid >= DOT11_OID_BEACON) { in prism54_process_trap_helper()
2285 if ((oid == DOT11_OID_BEACON) || (oid == DOT11_OID_PROBE)) in prism54_process_trap_helper()
[all …]
Doid_mgt.h53 enum oid_num_t mgt_oidtonum(u32 oid);
/Linux-v4.19/net/ceph/
Dcls_lock_client.c23 struct ceph_object_id *oid, in ceph_cls_lock() argument
72 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "lock", in ceph_cls_lock()
89 struct ceph_object_id *oid, in ceph_cls_unlock() argument
120 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "unlock", in ceph_cls_unlock()
138 struct ceph_object_id *oid, in ceph_cls_break_lock() argument
173 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "break_lock", in ceph_cls_break_lock()
184 struct ceph_object_id *oid, in ceph_cls_set_cookie() argument
224 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "set_cookie", in ceph_cls_set_cookie()
325 struct ceph_object_id *oid, in ceph_cls_lock_info() argument
361 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "get_info", in ceph_cls_lock_info()
Dosdmap.c1911 int oid_printf_vargs(struct ceph_object_id *oid, const char *fmt, va_list ap) in oid_printf_vargs() argument
1915 WARN_ON(!ceph_oid_empty(oid)); in oid_printf_vargs()
1917 len = vsnprintf(oid->inline_name, sizeof(oid->inline_name), fmt, ap); in oid_printf_vargs()
1918 if (len >= sizeof(oid->inline_name)) in oid_printf_vargs()
1921 oid->name_len = len; in oid_printf_vargs()
1928 void ceph_oid_printf(struct ceph_object_id *oid, const char *fmt, ...) in ceph_oid_printf() argument
1933 BUG_ON(oid_printf_vargs(oid, fmt, ap)); in ceph_oid_printf()
1939 int oid_aprintf_vargs(struct ceph_object_id *oid, gfp_t gfp, in oid_aprintf_vargs() argument
1946 len = oid_printf_vargs(oid, fmt, aq); in oid_aprintf_vargs()
1956 oid->name = external_name; in oid_aprintf_vargs()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_ioctl.h60 NDIS_OID oid; member
78 int drv_query_info(struct net_device *miniportadaptercontext, NDIS_OID oid,
83 NDIS_OID oid, void *informationbuffer,
/Linux-v4.19/fs/exofs/
Dexofs.h221 struct exofs_sb_info *sbi, osd_id oid) in exofs_init_comps() argument
223 unsigned dev_mod = (unsigned)oid, first_dev; in exofs_init_comps()
226 one_comp->obj.id = oid; in exofs_init_comps()
/Linux-v4.19/drivers/net/usb/
Drndis_host.c240 void *buf, u32 oid, u32 in_len, in rndis_query() argument
257 u.get->oid = cpu_to_le32(oid); in rndis_query()
264 oid, retval); in rndis_query()
284 oid, off, len); in rndis_query()
442 u.set->oid = cpu_to_le32(RNDIS_OID_GEN_CURRENT_PACKET_FILTER); in generic_rndis_bind()
/Linux-v4.19/drivers/net/hyperv/
Drndis_filter.c310 query_req.oid == RNDIS_OID_GEN_MEDIA_CONNECT_STATUS) in rndis_filter_receive_response()
451 u32 oid, void *result, u32 *result_size) in rndis_filter_query_device() argument
472 query->oid = oid; in rndis_filter_query_device()
477 if (oid == OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES) { in rndis_filter_query_device()
503 } else if (oid == OID_GEN_RECEIVE_SCALE_CAPABILITIES) { in rndis_filter_query_device()
616 set->oid = RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER; in rndis_filter_set_device_mac()
689 set->oid = OID_TCP_OFFLOAD_PARAMETERS; in rndis_filter_set_offload_params()
739 set->oid = OID_GEN_RECEIVE_SCALE_PARAMETERS; in rndis_filter_set_rss_param()
839 set->oid = RNDIS_OID_GEN_CURRENT_PACKET_FILTER; in rndis_filter_set_packet_filter()
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dcmd.c417 int lbs_set_snmp_mib(struct lbs_private *priv, u32 oid, u16 val) in lbs_set_snmp_mib() argument
425 cmd.oid = cpu_to_le16((u16) oid); in lbs_set_snmp_mib()
427 switch (oid) { in lbs_set_snmp_mib()
441 lbs_deb_cmd("SNMP_CMD: (set) unhandled OID 0x%x\n", oid); in lbs_set_snmp_mib()
447 le16_to_cpu(cmd.oid), le16_to_cpu(cmd.bufsize), val); in lbs_set_snmp_mib()
464 int lbs_get_snmp_mib(struct lbs_private *priv, u32 oid, u16 *out_val) in lbs_get_snmp_mib() argument
472 cmd.oid = cpu_to_le16(oid); in lbs_get_snmp_mib()
487 oid, le16_to_cpu(cmd.bufsize)); in lbs_get_snmp_mib()
Dcmd.h106 int lbs_set_snmp_mib(struct lbs_private *priv, u32 oid, u16 val);
108 int lbs_get_snmp_mib(struct lbs_private *priv, u32 oid, u16 *out_val);
/Linux-v4.19/include/linux/usb/
Drndis_host.h110 __le32 oid; member
131 __le32 oid; member
/Linux-v4.19/fs/ceph/
Dioctl.c187 CEPH_DEFINE_OID_ONSTACK(oid); in ceph_ioctl_get_dataloc()
213 ceph_oid_printf(&oid, "%s", dl.object_name); in ceph_ioctl_get_dataloc()
215 r = ceph_object_locator_to_pg(osdc->osdmap, &oid, &oloc, &pgid); in ceph_ioctl_get_dataloc()
/Linux-v4.19/include/net/nfc/
Dnci.h188 #define nci_opcode_pack(gid, oid) (__u16)((((__u16)((gid)&0x0f))<<8)|\ argument
189 ((__u16)((oid)&0x3f)))
216 __u8 oid; member
/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_mech_switch.c308 gm = gss_mech_get_by_OID(&info->oid); in gss_mech_info2flavor()
338 memcpy(info->oid.data, gm->gm_oid.data, gm->gm_oid.len); in gss_mech_flavor2info()
339 info->oid.len = gm->gm_oid.len; in gss_mech_flavor2info()

123