Home
last modified time | relevance | path

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

/net/ceph/
Dcls_lock_client.c26 struct ceph_object_id *oid, in ceph_cls_lock() argument
75 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "lock", in ceph_cls_lock()
94 struct ceph_object_id *oid, in ceph_cls_unlock() argument
125 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "unlock", in ceph_cls_unlock()
145 struct ceph_object_id *oid, in ceph_cls_break_lock() argument
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() argument
231 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "set_cookie", in ceph_cls_set_cookie()
335 struct ceph_object_id *oid, in ceph_cls_lock_info() argument
371 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "get_info", in ceph_cls_lock_info()
Dosdmap.c2139 int oid_printf_vargs(struct ceph_object_id *oid, const char *fmt, va_list ap) in oid_printf_vargs() argument
2143 WARN_ON(!ceph_oid_empty(oid)); in oid_printf_vargs()
2145 len = vsnprintf(oid->inline_name, sizeof(oid->inline_name), fmt, ap); in oid_printf_vargs()
2146 if (len >= sizeof(oid->inline_name)) in oid_printf_vargs()
2149 oid->name_len = len; in oid_printf_vargs()
2156 void ceph_oid_printf(struct ceph_object_id *oid, const char *fmt, ...) in ceph_oid_printf() argument
2161 BUG_ON(oid_printf_vargs(oid, fmt, ap)); in ceph_oid_printf()
2167 int oid_aprintf_vargs(struct ceph_object_id *oid, gfp_t gfp, in oid_aprintf_vargs() argument
2174 len = oid_printf_vargs(oid, fmt, aq); in oid_aprintf_vargs()
2184 oid->name = external_name; in oid_aprintf_vargs()
[all …]
Dosd_client.c1695 *pkey = hoid->oid; in hoid_get_effective_key()
1749 ret = compare_names(lhs->oid, lhs->oid_len, rhs->oid, rhs->oid_len); in hoid_compare()
1791 hoid->oid = ceph_extract_encoded_string(p, end, &hoid->oid_len, in decode_hoid()
1793 if (IS_ERR(hoid->oid)) { in decode_hoid()
1794 ret = PTR_ERR(hoid->oid); in decode_hoid()
1795 hoid->oid = NULL; in decode_hoid()
1830 ceph_encode_string(p, end, hoid->oid, hoid->oid_len); in encode_hoid()
1842 kfree(hoid->oid); in free_hoid()
1937 hoid->oid = t->target_oid.name; in hoid_fill_from_target()
2181 void *oloc, *oid, *tail; in encode_request_finish() local
[all …]
Ddebugfs.c316 dump_name_escaped(s, hoid->oid, hoid->oid_len); in dump_hoid()
/net/sunrpc/auth_gss/
Dgss_mech_switch.c262 gm = gss_mech_get_by_OID(&info->oid); in gss_mech_info2flavor()
292 memcpy(info->oid.data, gm->gm_oid.data, gm->gm_oid.len); in gss_mech_flavor2info()
293 info->oid.len = gm->gm_oid.len; in gss_mech_flavor2info()
/net/nfc/nci/
Dcore.c355 int nci_prop_cmd(struct nci_dev *ndev, __u8 oid, size_t len, const __u8 *payload) in nci_prop_cmd() argument
359 param.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY, oid); in nci_prop_cmd()
1379 hdr->oid = nci_opcode_oid(opcode); in nci_send_cmd()