Home
last modified time | relevance | path

Searched refs:msgdata (Results 1 – 20 of 20) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/
Dlibcfs.h104 #define __CHECK_STACK(msgdata, mask, cdls) \ argument
107 LIBCFS_DEBUG_MSG_DATA_INIT(msgdata, D_WARNING, NULL); \
109 libcfs_debug_msg(msgdata, \
112 (msgdata)->msg_mask = mask; \
113 (msgdata)->msg_cdls = cdls; \
118 #define CFS_CHECK_STACK(msgdata, mask, cdls) __CHECK_STACK(msgdata, mask, cdls) argument
120 #define CFS_CHECK_STACK(msgdata, mask, cdls) do {} while (0) argument
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-debug.c132 void libcfs_run_lbug_upcall(struct libcfs_debug_msg_data *msgdata) in libcfs_run_lbug_upcall() argument
137 snprintf(buf, sizeof(buf), "%d", msgdata->msg_line); in libcfs_run_lbug_upcall()
140 argv[2] = (char *)msgdata->msg_file; in libcfs_run_lbug_upcall()
141 argv[3] = (char *)msgdata->msg_fn; in libcfs_run_lbug_upcall()
149 void lbug_with_loc(struct libcfs_debug_msg_data *msgdata) in lbug_with_loc() argument
152 libcfs_debug_msg(msgdata, "LBUG\n"); in lbug_with_loc()
162 libcfs_run_lbug_upcall(msgdata); in lbug_with_loc()
Dlinux-tracefile.c194 struct libcfs_debug_msg_data *msgdata, in cfs_set_ptldebug_header() argument
201 header->ph_subsys = msgdata->msg_subsys; in cfs_set_ptldebug_header()
202 header->ph_mask = msgdata->msg_mask; in cfs_set_ptldebug_header()
209 header->ph_line_num = msgdata->msg_line; in cfs_set_ptldebug_header()
/linux-4.1.27/drivers/usb/misc/
Dappledisplay.c79 u8 *msgdata; /* control message data buffer */ member
149 pdata->msgdata[0] = 0x10; in appledisplay_bl_update_status()
150 pdata->msgdata[1] = bd->props.brightness; in appledisplay_bl_update_status()
159 pdata->msgdata, 2, in appledisplay_bl_update_status()
179 pdata->msgdata, 2, in appledisplay_bl_get_brightness()
181 brightness = pdata->msgdata[1]; in appledisplay_bl_get_brightness()
253 pdata->msgdata = kmalloc(ACD_MSG_BUFFER_LEN, GFP_KERNEL); in appledisplay_probe()
254 if (!pdata->msgdata) { in appledisplay_probe()
334 kfree(pdata->msgdata); in appledisplay_probe()
352 kfree(pdata->msgdata); in appledisplay_disconnect()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c244 int libcfs_debug_msg(struct libcfs_debug_msg_data *msgdata, in libcfs_debug_msg() argument
251 rc = libcfs_debug_vmsg2(msgdata, format, args, NULL); in libcfs_debug_msg()
258 int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata, in libcfs_debug_vmsg2() argument
275 int mask = msgdata->msg_mask; in libcfs_debug_vmsg2()
276 const char *file = kbasename(msgdata->msg_file); in libcfs_debug_vmsg2()
277 struct cfs_debug_limit_state *cdls = msgdata->msg_cdls; in libcfs_debug_vmsg2()
284 cfs_set_ptldebug_header(&header, msgdata, CDEBUG_STACK()); in libcfs_debug_vmsg2()
300 if (msgdata->msg_fn) in libcfs_debug_vmsg2()
301 known_size += strlen(msgdata->msg_fn) + 1; in libcfs_debug_vmsg2()
359 file, msgdata->msg_line, msgdata->msg_fn); in libcfs_debug_vmsg2()
[all …]
Dtracefile.h324 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_EMERG, NULL); \
326 &msgdata); \
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_debug.h212 static struct libcfs_debug_msg_data msgdata; \
214 CFS_CHECK_STACK(&msgdata, mask, cdls); \
217 LIBCFS_DEBUG_MSG_DATA_INIT(&msgdata, mask, cdls); \
218 libcfs_debug_msg(&msgdata, format, ## __VA_ARGS__); \
245 int libcfs_debug_msg(struct libcfs_debug_msg_data *msgdata,
249 int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
Dlibcfs_private.h90 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_EMERG, NULL); \
91 lbug_with_loc(&msgdata); \
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlovsub_dev.c135 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_ERROR, NULL); in lovsub_device_free()
136 lu_site_print(env, d->ld_site, &msgdata, lu_cdebug_printer); in lovsub_device_free()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h1066 #define ldlm_lock_debug(msgdata, mask, cdls, lock, fmt, a...) do { \ argument
1067 CFS_CHECK_STACK(msgdata, mask, cdls); \
1072 _ldlm_lock_debug(lock, msgdata, fmt, ##a); \
1085 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, &_ldlm_cdls); \
1086 ldlm_lock_debug(&msgdata, mask, &_ldlm_cdls, lock, "### " fmt , ##a);\
1095 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_DLMTRACE, NULL); \
1096 ldlm_lock_debug(&msgdata, D_DLMTRACE, NULL, lock, \
Dlu_object.h791 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
794 lu_object_print(env, &msgdata, lu_cdebug_printer, object);\
804 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
807 lu_object_header_print(env, &msgdata, lu_cdebug_printer,\
809 lu_cdebug_printer(env, &msgdata, "\n"); \
Dlustre_capa.h163 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, level, NULL); \
164 _debug_capa((capa), &msgdata, fmt, ##args); \
Dlustre_net.h1682 #define debug_req(msgdata, mask, cdls, req, fmt, a...) \ argument
1684 CFS_CHECK_STACK(msgdata, mask, cdls); \
1689 _debug_req((req), msgdata, fmt, ##a); \
1700 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, level, &cdls); \
1701 debug_req(&msgdata, level, &cdls, req, "@@@ "fmt" ", ## args);\
1703 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, level, NULL); \
1704 debug_req(&msgdata, level, NULL, req, "@@@ "fmt" ", ## args); \
Dcl_object.h1094 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
1097 cl_page_print(env, &msgdata, lu_cdebug_printer, page); \
1107 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
1110 cl_page_header_print(env, &msgdata, lu_cdebug_printer, page); \
1832 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
1835 cl_lock_print(env, &msgdata, lu_cdebug_printer, lock); \
/linux-4.1.27/drivers/gpu/drm/msm/edp/
Dedp_aux.c47 u8 *msgdata = msg->buffer; in edp_msg_fifo_tx() local
71 reg = (i < 4) ? data[i] : msgdata[i - 4]; in edp_msg_fifo_tx()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcapa.c408 struct libcfs_debug_msg_data *msgdata, in _debug_capa() argument
413 libcfs_debug_vmsg2(msgdata, fmt, args, in _debug_capa()
Dlu_object.c443 struct libcfs_debug_msg_data *msgdata = cookie; in lu_cdebug_printer() local
462 if (cfs_cdebug_show(msgdata->msg_mask, msgdata->msg_subsys)) in lu_cdebug_printer()
463 libcfs_debug_msg(msgdata, "%s", key->lck_area); in lu_cdebug_printer()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c2210 struct libcfs_debug_msg_data *msgdata, in _ldlm_lock_debug() argument
2229 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
2245 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
2265 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
2284 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
2303 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
/linux-4.1.27/drivers/media/common/siano/
Dsmscoreapi.c1587 u32 *msgdata = (u32 *) phdr; in smscore_onresponse() local
1588 coredev->gpio_get_res = msgdata[1]; in smscore_onresponse()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c2375 struct libcfs_debug_msg_data *msgdata, in _debug_req() argument
2394 libcfs_debug_vmsg2(msgdata, fmt, args, in _debug_req()