Searched refs:name_len (Results 1 – 9 of 9) sorted by relevance
/net/ceph/ |
D | cls_lock_client.c | 29 int name_len = strlen(lock_name); in ceph_cls_lock() local 38 lock_op_buf_size = name_len + sizeof(__le32) + in ceph_cls_lock() 59 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock() 94 int name_len = strlen(lock_name); in ceph_cls_unlock() local 100 unlock_op_buf_size = name_len + sizeof(__le32) + in ceph_cls_unlock() 116 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_unlock() 144 int name_len = strlen(lock_name); in ceph_cls_break_lock() local 150 break_op_buf_size = name_len + sizeof(__le32) + in ceph_cls_break_lock() 167 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_break_lock() 190 int name_len = strlen(lock_name); in ceph_cls_set_cookie() local [all …]
|
D | osdmap.c | 1900 dest->name = kmalloc(src->name_len + 1, in ceph_oid_copy() 1905 memcpy(dest->name, src->name, src->name_len + 1); in ceph_oid_copy() 1906 dest->name_len = src->name_len; in ceph_oid_copy() 1921 oid->name_len = len; in oid_printf_vargs() 1958 oid->name_len = len; in oid_aprintf_vargs() 2229 oid->name_len); in __ceph_object_locator_to_pg() 2236 size_t total = nsl + 1 + oid->name_len; in __ceph_object_locator_to_pg() 2245 memcpy(buf + nsl + 1, oid->name, oid->name_len); in __ceph_object_locator_to_pg()
|
D | debugfs.c | 198 t->target_oid.name_len, t->target_oid.name, t->flags); in dump_target() 200 seq_printf(s, "%*pE\t0x%x", t->target_oid.name_len, in dump_target()
|
D | osd_client.c | 571 msg_size += 4 + req->r_base_oid.name_len; /* oid */ in ceph_osdc_alloc_messages() 590 msg_size += req->r_base_oid.name_len; in ceph_osdc_alloc_messages() 765 op->xattr.name_len = payload_len; in osd_req_op_xattr_init() 888 dst->xattr.name_len = cpu_to_le32(src->xattr.name_len); in osd_req_encode_op() 1725 hoid->oid_len = t->target_oid.name_len; in hoid_fill_from_target() 1784 WARN_ON(op->indata_len != op->xattr.name_len + in setup_request_data() 1900 req->r_t.target_oid.name_len); in encode_request_partial() 1936 req->r_t.target_oid.name, req->r_t.target_oid.name_len); in encode_request_partial()
|
/net/batman-adv/ |
D | bat_algo.c | 123 size_t name_len = strlen(algo_name); in batadv_param_set_ra() local 125 if (name_len > 0 && algo_name[name_len - 1] == '\n') in batadv_param_set_ra() 126 algo_name[name_len - 1] = '\0'; in batadv_param_set_ra()
|
/net/bluetooth/ |
D | hci_request.c | 585 size_t name_len; in create_eir() local 587 name_len = strlen(hdev->dev_name); in create_eir() 589 if (name_len > 0) { in create_eir() 591 if (name_len > 48) { in create_eir() 592 name_len = 48; in create_eir() 598 ptr[0] = name_len + 1; in create_eir() 600 memcpy(ptr + 2, hdev->dev_name, name_len); in create_eir() 602 ptr += (name_len + 2); in create_eir()
|
D | mgmt.c | 873 size_t name_len; in append_eir_data_to_buf() local 883 name_len = strlen(hdev->dev_name); in append_eir_data_to_buf() 885 hdev->dev_name, name_len); in append_eir_data_to_buf() 887 name_len = strlen(hdev->short_name); in append_eir_data_to_buf() 889 hdev->short_name, name_len); in append_eir_data_to_buf() 6855 u32 flags, u8 *name, u8 name_len) in mgmt_device_connected() argument 6875 if (name_len > 0) in mgmt_device_connected() 6877 name, name_len); in mgmt_device_connected() 7525 u8 addr_type, s8 rssi, u8 *name, u8 name_len) in mgmt_remote_name() argument 7540 name_len); in mgmt_remote_name()
|
D | hci_event.c | 1642 bdaddr_t *bdaddr, u8 *name, u8 name_len) in hci_check_pending_name() argument 1655 mgmt_device_connected(hdev, conn, 0, name, name_len); in hci_check_pending_name() 1678 e->data.rssi, name, name_len); in hci_check_pending_name()
|
/net/ |
D | socket.c | 1932 unsigned int name_len; member 2056 used_address->name_len == msg_sys->msg_namelen && in ___sys_sendmsg() 2058 used_address->name_len)) { in ___sys_sendmsg() 2068 used_address->name_len = msg_sys->msg_namelen; in ___sys_sendmsg() 2071 used_address->name_len); in ___sys_sendmsg() 2134 used_address.name_len = UINT_MAX; in __sys_sendmmsg()
|