• Home
  • Raw
  • Download

Lines Matching refs:cb_arg

3027 	struct efct_hw_link_stat_cb_arg *cb_arg = arg;  in efct_hw_cb_link_stat()  local
3083 if (cb_arg) { in efct_hw_cb_link_stat()
3084 if (cb_arg->cb) { in efct_hw_cb_link_stat()
3087 cb_arg->cb(status, num_counters, counts, cb_arg->arg); in efct_hw_cb_link_stat()
3090 kfree(cb_arg); in efct_hw_cb_link_stat()
3105 struct efct_hw_link_stat_cb_arg *cb_arg; in efct_hw_get_link_stats() local
3108 cb_arg = kzalloc(sizeof(*cb_arg), GFP_ATOMIC); in efct_hw_get_link_stats()
3109 if (!cb_arg) in efct_hw_get_link_stats()
3112 cb_arg->cb = cb; in efct_hw_get_link_stats()
3113 cb_arg->arg = arg; in efct_hw_get_link_stats()
3119 efct_hw_cb_link_stat, cb_arg); in efct_hw_get_link_stats()
3122 kfree(cb_arg); in efct_hw_get_link_stats()
3132 struct efct_hw_host_stat_cb_arg *cb_arg = arg; in efct_hw_cb_host_stat() local
3168 if (cb_arg) { in efct_hw_cb_host_stat()
3169 if (cb_arg->cb) { in efct_hw_cb_host_stat()
3172 cb_arg->cb(status, num_counters, counts, cb_arg->arg); in efct_hw_cb_host_stat()
3175 kfree(cb_arg); in efct_hw_cb_host_stat()
3189 struct efct_hw_host_stat_cb_arg *cb_arg; in efct_hw_get_host_stats() local
3192 cb_arg = kmalloc(sizeof(*cb_arg), GFP_ATOMIC); in efct_hw_get_host_stats()
3193 if (!cb_arg) in efct_hw_get_host_stats()
3196 cb_arg->cb = cb; in efct_hw_get_host_stats()
3197 cb_arg->arg = arg; in efct_hw_get_host_stats()
3202 efct_hw_cb_host_stat, cb_arg); in efct_hw_get_host_stats()
3206 kfree(cb_arg); in efct_hw_get_host_stats()
3272 struct efct_hw_fw_wr_cb_arg *cb_arg = arg; in efct_hw_cb_fw_write() local
3284 if (cb_arg) { in efct_hw_cb_fw_write()
3285 if (cb_arg->cb) { in efct_hw_cb_fw_write()
3288 cb_arg->cb(status, bytes_written, change_status, in efct_hw_cb_fw_write()
3289 cb_arg->arg); in efct_hw_cb_fw_write()
3292 kfree(cb_arg); in efct_hw_cb_fw_write()
3307 struct efct_hw_fw_wr_cb_arg *cb_arg; in efct_hw_firmware_write() local
3310 cb_arg = kzalloc(sizeof(*cb_arg), GFP_KERNEL); in efct_hw_firmware_write()
3311 if (!cb_arg) in efct_hw_firmware_write()
3314 cb_arg->cb = cb; in efct_hw_firmware_write()
3315 cb_arg->arg = arg; in efct_hw_firmware_write()
3322 efct_hw_cb_fw_write, cb_arg); in efct_hw_firmware_write()
3326 kfree(cb_arg); in efct_hw_firmware_write()