/linux-2.6.39/security/selinux/ |
D | xfrm.c | 204 u32 str_len; in selinux_xfrm_sec_ctx_alloc() local 214 str_len = uctx->ctx_len; in selinux_xfrm_sec_ctx_alloc() 215 if (str_len >= PAGE_SIZE) in selinux_xfrm_sec_ctx_alloc() 219 str_len + 1, in selinux_xfrm_sec_ctx_alloc() 226 ctx->ctx_len = str_len; in selinux_xfrm_sec_ctx_alloc() 231 str_len); in selinux_xfrm_sec_ctx_alloc() 232 ctx->ctx_str[str_len] = 0; in selinux_xfrm_sec_ctx_alloc() 234 str_len, in selinux_xfrm_sec_ctx_alloc() 252 rc = security_sid_to_context(sid, &ctx_str, &str_len); in selinux_xfrm_sec_ctx_alloc() 257 str_len, in selinux_xfrm_sec_ctx_alloc() [all …]
|
/linux-2.6.39/net/tipc/ |
D | log.c | 334 int str_len; in tipc_log_dump() local 336 str_len = min(TIPC_LOG->size, 32768u); in tipc_log_dump() 338 reply = tipc_cfg_reply_alloc(TLV_SPACE(str_len)); in tipc_log_dump() 341 tipc_printbuf_init(&pb, TLV_DATA(rep_tlv), str_len); in tipc_log_dump() 345 str_len = strlen(TLV_DATA(rep_tlv)) + 1; in tipc_log_dump() 346 skb_put(reply, TLV_SPACE(str_len)); in tipc_log_dump() 347 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_log_dump()
|
D | config.c | 114 int str_len; in tipc_show_stats() local 135 str_len = tipc_printbuf_validate(&pb); in tipc_show_stats() 136 skb_put(buf, TLV_SPACE(str_len)); in tipc_show_stats() 137 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_show_stats()
|
D | name_table.c | 984 int str_len; in tipc_nametbl_get() local 1000 str_len = tipc_printbuf_validate(&b); in tipc_nametbl_get() 1002 skb_put(buf, TLV_SPACE(str_len)); in tipc_nametbl_get() 1003 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_nametbl_get()
|
D | port.c | 619 int str_len; in tipc_port_get_ports() local 634 str_len = tipc_printbuf_validate(&pb); in tipc_port_get_ports() 636 skb_put(buf, TLV_SPACE(str_len)); in tipc_port_get_ports() 637 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_port_get_ports()
|
D | link.c | 2910 int str_len; in tipc_link_cmd_show_stats() local 2921 str_len = tipc_link_stats((char *)TLV_DATA(req_tlv_area), in tipc_link_cmd_show_stats() 2923 if (!str_len) { in tipc_link_cmd_show_stats() 2928 skb_put(buf, TLV_SPACE(str_len)); in tipc_link_cmd_show_stats() 2929 TLV_SET(rep_tlv, TIPC_TLV_ULTRA_STRING, NULL, str_len); in tipc_link_cmd_show_stats()
|
/linux-2.6.39/lib/ |
D | parser.c | 60 size_t str_len = strlen(s); in match_one() local 62 if (str_len == 0) in match_one() 64 if (len == -1 || len > str_len) in match_one() 65 len = str_len; in match_one()
|
/linux-2.6.39/drivers/staging/tidspbridge/dynload/ |
D | tramp.c | 131 u32 str_len, char *str) in priv_tramp_string_create() argument 142 + str_len + in priv_tramp_string_create() 147 for (i = 0; i < (sizeof(struct tramp_string) + str_len + 1); in priv_tramp_string_create() 155 dlthis->tramp.tramp_string_size += str_len + 1; in priv_tramp_string_create() 166 for (i = 0; i < str_len; i++) in priv_tramp_string_create() 184 u32 str_len = strlen(str); in priv_tramp_string_find() local 190 if (str_len != strlen(cur_str->str)) in priv_tramp_string_find() 194 for (i = 0; i < str_len; i++) { in priv_tramp_string_find() 202 if (i == str_len) in priv_tramp_string_find()
|
/linux-2.6.39/drivers/s390/char/ |
D | sclp_rw.c | 139 int str_len, mto_size; in sclp_finalize_mto() local 141 str_len = buffer->current_length; in sclp_finalize_mto() 146 mto_size = sizeof(struct mto) + str_len; in sclp_finalize_mto() 169 buffer->mto_char_sum += str_len; in sclp_finalize_mto()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/ |
D | dhd_common.c | 939 int str_len; in dhd_pktfilter_offload_enable() local 963 str_len = strlen(str); in dhd_pktfilter_offload_enable() 964 strncpy(buf, str, str_len); in dhd_pktfilter_offload_enable() 965 buf[str_len] = '\0'; in dhd_pktfilter_offload_enable() 966 buf_len = str_len + 1; in dhd_pktfilter_offload_enable() 968 pkt_filterp = (wl_pkt_filter_enable_t *) (buf + str_len + 1); in dhd_pktfilter_offload_enable() 1008 int str_len; in dhd_pktfilter_offload_set() local 1050 str_len = strlen(str); in dhd_pktfilter_offload_set() 1051 strncpy(buf, str, str_len); in dhd_pktfilter_offload_set() 1052 buf[str_len] = '\0'; in dhd_pktfilter_offload_set() [all …]
|
D | wl_cfg80211.c | 3640 s32 str_len; in wl_dongle_filter() local 3648 str_len = strlen(str); in wl_dongle_filter() 3649 strncpy(buf, str, str_len); in wl_dongle_filter() 3650 buf[str_len] = '\0'; in wl_dongle_filter() 3651 buf_len = str_len + 1; in wl_dongle_filter() 3653 pkt_filterp = (struct wl_pkt_filter *)(buf + str_len + 1); in wl_dongle_filter()
|
/linux-2.6.39/arch/powerpc/platforms/iseries/ |
D | dt.c | 123 unsigned long str_len; in dt_init() local 125 str_len = __dt_strings_end - __dt_strings_start; in dt_init() 131 + ALIGN(str_len, 8); in dt_init() 133 dt->header.dt_strings_size = str_len; in dt_init() 139 str_len); in dt_init()
|
/linux-2.6.39/drivers/platform/x86/ |
D | acerhdf.c | 530 unsigned long str_len = 0, start_len = 0; in str_starts_with() local 532 str_len = strlen(str); in str_starts_with() 535 if (str_len >= start_len && in str_starts_with()
|
/linux-2.6.39/kernel/trace/ |
D | trace_events_filter.c | 225 int str_len = str_item >> 16; in filter_pred_strloc() local 229 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc()
|