Home
last modified time | relevance | path

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

12

/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 …]
/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 …]
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 …]
Dislpci_mgt.h99 u32 oid; member
128 int operation, unsigned long oid,
Doid_mgt.h53 enum oid_num_t mgt_oidtonum(u32 oid);
Disl_oid.h487 enum oid_num_t oid; member
/drivers/staging/lustre/lustre/include/
Dlustre_fid.h237 static inline void lu_local_obj_fid(struct lu_fid *fid, __u32 oid) in lu_local_obj_fid() argument
240 fid->f_oid = oid; in lu_local_obj_fid()
244 static inline void lu_local_name_obj_fid(struct lu_fid *fid, __u32 oid) in lu_local_name_obj_fid() argument
247 fid->f_oid = oid; in lu_local_name_obj_fid()
502 static inline int ostid_set_id(struct ost_id *oi, __u64 oid) in ostid_set_id() argument
505 if (oid >= IDIF_MAX_OID) in ostid_set_id()
507 oi->oi.oi_id = oid; in ostid_set_id()
509 if (oid >= IDIF_MAX_OID) in ostid_set_id()
511 oi->oi_fid.f_seq = fid_idif_seq(oid, in ostid_set_id()
513 oi->oi_fid.f_oid = oid; in ostid_set_id()
[all …]
Dllog_swab.h56 void lustre_swab_ost_id(struct ost_id *oid);
/drivers/staging/lustre/include/uapi/linux/lustre/
Dlustre_ostid.h55 static inline void lmm_oi_set_id(struct ost_id *oi, __u64 oid) in lmm_oi_set_id() argument
57 oi->oi.oi_id = oid; in lmm_oi_set_id()
206 __u64 oid = ostid_id(ostid); in ostid_to_fid() local
214 if (oid >= IDIF_MAX_OID) in ostid_to_fid()
217 fid->f_seq = fid_idif_seq(oid, ost_idx); in ostid_to_fid()
219 fid->f_oid = oid; in ostid_to_fid()
221 fid->f_ver = oid >> 48; in ostid_to_fid()
Dlustre_fid.h189 static inline __u64 fid_idif_id(__u64 seq, __u32 oid, __u32 ver) in fid_idif_id() argument
191 return ((__u64)ver << 48) | ((seq & 0xffff) << 32) | oid; in fid_idif_id()
/drivers/staging/rtl8188eu/include/
Drtw_ioctl.h68 NDIS_OID oid; member
86 int drv_query_info(struct net_device *miniportadaptercontext, NDIS_OID oid,
91 NDIS_OID oid, void *informationbuffer,
/drivers/staging/lustre/lustre/obdclass/
Dllog_swab.c66 void lustre_swab_ost_id(struct ost_id *oid) in lustre_swab_ost_id() argument
68 if (fid_seq_is_mdt0(oid->oi.oi_seq)) { in lustre_swab_ost_id()
69 __swab64s(&oid->oi.oi_id); in lustre_swab_ost_id()
70 __swab64s(&oid->oi.oi_seq); in lustre_swab_ost_id()
72 lustre_swab_lu_fid(&oid->oi_fid); in lustre_swab_ost_id()
/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()
/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);
/drivers/net/hyperv/
Drndis_filter.c308 query_req.oid == RNDIS_OID_GEN_MEDIA_CONNECT_STATUS) in rndis_filter_receive_response()
447 u32 oid, void *result, u32 *result_size) in rndis_filter_query_device() argument
468 query->oid = oid; in rndis_filter_query_device()
473 if (oid == OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES) { in rndis_filter_query_device()
499 } else if (oid == OID_GEN_RECEIVE_SCALE_CAPABILITIES) { in rndis_filter_query_device()
612 set->oid = RNDIS_OID_GEN_RNDIS_CONFIG_PARAMETER; in rndis_filter_set_device_mac()
685 set->oid = OID_TCP_OFFLOAD_PARAMETERS; in rndis_filter_set_offload_params()
736 set->oid = OID_GEN_RECEIVE_SCALE_PARAMETERS; in rndis_set_rss_param_msg()
847 set->oid = RNDIS_OID_GEN_CURRENT_PACKET_FILTER; in rndis_filter_set_packet_filter()
Dhyperv_net.h865 u32 oid; member
882 u32 oid; member
1301 u32 oid; member
1311 u32 oid; member
/drivers/net/wireless/
Drndis_wlan.c621 static const char *oid_to_string(u32 oid) in oid_to_string() argument
623 switch (oid) { in oid_to_string()
624 #define OID_STR(oid) case oid: return(#oid) in oid_to_string() argument
677 static const char *oid_to_string(u32 oid) in oid_to_string() argument
706 static int rndis_query_oid(struct usbnet *dev, u32 oid, void *data, int *len) in rndis_query_oid() argument
735 u.get->oid = cpu_to_le32(oid); in rndis_query_oid()
737 priv->current_command_oid = oid; in rndis_query_oid()
742 __func__, oid_to_string(oid), ret, in rndis_query_oid()
753 oid_to_string(oid), respoffs, buflen); in rndis_query_oid()
778 __func__, oid_to_string(oid), in rndis_query_oid()
[all …]
/drivers/staging/rtl8712/
Drtl871x_ioctl.h61 uint oid; member
Drtl871x_mp_ioctl.h335 unsigned int oid; member
/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c177 u16 oid = le16_to_cpu(smib->oid); in mwifiex_ret_802_11_snmp_mib() local
184 oid, query_type, le16_to_cpu(smib->buf_size)); in mwifiex_ret_802_11_snmp_mib()
189 switch (oid) { in mwifiex_ret_802_11_snmp_mib()
/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c1061 u32 oid; in _rtl92e_wx_set_promisc_mode() local
1068 oid = info_buf[0]; in _rtl92e_wx_set_promisc_mode()
1072 if (oid == OID_RT_INTEL_PROMISCUOUS_MODE) { in _rtl92e_wx_set_promisc_mode()
/drivers/block/
Drbd.c3946 struct ceph_object_id *oid, in rbd_obj_method_sync() argument
3984 ret = ceph_osdc_call(osdc, oid, oloc, RBD_DRV_NAME, method_name, in rbd_obj_method_sync()
4187 struct ceph_object_id *oid, in rbd_obj_read_sync() argument
4202 ceph_oid_copy(&req->r_base_oid, oid); in rbd_obj_read_sync()
5178 CEPH_DEFINE_OID_ONSTACK(oid); in rbd_dev_image_name()
5206 ceph_oid_printf(&oid, "%s", RBD_DIRECTORY); in rbd_dev_image_name()
5207 ret = rbd_obj_method_sync(rbd_dev, &oid, &rbd_dev->header_oloc, in rbd_dev_image_name()
5790 CEPH_DEFINE_OID_ONSTACK(oid); in rbd_dev_image_id()
5810 ret = ceph_oid_aprintf(&oid, GFP_KERNEL, "%s%s", RBD_ID_PREFIX, in rbd_dev_image_id()
5815 dout("rbd id object name is %s\n", oid.name); in rbd_dev_image_id()
[all …]
/drivers/scsi/libfc/
Dfc_exch.c1018 ep->oid = ep->did; in fc_exch_resp()
1217 ep->oid = orig_id; in fc_exch_set_addr()
2053 if (ep->oid != sid || oxid != ep->oxid) in fc_exch_els_rec()
2069 if (ep->sid == ep->oid) in fc_exch_els_rec()

12