/linux-4.19.296/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 26 u32 value_len = strlen(value); in test_btrfs_split_item() 95 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 102 strlen(split1)); in test_btrfs_split_item() 103 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 106 (int)strlen(split1), buf, split1); in test_btrfs_split_item() 120 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 127 strlen(split2)); in test_btrfs_split_item() 128 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 152 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 159 strlen(split3)); in test_btrfs_split_item() [all …]
|
/linux-4.19.296/drivers/s390/net/ |
D | smsgiucv_app.c | 33 #define ENV_SENDER_LEN (strlen(ENV_SENDER_STR) + 8 + 1) 35 #define ENV_PREFIX_LEN (strlen(ENV_PREFIX_STR) + \ 36 strlen(SMSG_PREFIX) + 1) 38 #define ENV_TEXT_LEN(msg) (strlen(ENV_TEXT_STR) + strlen((msg)) + 1) 127 if (sender && strlen(sender) > 0 && strcmp(from, sender) != 0) in smsg_app_callback() 131 msg += strlen(SMSG_PREFIX); in smsg_app_callback() 186 int len = strlen(sender); in smsgiucv_app_init()
|
/linux-4.19.296/fs/cifs/ |
D | cifs_spnego.c | 113 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 121 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 133 dp = description + strlen(description); in cifs_get_spnego_key() 143 dp = description + strlen(description); in cifs_get_spnego_key() 155 dp = description + strlen(description); in cifs_get_spnego_key() 159 dp = description + strlen(description); in cifs_get_spnego_key() 164 dp = description + strlen(description); in cifs_get_spnego_key() 168 dp = description + strlen(description); in cifs_get_spnego_key()
|
D | cifs_dfs_ref.c | 78 unclen = strlen(nodename); in cifs_build_devname() 92 pplen = prepath ? strlen(prepath) : 0; in cifs_build_devname() 154 if (strlen(fullpath) - ref->path_consumed) { in cifs_compose_mount_options() 181 md_len = strlen(sb_mountdata) + INET6_ADDRSTRLEN; in cifs_compose_mount_options() 199 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options() 222 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 333 len = strlen(referrals[i].node_name); in cifs_dfs_do_automount()
|
/linux-4.19.296/usr/ |
D | gen_init_cpio.c | 35 unsigned int name_len = strlen(name) + 1; in push_string() 52 unsigned int name_len = strlen(name) + 1; in push_rest() 92 (unsigned)strlen(name)+1, /* namesize */ in cpio_trailer() 119 (unsigned)strlen(target)+1, /* filesize */ in cpio_mkslink() 124 (unsigned)strlen(name) + 1,/* namesize */ in cpio_mkslink() 173 (unsigned)strlen(name) + 1,/* namesize */ in cpio_mkgeneric() 267 (unsigned)strlen(name) + 1,/* namesize */ in cpio_mknod() 342 namesize = strlen(name) + 1; in cpio_mkfile() 422 dname = malloc(strlen(line)); in cpio_mkfile_line() 428 dname_len = strlen(name) + 1; in cpio_mkfile_line() [all …]
|
/linux-4.19.296/include/linux/netfilter/ipset/ |
D | ip_set_comment.h | 27 size_t len = ext->comment ? strlen(ext->comment) : 0; in ip_set_init_comment() 30 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 42 set->ext_size += sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 70 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_comment_free()
|
/linux-4.19.296/fs/ntfs/ |
D | debug.c | 55 flen = strlen(function); in __ntfs_warning() 98 flen = strlen(function); in __ntfs_error() 125 flen = strlen(function); in __ntfs_debug()
|
/linux-4.19.296/drivers/isdn/isdnloop/ |
D | isdnloop.c | 131 if (!strlen(t)) in isdnloop_parse_setup() 137 if (!strlen(t)) in isdnloop_parse_setup() 192 if (!strncmp(status, s->statstr, strlen(s->statstr))) { in isdnloop_parse_status() 240 if (strlen(status) == 4) in isdnloop_parse_status() 472 int len = strlen(s) + ((ch >= 0) ? 3 : 0); in isdnloop_fake() 480 skb_put_data(skb, s, strlen(s)); in isdnloop_fake() 759 return &phone[strlen(phone) - 1]; in isdnloop_vstphone() 794 if (!strncmp(p, s->statstr, strlen(s->statstr))) { in isdnloop_parse_cmd() 898 if (strlen(p) >= sizeof(card->eazlist[0])) in isdnloop_parse_cmd() 1157 i = isdnloop_writecmd(cbuf, strlen(cbuf), 0, card); in isdnloop_command() [all …]
|
/linux-4.19.296/lib/ |
D | string.c | 142 size_t ret = strlen(src); in strlcpy() 354 size_t dsize = strlen(dest); in strlcat() 355 size_t len = strlen(src); in strlcat() 517 size = strlen(s); in strim() 535 size_t strlen(const char *s) in strlen() function 543 EXPORT_SYMBOL(strlen); 980 l2 = strlen(s2); in strstr() 983 l1 = strlen(s1); in strstr() 1006 l2 = strlen(s2); in strnstr()
|
D | globtest.c | 147 p += strlen(p) + 1; in glob_init() 149 p += strlen(p) + 1; in glob_init()
|
D | test-string_helpers.c | 77 int len = strlen(strings[i].in); in test_string_unescape() 86 len = strlen(strings[i].out); in test_string_unescape() 306 len = strlen(s2->in); in test_string_escape() 311 len = strlen(out); in test_string_escape() 345 if (!memcmp(res, exp, strlen(exp) + 1)) in test_string_get_size_check()
|
/linux-4.19.296/fs/orangefs/ |
D | xattr.c | 80 if (strlen(name) >= ORANGEFS_MAX_XATTR_NAMELEN) in orangefs_inode_getxattr() 108 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 173 if (strlen(name) >= ORANGEFS_MAX_XATTR_NAMELEN) in orangefs_inode_removexattr() 188 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr() 237 if (strlen(name) >= ORANGEFS_MAX_XATTR_NAMELEN) in orangefs_inode_setxattr() 269 new_op->upcall.req.setxattr.keyval.key_sz = strlen(name) + 1; in orangefs_inode_setxattr()
|
D | orangefs-debugfs.c | 225 if (strlen(kernel_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_kernel_debug_init() 346 if (strlen(client_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_client_debug_init() 569 for (i = 0; i < strlen(debug_array_string); i++) in orangefs_prepare_cdm_array() 762 len = strlen(debug_string); in debug_mask_to_string() 788 if ((strlen(kernel_debug_string) + in do_k_string() 789 strlen(s_kmod_keyword_mask_map[index].keyword)) in do_k_string() 815 if ((strlen(client_debug_string) + in do_c_string() 816 strlen(cdm_array[index].keyword) + 1) in do_c_string() 913 if (strlen(unchecked_keyword)) { in debug_string_to_mask()
|
/linux-4.19.296/fs/reiserfs/ |
D | dir.c | 164 d_reclen = strlen(d_name); in reiserfs_readdir_inode() 296 put_deh_location(dot, EMPTY_DIR_SIZE_V1 - strlen(".")); in make_empty_dir_item_v1() 306 put_deh_location(dotdot, deh_location(dot) - strlen("..")); in make_empty_dir_item_v1() 330 put_deh_location(dot, EMPTY_DIR_SIZE - ROUND_UP(strlen("."))); in make_empty_dir_item() 340 put_deh_location(dotdot, deh_location(dot) - ROUND_UP(strlen(".."))); in make_empty_dir_item()
|
/linux-4.19.296/drivers/xen/xenbus/ |
D | xenbus_xs.c | 363 iovec.iov_len = strlen(string) + 1; in xs_single() 381 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 392 if (strlen(name) == 0) in join() 416 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split() 491 iovec[0].iov_len = strlen(path) + 1; in xenbus_write() 493 iovec[1].iov_len = strlen(string); in xenbus_write() 663 iov[0].iov_len = strlen(path) + 1; in xs_watch() 665 iov[1].iov_len = strlen(token) + 1; in xs_watch() 676 iov[0].iov_len = strlen(path) + 1; in xs_unwatch() 678 iov[1].iov_len = strlen(token) + 1; in xs_unwatch()
|
/linux-4.19.296/drivers/iio/ |
D | industrialio-sw-trigger.c | 52 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 80 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_unregister_sw_trigger_type() 95 t = __iio_find_sw_trigger_type(name, strlen(name)); in iio_get_sw_trigger_type()
|
D | industrialio-sw-device.c | 52 iter = __iio_find_sw_device_type(d->name, strlen(d->name)); in iio_register_sw_device_type() 76 iter = __iio_find_sw_device_type(dt->name, strlen(dt->name)); in iio_unregister_sw_device_type() 91 dt = __iio_find_sw_device_type(name, strlen(name)); in iio_get_sw_device_type()
|
/linux-4.19.296/drivers/of/ |
D | pdt.c | 40 plen = strlen(dp->parent->full_name); in of_pdt_build_full_name() 41 ourlen = strlen(dp->path_component_name); in of_pdt_build_full_name() 75 buf = prom_early_alloc(strlen(dp->parent->full_name) + in of_pdt_build_full_name() 76 strlen(dp->name) + 16); in of_pdt_build_full_name()
|
/linux-4.19.296/drivers/isdn/hisax/ |
D | elsa_ser.c | 481 modem_write_cmd(cs, MInit_1, strlen(MInit_1)); in modem_set_init() 487 modem_write_cmd(cs, MInit_2, strlen(MInit_2)); in modem_set_init() 493 modem_write_cmd(cs, MInit_3, strlen(MInit_3)); in modem_set_init() 499 modem_write_cmd(cs, MInit_4, strlen(MInit_4)); in modem_set_init() 505 modem_write_cmd(cs, MInit_5, strlen(MInit_5)); in modem_set_init() 511 modem_write_cmd(cs, MInit_6, strlen(MInit_6)); in modem_set_init() 517 modem_write_cmd(cs, MInit_7, strlen(MInit_7)); in modem_set_init() 530 modem_write_cmd(cs, MInit_speed28800, strlen(MInit_speed28800)); in modem_set_dial() 537 modem_write_cmd(cs, MInit_dialout, strlen(MInit_dialout)); in modem_set_dial() 539 modem_write_cmd(cs, MInit_dialin, strlen(MInit_dialin)); in modem_set_dial()
|
/linux-4.19.296/drivers/isdn/i4l/ |
D | isdn_common.c | 1001 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1004 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1007 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1010 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1013 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1016 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1019 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1022 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1025 p = istatbuf + strlen(istatbuf); in isdn_statstr() 1029 p = istatbuf + strlen(istatbuf); in isdn_statstr() [all …]
|
/linux-4.19.296/drivers/isdn/mISDN/ |
D | dsp_hwec.c | 66 len = strlen(arg); in dsp_hwec_enable() 79 if (!strlen(tok)) in dsp_hwec_enable()
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | divasproc.c | 69 if (copy_to_user(buf + len, &tmpbuf, strlen(tmpbuf))) in divas_read() 71 len += strlen(tmpbuf); in divas_read() 83 if ((strlen(tmpbuf) + len) > count) in divas_read() 87 strlen(tmpbuf))) return -EFAULT; in divas_read() 88 len += strlen(tmpbuf); in divas_read()
|
/linux-4.19.296/include/linux/ |
D | string.h | 87 extern __kernel_size_t strlen(const char *); 219 return strncmp(str, prefix, strlen(prefix)) == 0; in strstarts() 255 extern __kernel_size_t __underlying_strlen(const char *p) __RENAME(strlen); 291 __FORTIFY_INLINE __kernel_size_t strlen(const char *p) in strlen() function 325 ret = strlen(q); in strlcpy() 346 p_len = strlen(p); in strncat() 460 memcpy(p, q, strlen(q) + 1); in strcpy()
|
/linux-4.19.296/fs/ |
D | filesystems.c | 80 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem() 165 len = strlen(tmp->name) + 1; in fs_name() 265 int len = dot ? dot - name : strlen(name); in get_fs_type()
|
/linux-4.19.296/fs/openpromfs/ |
D | inode.c | 76 int n = strlen(pval); in property_show() 202 int n = strlen(child->path_component_name); in openpromfs_lookup() 216 int n = strlen(prop->name); in openpromfs_lookup() 297 strlen(child->path_component_name), in openpromfs_readdir() 312 if (!dir_emit(ctx, prop->name, strlen(prop->name), in openpromfs_readdir()
|