Home
last modified time | relevance | path

Searched refs:str_size (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/md/
Ddm-log-userspace-base.c118 int i, str_size; in build_constructor_string() local
123 for (i = 0, str_size = 0; i < argc; i++) in build_constructor_string()
124 str_size += strlen(argv[i]) + 1; /* +1 for space between args */ in build_constructor_string()
126 str_size += 20; /* Max number of chars in a printed u64 number */ in build_constructor_string()
128 str = kzalloc(str_size, GFP_KERNEL); in build_constructor_string()
134 str_size = sprintf(str, "%llu", (unsigned long long)ti->len); in build_constructor_string()
136 str_size += sprintf(str + str_size, " %s", argv[i]); in build_constructor_string()
139 return str_size; in build_constructor_string()
159 int str_size; in userspace_ctr() local
192 str_size = build_constructor_string(ti, argc - 1, argv + 1, &ctr_str); in userspace_ctr()
[all …]
/linux-2.6.39/net/tipc/
Dbearer.h87 char *str_buf, int str_size);
156 char *str_buf, int str_size),
Deth_media.c253 static char *eth_addr2str(struct tipc_media_addr *a, char *str_buf, int str_size) in eth_addr2str() argument
257 if (str_size < 18) in eth_addr2str()
Dbearer.c95 char *str_buf, int str_size), in tipc_register_media() argument
/linux-2.6.39/drivers/gpu/vga/
Dvgaarb.c93 static int vga_str_to_iostate(char *buf, int str_size, int *io_state) in vga_str_to_iostate() argument