/linux-master/drivers/clk/sunxi-ng/ |
H A D | ccu_mmc_timing.c | 23 struct ccu_common *cm = hw_to_ccu_common(hw); local 27 if (!(cm->features & CCU_FEATURE_MMC_TIMING_SWITCH)) 30 spin_lock_irqsave(cm->lock, flags); 32 val = readl(cm->base + cm->reg); 37 writel(val, cm->base + cm->reg); 39 spin_unlock_irqrestore(cm->lock, flags); 56 struct ccu_common *cm = hw_to_ccu_common(hw); local 58 if (!(cm [all...] |
H A D | ccu_mult.c | 38 struct ccu_mult *cm = data; local 41 _cm.min = cm->mult.min; 43 if (cm->mult.max) 44 _cm.max = cm->mult.max; 46 _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; 55 struct ccu_mult *cm = hw_to_ccu_mult(hw); local 57 return ccu_gate_helper_disable(&cm->common, cm->enable); 62 struct ccu_mult *cm local 69 struct ccu_mult *cm = hw_to_ccu_mult(hw); local 77 struct ccu_mult *cm = hw_to_ccu_mult(hw); local 97 struct ccu_mult *cm = hw_to_ccu_mult(hw); local 106 struct ccu_mult *cm = hw_to_ccu_mult(hw); local 149 struct ccu_mult *cm = hw_to_ccu_mult(hw); local 156 struct ccu_mult *cm = hw_to_ccu_mult(hw); local [all...] |
H A D | ccu_mux.c | 18 struct ccu_mux_internal *cm, 34 parent_index = reg >> cm->shift; 35 parent_index &= (1 << cm->width) - 1; 41 for (i = 0; i < cm->n_predivs; i++) 42 if (parent_index == cm->fixed_predivs[i].index) 43 prediv = cm->fixed_predivs[i].div; 49 for (i = 0; i < cm->n_var_predivs; i++) 50 if (parent_index == cm->var_predivs[i].index) { 53 div = reg >> cm->var_predivs[i].shift; 54 div &= (1 << cm 17 ccu_mux_get_prediv(struct ccu_common *common, struct ccu_mux_internal *cm, int parent_index) argument 62 ccu_mux_helper_apply_prediv(struct ccu_common *common, struct ccu_mux_internal *cm, int parent_index, unsigned long parent_rate) argument 71 ccu_mux_helper_unapply_prediv(struct ccu_common *common, struct ccu_mux_internal *cm, int parent_index, unsigned long parent_rate) argument 79 ccu_mux_helper_determine_rate(struct ccu_common *common, struct ccu_mux_internal *cm, struct clk_rate_request *req, unsigned long (*round)(struct ccu_mux_internal *, struct clk_hw *, unsigned long *, unsigned long, void *), void *data) argument 160 ccu_mux_helper_get_parent(struct ccu_common *common, struct ccu_mux_internal *cm) argument 183 ccu_mux_helper_set_parent(struct ccu_common *common, struct ccu_mux_internal *cm, u8 index) argument 212 struct ccu_mux *cm = hw_to_ccu_mux(hw); local 219 struct ccu_mux *cm = hw_to_ccu_mux(hw); local 226 struct ccu_mux *cm = hw_to_ccu_mux(hw); local 233 struct ccu_mux *cm = hw_to_ccu_mux(hw); local 240 struct ccu_mux *cm = hw_to_ccu_mux(hw); local 248 struct ccu_mux *cm = hw_to_ccu_mux(hw); local 259 struct ccu_mux *cm = hw_to_ccu_mux(hw); local [all...] |
H A D | ccu-sun6i-rtc.c | 59 struct ccu_common *cm = hw_to_ccu_common(hw); local 61 return ccu_gate_helper_enable(cm, DCXO_CTRL_CLK16M_RC_EN); 66 struct ccu_common *cm = hw_to_ccu_common(hw); local 68 return ccu_gate_helper_disable(cm, DCXO_CTRL_CLK16M_RC_EN); 73 struct ccu_common *cm = hw_to_ccu_common(hw); local 75 return ccu_gate_helper_is_enabled(cm, DCXO_CTRL_CLK16M_RC_EN); 81 struct ccu_common *cm = hw_to_ccu_common(hw); local 84 u32 reg = readl(cm->base + IOSC_CLK_CALI_REG); 119 struct ccu_common *cm = hw_to_ccu_common(hw); local 125 val = readl(cm 134 struct ccu_common *cm = hw_to_ccu_common(hw); local 148 struct ccu_common *cm = hw_to_ccu_common(hw); local 167 struct ccu_common *cm = hw_to_ccu_common(hw); local [all...] |
/linux-master/kernel/irq/ |
H A D | matrix.c | 72 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); local 74 cm->managed_map = &cm->alloc_map[matrix_size]; 86 struct cpumap *cm = this_cpu_ptr(m->maps); local 88 BUG_ON(cm->online); 90 if (!cm->initialized) { 91 cm->available = m->alloc_size; 92 cm->available -= cm->managed + m->systembits_inalloc; 93 cm 107 struct cpumap *cm = this_cpu_ptr(m->maps); local 116 matrix_alloc_area(struct irq_matrix *m, struct cpumap *cm, unsigned int num, bool managed) argument 139 struct cpumap *cm; local 160 struct cpumap *cm; local 190 struct cpumap *cm = this_cpu_ptr(m->maps); local 221 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); local 262 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); local 296 struct cpumap *cm; local 330 struct cpumap *cm = this_cpu_ptr(m->maps); local 387 struct cpumap *cm; local 427 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); local 458 struct cpumap *cm = this_cpu_ptr(m->maps); local 482 struct cpumap *cm = this_cpu_ptr(m->maps); local 510 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); local [all...] |
/linux-master/net/sched/ |
H A D | em_canid.c | 53 static void em_canid_sff_match_add(struct canid_match *cm, u32 can_id, argument 67 set_bit(can_id, cm->match_sff); 73 bitmap_fill(cm->match_sff, (1 << CAN_SFF_ID_BITS)); 84 set_bit(i, cm->match_sff); 96 struct canid_match *cm = em_canid_priv(m); local 105 for (i = 0, lp = cm->rules_raw; 106 i < cm->eff_rules_count; i++, lp++) { 114 match = (test_bit(can_id, cm->match_sff) ? 1 : 0); 124 struct canid_match *cm; local 136 cm 185 struct canid_match *cm = em_canid_priv(m); local 192 struct canid_match *cm = em_canid_priv(m); local [all...] |
/linux-master/sound/pci/ |
H A D | cmipci.c | 495 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data) argument 497 outl(data, cm->iobase + cmd); 500 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) argument 502 return inl(cm->iobase + cmd); 506 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) argument 508 outw(data, cm->iobase + cmd); 511 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) argument 513 return inw(cm->iobase + cmd); 517 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) argument 519 outb(data, cm 522 snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) argument 528 snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) argument 539 snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) argument 551 snd_cmipci_set_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) argument 562 snd_cmipci_clear_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) argument 644 snd_cmipci_set_pll(struct cmipci *cm, unsigned int rate, unsigned int slot) argument 665 struct cmipci *cm = snd_pcm_substream_chip(substream); local 679 snd_cmipci_ch_reset(struct cmipci *cm, int ch) argument 708 set_dac_channels(struct cmipci *cm, struct cmipci_pcm *rec, int channels) argument 751 snd_cmipci_pcm_prepare(struct cmipci *cm, struct cmipci_pcm *rec, struct snd_pcm_substream *substream) argument 856 snd_cmipci_pcm_trigger(struct cmipci *cm, struct cmipci_pcm *rec, int cmd) argument 909 snd_cmipci_pcm_pointer(struct cmipci *cm, struct cmipci_pcm *rec, struct snd_pcm_substream *substream) argument 945 struct cmipci *cm = snd_pcm_substream_chip(substream); local 951 struct cmipci *cm = snd_pcm_substream_chip(substream); local 964 struct cmipci *cm = snd_pcm_substream_chip(substream); local 970 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1105 save_mixer_state(struct cmipci *cm) argument 1139 restore_mixer_state(struct cmipci *cm) argument 1172 setup_ac3(struct cmipci *cm, struct snd_pcm_substream *subs, int do_ac3, int rate) argument 1219 setup_spdif_playback(struct cmipci *cm, struct snd_pcm_substream *subs, int up, int do_ac3) argument 1269 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1287 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1308 snd_cmipci_silence_hack(struct cmipci *cm, struct cmipci_pcm *rec) argument 1356 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1365 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1373 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1380 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1402 struct cmipci *cm = snd_pcm_substream_chip(subs); local 1418 struct cmipci *cm = dev_id; local 1584 open_device_check(struct cmipci *cm, int mode, struct snd_pcm_substream *subs) argument 1611 close_device_check(struct cmipci *cm, int mode) argument 1639 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1666 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1691 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1731 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1760 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1784 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1791 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1798 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1806 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1813 struct cmipci *cm = snd_pcm_substream_chip(substream); local 1871 snd_cmipci_pcm_new(struct cmipci *cm, int device) argument 1894 snd_cmipci_pcm2_new(struct cmipci *cm, int device) argument 1916 snd_cmipci_pcm_spdif_new(struct cmipci *cm, int device) argument 2022 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2045 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2104 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2123 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2194 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2218 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2255 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2323 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2356 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2486 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2495 get_line_in_mode(struct cmipci *cm) argument 2512 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2523 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2550 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2562 struct cmipci *cm = snd_kcontrol_chip(kcontrol); local 2637 snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_device) argument 2752 struct cmipci *cm = entry->private_data; local 2767 snd_cmipci_proc_init(struct cmipci *cm) argument 2786 query_chip(struct cmipci *cm) argument 2835 snd_cmipci_create_gameport(struct cmipci *cm, int dev) argument 2881 snd_cmipci_free_gameport(struct cmipci *cm) argument 2891 snd_cmipci_create_gameport(struct cmipci *cm, int dev) argument 2892 snd_cmipci_free_gameport(struct cmipci *cm) argument 2897 struct cmipci *cm = card->private_data; local 2913 snd_cmipci_create_fm(struct cmipci *cm, long fm_port) argument 2971 struct cmipci *cm = card->private_data; local 3286 struct cmipci *cm = card->private_data; local 3305 struct cmipci *cm = card->private_data; local [all...] |
/linux-master/tools/perf/util/ |
H A D | clockid.c | 71 const struct clockid_map *cm; local 97 for (cm = clockids; cm->name; cm++) { 98 if (!strcasecmp(str, cm->name)) { 99 opts->clockid = cm->clockid; 112 const struct clockid_map *cm; local 114 for (cm = clockids; cm->name; cm [all...] |
/linux-master/drivers/power/supply/ |
H A D | charger-manager.c | 93 * @cm: the Charger Manager representing the battery. 95 static bool is_batt_present(struct charger_manager *cm) argument 102 switch (cm->desc->battery_present) { 109 psy = power_supply_get_by_name(cm->desc->psy_fuel_gauge); 120 for (i = 0; cm->desc->psy_charger_stat[i]; i++) { 122 cm->desc->psy_charger_stat[i]); 124 dev_err(cm->dev, "Cannot find power supply \"%s\"\n", 125 cm->desc->psy_charger_stat[i]); 145 * @cm: the Charger Manager representing the battery. 151 static bool is_ext_pwr_online(struct charger_manager *cm) argument 187 get_batt_uV(struct charger_manager *cm, int *uV) argument 211 is_charging(struct charger_manager *cm) argument 280 is_full_charged(struct charger_manager *cm) argument 343 is_polling_required(struct charger_manager *cm) argument 372 try_charger_enable(struct charger_manager *cm, bool enable) argument 452 check_charging_duration(struct charger_manager *cm) argument 484 cm_get_battery_temperature_by_psy(struct charger_manager *cm, int *temp) argument 502 cm_get_battery_temperature(struct charger_manager *cm, int *temp) argument 526 cm_check_thermal_status(struct charger_manager *cm) argument 567 cm_get_target_status(struct charger_manager *cm) argument 605 _cm_monitor(struct charger_manager *cm) argument 630 struct charger_manager *cm; local 651 struct charger_manager *cm; local 715 struct charger_manager *cm = power_supply_get_drvdata(psy); local 862 struct charger_manager *cm; local 973 charger_extcon_init(struct charger_manager *cm, struct charger_cable *cable) argument 1028 charger_manager_register_extcon(struct charger_manager *cm) argument 1110 struct charger_manager *cm = charger->cm; local 1170 charger_manager_prepare_sysfs(struct charger_manager *cm) argument 1230 cm_init_thermal_data(struct charger_manager *cm, struct power_supply *fuel_gauge, enum power_supply_property *properties, size_t *num_properties) argument 1424 struct charger_manager *cm; local 1635 struct charger_manager *cm = platform_get_drvdata(pdev); local 1673 struct charger_manager *cm; local 1710 struct charger_manager *cm = dev_get_drvdata(dev); local [all...] |
/linux-master/tools/testing/vsock/ |
H A D | msg_zerocopy_common.c | 32 struct cmsghdr *cm; local 44 cm = CMSG_FIRSTHDR(&msg); 45 if (!cm) { 50 if (cm->cmsg_level != SOL_VSOCK) { 55 if (cm->cmsg_type != VSOCK_RECVERR) { 60 serr = (void *)CMSG_DATA(cm);
|
/linux-master/drivers/rapidio/ |
H A D | rio_cm.c | 203 struct cm_dev *cm; member in struct:rio_cm_work 226 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, 302 static void *riocm_rx_get_msg(struct cm_dev *cm) argument 307 msg = rio_get_inb_message(cm->mport, cmbox); 310 if (cm->rx_buf[i] == msg) { 311 cm->rx_buf[i] = NULL; 312 cm->rx_slots++; 325 * riocm_rx_fill - fills a ring of receive buffers for given cm device 326 * @cm: cm_dev object 331 static void riocm_rx_fill(struct cm_dev *cm, in argument 356 riocm_rx_free(struct cm_dev *cm) argument 378 riocm_req_handler(struct cm_dev *cm, void *req_data) argument 488 rio_cm_handler(struct cm_dev *cm, void *data) argument 528 rio_rx_data_handler(struct cm_dev *cm, void *buf) argument 584 struct cm_dev *cm = container_of(work, struct cm_dev, rx_work); local 622 struct cm_dev *cm = dev_id; local 637 rio_txcq_handler(struct cm_dev *cm, int slot) argument 699 struct cm_dev *cm = dev_id; local 705 riocm_queue_req(struct cm_dev *cm, struct rio_dev *rdev, void *buffer, size_t len) argument 735 riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, void *buffer, size_t len) argument 944 riocm_ch_connect(u16 loc_ch, struct cm_dev *cm, struct cm_peer *peer, u16 rem_ch) argument 1233 struct cm_dev *cm; local 1536 struct cm_dev *cm; local 1564 struct cm_dev *cm; local 1623 struct cm_dev *cm; local 1783 struct cm_dev *cm; local 1950 struct cm_dev *cm; local 1993 struct cm_dev *cm; local 2100 struct cm_dev *cm; local 2177 struct cm_dev *cm; local [all...] |
/linux-master/drivers/hid/ |
H A D | hid-cmedia.c | 91 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) argument 93 input_report_switch(cm->input_dev, SW_HEADPHONE_INSERT, value); 94 input_sync(cm->input_dev); 100 struct cmhid *cm = hid_get_drvdata(hid); local 108 hp_ev(hid, cm, 0); 112 hp_ev(hid, cm, 1); 124 struct cmhid *cm = hid_get_drvdata(hid); local 127 cm->input_dev = input_dev; 128 memcpy(cm->switch_map, jack_switch_types, sizeof(cm 146 struct cmhid *cm; local 180 struct cmhid *cm = hid_get_drvdata(hid); local [all...] |
/linux-master/drivers/clk/sprd/ |
H A D | mux.c | 41 struct sprd_mux *cm = hw_to_sprd_mux(hw); local 43 return sprd_mux_helper_get_parent(&cm->common, &cm->mux); 66 struct sprd_mux *cm = hw_to_sprd_mux(hw); local 68 return sprd_mux_helper_set_parent(&cm->common, &cm->mux, index);
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 99 priv->cm.rx_wr.wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; 101 for (i = 0; i < priv->cm.num_frags; ++i) 102 priv->cm.rx_sge[i].addr = priv->cm.srq_ring[id].mapping[i]; 104 ret = ib_post_srq_recv(priv->cm.srq, &priv->cm.rx_wr, NULL); 107 ipoib_cm_dma_unmap_rx(priv, priv->cm.num_frags - 1, 108 priv->cm.srq_ring[id].mapping); 109 dev_kfree_skb_any(priv->cm.srq_ring[id].skb); 110 priv->cm [all...] |
/linux-master/sound/soc/intel/avs/ |
H A D | registers.h | 32 #define AVS_ADSPCS_CRST_MASK(cm) (cm) 33 #define AVS_ADSPCS_CSTALL_MASK(cm) ((cm) << 8) 34 #define AVS_ADSPCS_SPA_MASK(cm) ((cm) << 16) 35 #define AVS_ADSPCS_CPA_MASK(cm) ((cm) << 24)
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | Makefile | 4 mlx4_ib-y := ah.o cq.o doorbell.o mad.o main.o mr.o qp.o srq.o mcg.o cm.o alias_GUID.o sysfs.o
|
/linux-master/arch/arm/mach-dove/ |
H A D | Makefile | 7 obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dsc/ |
H A D | rc_calc_fpu.c | 34 (cm == CM_444 || cm == CM_RGB) ? (val444) : (cm == CM_422 ? (val422) : (val420)) 64 static void get_qp_set(qp_set qps, enum colour_mode cm, enum bits_per_comp bpc, argument 166 enum colour_mode cm, 189 rc->rc_quant_incr_limit0 = ((bpc == BPC_8) ? 11 : (bpc == BPC_10 ? 15 : 19)) - ((minor_version == 1 && cm == CM_444) ? 1 : 0); 190 rc->rc_quant_incr_limit1 = ((bpc == BPC_8) ? 11 : (bpc == BPC_10 ? 15 : 19)) - ((minor_version == 1 && cm == CM_444) ? 1 : 0); 194 switch (cm) { 208 rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)(((3 * bpc + (cm == CM_444 ? 0 : 2)) * 3) - (3 * bpp_group))); 213 initial_xmit_delay_factor = (cm 165 _do_calc_rc_params(struct rc_params *rc, enum colour_mode cm, enum bits_per_comp bpc, u16 drm_bpp, bool is_navite_422_or_420, int slice_width, int slice_height, int minor_version) argument [all...] |
/linux-master/drivers/media/usb/pwc/ |
H A D | pwc-dec23.c | 352 const unsigned char *cm = pwc_crop_table+MAX_OUTER_CROP_VALUE; local 356 *d++ = cm[c[0] >> scalebits]; 357 *d++ = cm[c[1] >> scalebits]; 358 *d++ = cm[c[2] >> scalebits]; 359 *d++ = cm[c[3] >> scalebits]; 362 *d++ = cm[c[4] >> scalebits]; 363 *d++ = cm[c[5] >> scalebits]; 364 *d++ = cm[c[6] >> scalebits]; 365 *d++ = cm[c[7] >> scalebits]; 368 *d++ = cm[ 407 const unsigned char *cm = pwc_crop_table+MAX_OUTER_CROP_VALUE; local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | ipv6_flowlabel.c | 75 struct cmsghdr *cm; local 77 cm = (void *)control; 78 cm->cmsg_len = CMSG_LEN(sizeof(flowlabel)); 79 cm->cmsg_level = SOL_IPV6; 80 cm->cmsg_type = IPV6_FLOWINFO; 81 *(uint32_t *)CMSG_DATA(cm) = htonl(flowlabel); 103 struct cmsghdr *cm; local 130 cm = CMSG_FIRSTHDR(&msg); 132 if (!cm) 134 if (CMSG_NXTHDR(&msg, cm)) [all...] |
H A D | tcp_inq.c | 103 struct cmsghdr *cm; local 166 for (cm = CMSG_FIRSTHDR(&msg); cm; cm = CMSG_NXTHDR(&msg, cm)) 167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) 168 inq = *((int *) CMSG_DATA(cm));
|
/linux-master/arch/arm/mach-versatile/ |
H A D | integrator.c | 28 #include "integrator-cm.h" 72 struct device_node *cm = of_find_matching_node(NULL, cm_match); local 74 if (!cm) { 78 cm_base = of_iomap(cm, 0);
|
/linux-master/net/netfilter/ |
H A D | xt_limit.c | 159 const struct compat_xt_rateinfo *cm = src; local 161 .avg = cm->avg, 162 .burst = cm->burst, 163 .prev = cm->prev | (unsigned long)cm->master << 32, 164 .credit = cm->credit, 165 .credit_cap = cm->credit_cap, 166 .cost = cm->cost, 174 struct compat_xt_rateinfo cm = { local 183 return copy_to_user(dst, &cm, sizeo [all...] |
/linux-master/fs/dlm/ |
H A D | config.c | 296 int comm_seq; /* copy of cm->seq when nd->nodeid is set */ 511 struct dlm_comm *cm; local 513 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); 514 if (!cm) 517 config_item_init_type_name(&cm->item, name, &comm_type); 519 cm->seq = dlm_comm_count++; 520 if (!cm->seq) 521 cm->seq = dlm_comm_count++; 523 cm->nodeid = -1; 524 cm 532 struct dlm_comm *cm = config_item_to_comm(i); local 543 struct dlm_comm *cm = config_item_to_comm(i); local 638 struct dlm_comm *cm = config_item_to_comm(item); local 651 struct dlm_comm *cm = config_item_to_comm(item); local 679 struct dlm_comm *cm = config_item_to_comm(item); local 834 struct dlm_comm *cm = NULL; local 858 put_comm(struct dlm_comm *cm) argument 913 struct dlm_comm *cm = get_comm(nodeid); local [all...] |
/linux-master/net/core/ |
H A D | scm.c | 242 struct cmsghdr __user *cm = msg->msg_control_user; local 244 check_object_size(data, cmlen - sizeof(*cm), true); 246 if (!user_write_access_begin(cm, cmlen)) 249 unsafe_put_user(cmlen, &cm->cmsg_len, efault_end); 250 unsafe_put_user(level, &cm->cmsg_level, efault_end); 251 unsafe_put_user(type, &cm->cmsg_type, efault_end); 252 unsafe_copy_to_user(CMSG_USER_DATA(cm), data, 253 cmlen - sizeof(*cm), efault_end); 256 struct cmsghdr *cm = msg->msg_control; local 258 cm 316 struct cmsghdr __user *cm = local [all...] |