Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 9 of 9) sorted by relevance

/net/ceph/
Dcls_lock_client.c32 int name_len = strlen(lock_name); in ceph_cls_lock() local
41 lock_op_buf_size = name_len + sizeof(__le32) + in ceph_cls_lock()
62 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock()
99 int name_len = strlen(lock_name); in ceph_cls_unlock() local
105 unlock_op_buf_size = name_len + sizeof(__le32) + in ceph_cls_unlock()
121 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_unlock()
151 int name_len = strlen(lock_name); in ceph_cls_break_lock() local
157 break_op_buf_size = name_len + sizeof(__le32) + in ceph_cls_break_lock()
174 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_break_lock()
197 int name_len = strlen(lock_name); in ceph_cls_set_cookie() local
[all …]
Dosdmap.c163 static struct crush_name_node *alloc_crush_name(size_t name_len) in alloc_crush_name() argument
167 cn = kmalloc(sizeof(*cn) + name_len + 1, GFP_NOIO); in alloc_crush_name()
192 u32 name_len; in DEFINE_RB_FUNCS() local
195 ceph_decode_32_safe(p, end, name_len, e_inval); in DEFINE_RB_FUNCS()
196 ceph_decode_need(p, end, name_len, e_inval); in DEFINE_RB_FUNCS()
198 cn = alloc_crush_name(name_len); in DEFINE_RB_FUNCS()
203 memcpy(cn->cn_name, *p, name_len); in DEFINE_RB_FUNCS()
204 cn->cn_name[name_len] = '\0'; in DEFINE_RB_FUNCS()
205 *p += name_len; in DEFINE_RB_FUNCS()
2144 dest->name = kmalloc(src->name_len + 1, in ceph_oid_copy()
[all …]
Ddebugfs.c200 t->target_oid.name_len, t->target_oid.name, t->flags); in dump_target()
202 seq_printf(s, "%*pE\t0x%x", t->target_oid.name_len, in dump_target()
Dosd_client.c626 msg_size += 4 + req->r_base_oid.name_len; /* oid */ in __ceph_osdc_alloc_messages()
647 msg_size += req->r_base_oid.name_len; in __ceph_osdc_alloc_messages()
884 op->xattr.name_len = payload_len; in osd_req_op_xattr_init()
1035 dst->xattr.name_len = cpu_to_le32(src->xattr.name_len); in osd_req_encode_op()
2018 hoid->oid_len = t->target_oid.name_len; in hoid_fill_from_target()
2079 WARN_ON(op->indata_len != op->xattr.name_len + in setup_request_data()
2199 req->r_t.target_oid.name_len); in encode_request_partial()
2235 req->r_t.target_oid.name, req->r_t.target_oid.name_len); in encode_request_partial()
5373 ceph_encode_string(&p, end, src_oid->name, src_oid->name_len); in osd_req_op_copy_from_init()
/net/bluetooth/
Deir.c178 size_t name_len; in eir_create() local
180 name_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); in eir_create()
182 if (name_len > 0) { in eir_create()
184 if (name_len > 48) { in eir_create()
185 name_len = 48; in eir_create()
192 ptr[0] = name_len + 1; in eir_create()
194 memcpy(ptr + 2, hdev->dev_name, name_len); in eir_create()
196 ptr += (name_len + 2); in eir_create()
Dmgmt.c1170 size_t name_len; in append_eir_data_to_buf() local
1180 name_len = strnlen(hdev->dev_name, sizeof(hdev->dev_name)); in append_eir_data_to_buf()
1182 hdev->dev_name, name_len); in append_eir_data_to_buf()
1184 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in append_eir_data_to_buf()
1186 hdev->short_name, name_len); in append_eir_data_to_buf()
9591 u8 *name, u8 name_len) in mgmt_device_connected() argument
9607 sizeof(*ev) + (name ? eir_precalc_len(name_len) : 0) + in mgmt_device_connected()
9628 eir_len += eir_skb_put_data(skb, EIR_NAME_COMPLETE, name, name_len); in mgmt_device_connected()
10377 u8 addr_type, s8 rssi, u8 *name, u8 name_len) in mgmt_remote_name() argument
10385 sizeof(*ev) + (name ? eir_precalc_len(name_len) : 0)); in mgmt_remote_name()
[all …]
Dhci_event.c2462 bdaddr_t *bdaddr, u8 *name, u8 name_len) in hci_check_pending_name() argument
2473 mgmt_device_connected(hdev, conn, name, name_len); in hci_check_pending_name()
2496 name, name_len); in hci_check_pending_name()
/net/batman-adv/
Dbat_algo.c122 size_t name_len = strlen(algo_name); in batadv_param_set_ra() local
124 if (name_len > 0 && algo_name[name_len - 1] == '\n') in batadv_param_set_ra()
125 algo_name[name_len - 1] = '\0'; in batadv_param_set_ra()
/net/
Dsocket.c2436 unsigned int name_len; member
2557 used_address->name_len == msg_sys->msg_namelen && in ____sys_sendmsg()
2559 used_address->name_len)) { in ____sys_sendmsg()
2569 used_address->name_len = msg_sys->msg_namelen; in ____sys_sendmsg()
2572 used_address->name_len); in ____sys_sendmsg()
2685 used_address.name_len = UINT_MAX; in __sys_sendmmsg()