Searched refs:id (Results 76 - 100 of 15202) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/udev/extras/volume_id/lib/
H A Dvolume_id.c116 * @id: Probing context.
124 int volume_id_get_label(struct volume_id *id, const char **label) argument
126 if (id == NULL)
130 if (id->usage_id == VOLUME_ID_UNUSED)
133 *label = id->label;
139 * @id: Probing context.
148 int volume_id_get_label_raw(struct volume_id *id, const uint8_t **label, size_t *len) argument
150 if (id == NULL)
156 if (id->usage_id == VOLUME_ID_UNUSED)
159 *label = id
173 volume_id_get_uuid(struct volume_id *id, const char **uuid) argument
197 volume_id_get_uuid_raw(struct volume_id *id, const uint8_t **uuid, size_t *len) argument
222 volume_id_get_usage(struct volume_id *id, const char **usage) argument
244 volume_id_get_type(struct volume_id *id, const char **type) argument
266 volume_id_get_type_version(struct volume_id *id, const char **type_version) argument
343 volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size) argument
374 volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size) argument
405 volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size) argument
430 volume_id_all_probers(all_probers_fn_t all_probers_fn, struct volume_id *id, uint64_t off, uint64_t size, void *data) argument
460 struct volume_id *id; local
474 struct volume_id *id; local
499 volume_id_close(struct volume_id *id) argument
[all...]
H A Dlinux_swap.c40 int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off, uint64_t size) argument
50 buf = volume_id_get_buffer(id, off + page-10, 10);
55 strcpy(id->type_version, "1");
60 id->type = "swap";
61 strcpy(id->type_version, "2");
66 id->type = "suspend";
67 strcpy(id->type_version, "s1suspend");
72 id->type = "suspend";
73 strcpy(id->type_version, "ulsuspend");
80 sw = (struct swap_header_v1_2 *) volume_id_get_buffer(id, of
[all...]
H A Dutil.c210 void volume_id_set_usage(struct volume_id *id, enum volume_id_usage usage_id) argument
212 id->usage_id = usage_id;
213 id->usage = usage_to_string(usage_id);
216 void volume_id_set_label_raw(struct volume_id *id, const uint8_t *buf, size_t count) argument
218 if (count > sizeof(id->label))
219 count = sizeof(id->label);
221 memcpy(id->label_raw, buf, count);
222 id->label_raw_len = count;
225 void volume_id_set_label_string(struct volume_id *id, const uint8_t *buf, size_t count) argument
229 if (count >= sizeof(id
244 volume_id_set_label_unicode16(struct volume_id *id, const uint8_t *buf, enum endian endianess, size_t count) argument
252 volume_id_set_uuid(struct volume_id *id, const uint8_t *buf, size_t len, enum uuid_format format) argument
338 volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len) argument
414 volume_id_free_buffer(struct volume_id *id) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/udev/extras/volume_id/lib/
H A Dvolume_id.c116 * @id: Probing context.
124 int volume_id_get_label(struct volume_id *id, const char **label) argument
126 if (id == NULL)
130 if (id->usage_id == VOLUME_ID_UNUSED)
133 *label = id->label;
139 * @id: Probing context.
148 int volume_id_get_label_raw(struct volume_id *id, const uint8_t **label, size_t *len) argument
150 if (id == NULL)
156 if (id->usage_id == VOLUME_ID_UNUSED)
159 *label = id
173 volume_id_get_uuid(struct volume_id *id, const char **uuid) argument
197 volume_id_get_uuid_raw(struct volume_id *id, const uint8_t **uuid, size_t *len) argument
222 volume_id_get_usage(struct volume_id *id, const char **usage) argument
244 volume_id_get_type(struct volume_id *id, const char **type) argument
266 volume_id_get_type_version(struct volume_id *id, const char **type_version) argument
343 volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size) argument
374 volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size) argument
405 volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size) argument
430 volume_id_all_probers(all_probers_fn_t all_probers_fn, struct volume_id *id, uint64_t off, uint64_t size, void *data) argument
460 struct volume_id *id; local
474 struct volume_id *id; local
499 volume_id_close(struct volume_id *id) argument
[all...]
H A Dlinux_swap.c40 int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off, uint64_t size) argument
50 buf = volume_id_get_buffer(id, off + page-10, 10);
55 strcpy(id->type_version, "1");
60 id->type = "swap";
61 strcpy(id->type_version, "2");
66 id->type = "suspend";
67 strcpy(id->type_version, "s1suspend");
72 id->type = "suspend";
73 strcpy(id->type_version, "ulsuspend");
80 sw = (struct swap_header_v1_2 *) volume_id_get_buffer(id, of
[all...]
H A Dutil.c210 void volume_id_set_usage(struct volume_id *id, enum volume_id_usage usage_id) argument
212 id->usage_id = usage_id;
213 id->usage = usage_to_string(usage_id);
216 void volume_id_set_label_raw(struct volume_id *id, const uint8_t *buf, size_t count) argument
218 if (count > sizeof(id->label))
219 count = sizeof(id->label);
221 memcpy(id->label_raw, buf, count);
222 id->label_raw_len = count;
225 void volume_id_set_label_string(struct volume_id *id, const uint8_t *buf, size_t count) argument
229 if (count >= sizeof(id
244 volume_id_set_label_unicode16(struct volume_id *id, const uint8_t *buf, enum endian endianess, size_t count) argument
252 volume_id_set_uuid(struct volume_id *id, const uint8_t *buf, size_t len, enum uuid_format format) argument
338 volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len) argument
414 volume_id_free_buffer(struct volume_id *id) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/udev/extras/volume_id/lib/
H A Dvolume_id.c116 * @id: Probing context.
124 int volume_id_get_label(struct volume_id *id, const char **label) argument
126 if (id == NULL)
130 if (id->usage_id == VOLUME_ID_UNUSED)
133 *label = id->label;
139 * @id: Probing context.
148 int volume_id_get_label_raw(struct volume_id *id, const uint8_t **label, size_t *len) argument
150 if (id == NULL)
156 if (id->usage_id == VOLUME_ID_UNUSED)
159 *label = id
173 volume_id_get_uuid(struct volume_id *id, const char **uuid) argument
197 volume_id_get_uuid_raw(struct volume_id *id, const uint8_t **uuid, size_t *len) argument
222 volume_id_get_usage(struct volume_id *id, const char **usage) argument
244 volume_id_get_type(struct volume_id *id, const char **type) argument
266 volume_id_get_type_version(struct volume_id *id, const char **type_version) argument
343 volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size) argument
374 volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size) argument
405 volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size) argument
430 volume_id_all_probers(all_probers_fn_t all_probers_fn, struct volume_id *id, uint64_t off, uint64_t size, void *data) argument
460 struct volume_id *id; local
474 struct volume_id *id; local
499 volume_id_close(struct volume_id *id) argument
[all...]
H A Dlinux_swap.c40 int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off, uint64_t size) argument
50 buf = volume_id_get_buffer(id, off + page-10, 10);
55 strcpy(id->type_version, "1");
60 id->type = "swap";
61 strcpy(id->type_version, "2");
66 id->type = "suspend";
67 strcpy(id->type_version, "s1suspend");
72 id->type = "suspend";
73 strcpy(id->type_version, "ulsuspend");
80 sw = (struct swap_header_v1_2 *) volume_id_get_buffer(id, of
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/usb/
H A Dinput.h17 usb_to_input_id(const struct usb_device *dev, struct input_id *id) argument
19 id->bustype = BUS_USB;
20 id->vendor = le16_to_cpu(dev->descriptor.idVendor);
21 id->product = le16_to_cpu(dev->descriptor.idProduct);
22 id->version = le16_to_cpu(dev->descriptor.bcdDevice);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/usb/
H A Dinput.h17 usb_to_input_id(const struct usb_device *dev, struct input_id *id) argument
19 id->bustype = BUS_USB;
20 id->vendor = le16_to_cpu(dev->descriptor.idVendor);
21 id->product = le16_to_cpu(dev->descriptor.idProduct);
22 id->version = le16_to_cpu(dev->descriptor.bcdDevice);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/i2c/busses/
H A Di2c-sh7760.c114 struct cami2c *id = ptr; local
115 struct i2c_msg *msg = id->msg;
119 msr = IN32(id, I2CMSR);
120 fsr = IN32(id, I2CFSR);
124 OUT32(id, I2CMCR, 0);
125 OUT32(id, I2CSCR, 0);
126 OUT32(id, I2CSAR, 0);
127 id->status |= IDS_DONE | IDS_ARBLOST;
139 OUT32(id, I2CFCR, FCR_RFRST | FCR_TFRST);
140 OUT32(id, I2CMC
240 sh7760_i2c_mrecv(struct cami2c *id) argument
266 sh7760_i2c_msend(struct cami2c *id) argument
298 sh7760_i2c_busy_check(struct cami2c *id) argument
307 struct cami2c *id = adap->algo_data; local
436 struct cami2c *id; local
540 struct cami2c *id = platform_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/i2c/busses/
H A Di2c-sh7760.c114 struct cami2c *id = ptr; local
115 struct i2c_msg *msg = id->msg;
119 msr = IN32(id, I2CMSR);
120 fsr = IN32(id, I2CFSR);
124 OUT32(id, I2CMCR, 0);
125 OUT32(id, I2CSCR, 0);
126 OUT32(id, I2CSAR, 0);
127 id->status |= IDS_DONE | IDS_ARBLOST;
139 OUT32(id, I2CFCR, FCR_RFRST | FCR_TFRST);
140 OUT32(id, I2CMC
240 sh7760_i2c_mrecv(struct cami2c *id) argument
266 sh7760_i2c_msend(struct cami2c *id) argument
298 sh7760_i2c_busy_check(struct cami2c *id) argument
307 struct cami2c *id = adap->algo_data; local
436 struct cami2c *id; local
540 struct cami2c *id = platform_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openvpn/src/openvpn/
H A Dsession_id.h28 * For efficiency, the session id is only transmitted over the control
43 uint8_t id[8]; member in struct:session_id
48 #define SID_SIZE (sizeof (x_session_id_zero.id))
54 return !memcmp (sid1->id, sid2->id, SID_SIZE);
60 return memcmp (sid1->id, &x_session_id_zero.id, SID_SIZE) != 0;
66 return buf_read (buf, sid->id, SID_SIZE);
72 return buf_write_prepend (buf, sid->id, SID_SIZE);
78 return buf_write (buf, sid->id, SID_SIZ
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sctp/
H A Ddebug.c145 const char *sctp_pname(const sctp_subtype_t id) argument
147 if (id.primitive <= SCTP_EVENT_PRIMITIVE_MAX)
148 return sctp_primitive_tbl[id.primitive];
158 const char *sctp_oname(const sctp_subtype_t id) argument
160 if (id.other <= SCTP_EVENT_OTHER_MAX)
161 return sctp_other_tbl[id.other];
179 const char *sctp_tname(const sctp_subtype_t id) argument
181 if (id.timeout <= SCTP_EVENT_TIMEOUT_MAX)
182 return sctp_timer_tbl[id.timeout];
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/util-linux/volume_id/
H A Dunused_lvm.c24 uint8_t id[2]; member in struct:lvm1_super_block
28 uint8_t id[8]; member in struct:lvm2_super_block
37 int FAST_FUNC volume_id_probe_lvm1(struct volume_id *id, uint64_t off) argument
43 lvm = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800);
47 if (lvm->id[0] != 'H' || lvm->id[1] != 'M')
50 // volume_id_set_usage(id, VOLUME_ID_RAID);
51 // id->type = "LVM1_member";
59 int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off) argument
67 buf = volume_id_get_buffer(id, of
[all...]
H A Dvolume_id.c48 typedef int FAST_FUNC (*raid_probe_fptr)(struct volume_id *id, /*uint64_t off,*/ uint64_t size);
49 typedef int FAST_FUNC (*probe_fptr)(struct volume_id *id /*, uint64_t off*/);
155 int FAST_FUNC volume_id_probe_all(struct volume_id *id, /*uint64_t off,*/ uint64_t size) argument
162 if (raid1[i](id, /*off,*/ size) == 0)
164 if (id->error)
170 if (raid2[i](id /*,off*/) == 0)
172 if (id->error)
177 volume_id_get_buffer(id, 0, SB_BUFFER_SIZE);
180 if (fs[i](id /*,off*/) == 0)
182 if (id
195 struct volume_id *id; local
208 struct volume_id *id; local
226 free_volume_id(struct volume_id *id) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/sctp/
H A Ddebug.c145 const char *sctp_pname(const sctp_subtype_t id) argument
147 if (id.primitive <= SCTP_EVENT_PRIMITIVE_MAX)
148 return sctp_primitive_tbl[id.primitive];
158 const char *sctp_oname(const sctp_subtype_t id) argument
160 if (id.other <= SCTP_EVENT_OTHER_MAX)
161 return sctp_other_tbl[id.other];
179 const char *sctp_tname(const sctp_subtype_t id) argument
181 if (id.timeout <= SCTP_EVENT_TIMEOUT_MAX)
182 return sctp_timer_tbl[id.timeout];
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/util-linux/volume_id/
H A Dunused_lvm.c24 uint8_t id[2]; member in struct:lvm1_super_block
28 uint8_t id[8]; member in struct:lvm2_super_block
37 int FAST_FUNC volume_id_probe_lvm1(struct volume_id *id, uint64_t off) argument
43 lvm = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800);
47 if (lvm->id[0] != 'H' || lvm->id[1] != 'M')
50 // volume_id_set_usage(id, VOLUME_ID_RAID);
51 // id->type = "LVM1_member";
59 int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off) argument
67 buf = volume_id_get_buffer(id, of
[all...]
H A Dvolume_id.c48 typedef int FAST_FUNC (*raid_probe_fptr)(struct volume_id *id, /*uint64_t off,*/ uint64_t size);
49 typedef int FAST_FUNC (*probe_fptr)(struct volume_id *id /*, uint64_t off*/);
155 int FAST_FUNC volume_id_probe_all(struct volume_id *id, /*uint64_t off,*/ uint64_t size) argument
162 if (raid1[i](id, /*off,*/ size) == 0)
164 if (id->error)
170 if (raid2[i](id /*,off*/) == 0)
172 if (id->error)
177 volume_id_get_buffer(id, 0, SB_BUFFER_SIZE);
180 if (fs[i](id /*,off*/) == 0)
182 if (id
195 struct volume_id *id; local
208 struct volume_id *id; local
226 free_volume_id(struct volume_id *id) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openvpn/src/openvpn/
H A Dsession_id.h28 * For efficiency, the session id is only transmitted over the control
43 uint8_t id[8]; member in struct:session_id
48 #define SID_SIZE (sizeof (x_session_id_zero.id))
54 return !memcmp (sid1->id, sid2->id, SID_SIZE);
60 return memcmp (sid1->id, &x_session_id_zero.id, SID_SIZE) != 0;
66 return buf_read (buf, sid->id, SID_SIZE);
72 return buf_write_prepend (buf, sid->id, SID_SIZE);
78 return buf_write (buf, sid->id, SID_SIZ
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/util-linux/volume_id/
H A Dunused_lvm.c24 uint8_t id[2]; member in struct:lvm1_super_block
28 uint8_t id[8]; member in struct:lvm2_super_block
37 int FAST_FUNC volume_id_probe_lvm1(struct volume_id *id, uint64_t off) argument
43 lvm = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800);
47 if (lvm->id[0] != 'H' || lvm->id[1] != 'M')
50 // volume_id_set_usage(id, VOLUME_ID_RAID);
51 // id->type = "LVM1_member";
59 int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off) argument
67 buf = volume_id_get_buffer(id, of
[all...]
H A Dvolume_id.c48 typedef int FAST_FUNC (*raid_probe_fptr)(struct volume_id *id, /*uint64_t off,*/ uint64_t size);
49 typedef int FAST_FUNC (*probe_fptr)(struct volume_id *id /*, uint64_t off*/);
155 int FAST_FUNC volume_id_probe_all(struct volume_id *id, /*uint64_t off,*/ uint64_t size) argument
162 if (raid1[i](id, /*off,*/ size) == 0)
164 if (id->error)
170 if (raid2[i](id /*,off*/) == 0)
172 if (id->error)
177 volume_id_get_buffer(id, 0, SB_BUFFER_SIZE);
180 if (fs[i](id /*,off*/) == 0)
182 if (id
195 struct volume_id *id; local
208 struct volume_id *id; local
226 free_volume_id(struct volume_id *id) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openvpn/src/openvpn/
H A Dsession_id.h28 * For efficiency, the session id is only transmitted over the control
43 uint8_t id[8]; member in struct:session_id
48 #define SID_SIZE (sizeof (x_session_id_zero.id))
54 return !memcmp (sid1->id, sid2->id, SID_SIZE);
60 return memcmp (sid1->id, &x_session_id_zero.id, SID_SIZE) != 0;
66 return buf_read (buf, sid->id, SID_SIZE);
72 return buf_write_prepend (buf, sid->id, SID_SIZE);
78 return buf_write (buf, sid->id, SID_SIZ
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/dream/qdsp5/
H A Daudpp.c62 #define LOG(id,arg) ev_log_write(&dsp_log, id, arg)
120 static void audpp_broadcast(struct audpp_state *audpp, unsigned id, argument
126 audpp->func[n] (audpp->private[n], id, msg);
131 unsigned id, uint16_t *msg)
134 audpp->func[clnt_id] (audpp->private[clnt_id], id, msg);
137 static void audpp_dsp_event(void *data, unsigned id, size_t len, argument
143 if (id == AUDPP_MSG_AVSYNC_MSG) {
157 LOG(EV_EVENT, (id << 16) | msg[0]);
160 switch (id) {
130 audpp_notify_clnt(struct audpp_state *audpp, unsigned clnt_id, unsigned id, uint16_t *msg) argument
204 audpp_fake_event(struct audpp_state *audpp, int id, unsigned event, unsigned arg) argument
212 audpp_enable(int id, audpp_event_func func, void *private) argument
262 audpp_disable(int id, void *private) argument
301 audpp_avsync(int id, unsigned rate) argument
325 audpp_avsync_sample_count(int id) argument
348 audpp_avsync_byte_count(int id) argument
374 audpp_set_volume_and_pan(unsigned id, unsigned volume, int pan) argument
393 audpp_pause(unsigned id, int pause) argument
415 audpp_flush(unsigned id) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/dream/qdsp5/
H A Daudpp.c62 #define LOG(id,arg) ev_log_write(&dsp_log, id, arg)
120 static void audpp_broadcast(struct audpp_state *audpp, unsigned id, argument
126 audpp->func[n] (audpp->private[n], id, msg);
131 unsigned id, uint16_t *msg)
134 audpp->func[clnt_id] (audpp->private[clnt_id], id, msg);
137 static void audpp_dsp_event(void *data, unsigned id, size_t len, argument
143 if (id == AUDPP_MSG_AVSYNC_MSG) {
157 LOG(EV_EVENT, (id << 16) | msg[0]);
160 switch (id) {
130 audpp_notify_clnt(struct audpp_state *audpp, unsigned clnt_id, unsigned id, uint16_t *msg) argument
204 audpp_fake_event(struct audpp_state *audpp, int id, unsigned event, unsigned arg) argument
212 audpp_enable(int id, audpp_event_func func, void *private) argument
262 audpp_disable(int id, void *private) argument
301 audpp_avsync(int id, unsigned rate) argument
325 audpp_avsync_sample_count(int id) argument
348 audpp_avsync_byte_count(int id) argument
374 audpp_set_volume_and_pan(unsigned id, unsigned volume, int pan) argument
393 audpp_pause(unsigned id, int pause) argument
415 audpp_flush(unsigned id) argument
[all...]

Completed in 164 milliseconds

1234567891011>>