Home
last modified time | relevance | path

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

/drivers/staging/lustre/include/linux/libcfs/linux/
Dlibcfs.h101 #define __CHECK_STACK(msgdata, mask, cdls) \ argument
104 LIBCFS_DEBUG_MSG_DATA_INIT(msgdata, D_WARNING, NULL); \
106 libcfs_debug_msg(msgdata, \
109 (msgdata)->msg_mask = mask; \
110 (msgdata)->msg_cdls = cdls; \
115 #define CFS_CHECK_STACK(msgdata, mask, cdls) __CHECK_STACK(msgdata, mask, cdls) argument
117 #define CFS_CHECK_STACK(msgdata, mask, cdls) do {} while (0) argument
/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 __noreturn 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.c191 struct libcfs_debug_msg_data *msgdata, in cfs_set_ptldebug_header() argument
198 header->ph_subsys = msgdata->msg_subsys; in cfs_set_ptldebug_header()
199 header->ph_mask = msgdata->msg_mask; in cfs_set_ptldebug_header()
208 header->ph_line_num = msgdata->msg_line; in cfs_set_ptldebug_header()
/drivers/usb/misc/
Dappledisplay.c81 u8 *msgdata; /* control message data buffer */ member
151 pdata->msgdata[0] = 0x10; in appledisplay_bl_update_status()
152 pdata->msgdata[1] = bd->props.brightness; in appledisplay_bl_update_status()
161 pdata->msgdata, 2, in appledisplay_bl_update_status()
184 pdata->msgdata, 2, in appledisplay_bl_get_brightness()
190 brightness = pdata->msgdata[1]; in appledisplay_bl_get_brightness()
263 pdata->msgdata = kmalloc(ACD_MSG_BUFFER_LEN, GFP_KERNEL); in appledisplay_probe()
264 if (!pdata->msgdata) { in appledisplay_probe()
345 kfree(pdata->msgdata); in appledisplay_probe()
363 kfree(pdata->msgdata); in appledisplay_disconnect()
/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c243 int libcfs_debug_msg(struct libcfs_debug_msg_data *msgdata, in libcfs_debug_msg() argument
250 rc = libcfs_debug_vmsg2(msgdata, format, args, NULL); in libcfs_debug_msg()
257 int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata, in libcfs_debug_vmsg2() argument
274 int mask = msgdata->msg_mask; in libcfs_debug_vmsg2()
275 const char *file = kbasename(msgdata->msg_file); in libcfs_debug_vmsg2()
276 struct cfs_debug_limit_state *cdls = msgdata->msg_cdls; in libcfs_debug_vmsg2()
283 cfs_set_ptldebug_header(&header, msgdata, CDEBUG_STACK()); in libcfs_debug_vmsg2()
299 if (msgdata->msg_fn) in libcfs_debug_vmsg2()
300 known_size += strlen(msgdata->msg_fn) + 1; in libcfs_debug_vmsg2()
358 file, msgdata->msg_line, msgdata->msg_fn); in libcfs_debug_vmsg2()
[all …]
Dtracefile.h320 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_EMERG, NULL); \
322 &msgdata); \
/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.h86 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_EMERG, NULL); \
87 lbug_with_loc(&msgdata); \
/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h992 #define ldlm_lock_debug(msgdata, mask, cdls, lock, fmt, a...) do { \ argument
993 CFS_CHECK_STACK(msgdata, mask, cdls); \
998 _ldlm_lock_debug(lock, msgdata, fmt, ##a); \
1011 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, &_ldlm_cdls); \
1012 ldlm_lock_debug(&msgdata, mask, &_ldlm_cdls, lock, "### " fmt, ##a);\
1021 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, D_DLMTRACE, NULL); \
1022 ldlm_lock_debug(&msgdata, D_DLMTRACE, NULL, lock, \
Dlu_object.h783 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
786 lu_object_print(env, &msgdata, lu_cdebug_printer, object);\
796 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
799 lu_object_header_print(env, &msgdata, lu_cdebug_printer,\
801 lu_cdebug_printer(env, &msgdata, "\n"); \
Dlustre_net.h1668 #define debug_req(msgdata, mask, cdls, req, fmt, a...) \ argument
1670 CFS_CHECK_STACK(msgdata, mask, cdls); \
1675 _debug_req((req), msgdata, fmt, ##a); \
1686 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, level, &cdls); \
1687 debug_req(&msgdata, level, &cdls, req, "@@@ "fmt" ", ## args);\
1689 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, level, NULL); \
1690 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); \
1833 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \
1836 cl_lock_print(env, &msgdata, lu_cdebug_printer, lock); \
/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()
/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()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c1898 struct libcfs_debug_msg_data *msgdata, in _ldlm_lock_debug() argument
1917 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
1933 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
1953 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
1972 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
1991 libcfs_debug_vmsg2(msgdata, fmt, args, in _ldlm_lock_debug()
/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c445 struct libcfs_debug_msg_data *msgdata = cookie; in lu_cdebug_printer() local
464 if (cfs_cdebug_show(msgdata->msg_mask, msgdata->msg_subsys)) in lu_cdebug_printer()
465 libcfs_debug_msg(msgdata, "%s", key->lck_area); in lu_cdebug_printer()
/drivers/media/common/siano/
Dsmscoreapi.c1583 u32 *msgdata = (u32 *) phdr; in smscore_onresponse() local
1584 coredev->gpio_get_res = msgdata[1]; in smscore_onresponse()
/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c2167 struct libcfs_debug_msg_data *msgdata, in _debug_req() argument
2186 libcfs_debug_vmsg2(msgdata, fmt, args, in _debug_req()