/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/dvb/frontends/ |
H A D | nxt200x.c | 70 static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len) argument 75 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 83 static int i2c_readbytes(struct nxt200x_state *state, u8 addr, u8 *buf, u8 len) argument 88 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 96 static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, argument 101 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf2, .len = len + 1 }; 106 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 108 __func__, state->config->demod_address, err); 114 static int nxt200x_readbytes(struct nxt200x_state *state, u8 reg, u8 *buf, u8 len) argument 118 struct i2c_msg msg [] = { { .addr = state 147 nxt200x_writereg_multibyte(struct nxt200x_state* state, u8 reg, u8* data, u8 len) argument 207 nxt200x_readreg_multibyte(struct nxt200x_state* state, u8 reg, u8* data, u8 len) argument 255 nxt200x_microcontroller_stop(struct nxt200x_state* state) argument 288 nxt200x_microcontroller_start(struct nxt200x_state* state) argument 297 nxt2004_microcontroller_init(struct nxt200x_state* state) argument 328 nxt200x_writetuner(struct nxt200x_state* state, u8* data) argument 388 nxt200x_agc_reset(struct nxt200x_state* state) argument 416 struct nxt200x_state* state = fe->demodulator_priv; local 483 struct nxt200x_state* state = fe->demodulator_priv; local 534 struct nxt200x_state* state = fe->demodulator_priv; local 777 struct nxt200x_state* state = fe->demodulator_priv; local 794 struct nxt200x_state* state = fe->demodulator_priv; local 806 struct nxt200x_state* state = fe->demodulator_priv; local 826 struct nxt200x_state* state = fe->demodulator_priv; local 859 struct nxt200x_state* state = fe->demodulator_priv; local 875 struct nxt200x_state* state = fe->demodulator_priv; local 936 struct nxt200x_state* state = fe->demodulator_priv; local 1106 struct nxt200x_state* state = fe->demodulator_priv; local 1136 struct nxt200x_state* state = fe->demodulator_priv; local 1145 struct nxt200x_state* state = NULL; local [all...] |
H A D | cx24110.c | 91 {0x37,0x00}, /* @ fully enable AutoAcqq state machine */ 116 static int cx24110_writereg (struct cx24110_state* state, int reg, int data) argument 119 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; 122 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { 131 static int cx24110_readreg (struct cx24110_state* state, u8 reg) argument 136 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 1 }, 137 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 1 } }; 139 ret = i2c_transfer(state->i2c, msg, 2); 146 static int cx24110_set_inversion (struct cx24110_state* state, fe_spectral_inversion_t inversion) argument 151 cx24110_writereg(state, 179 cx24110_set_fec(struct cx24110_state* state, fe_code_rate_t fec) argument 222 cx24110_get_fec(struct cx24110_state* state) argument 234 cx24110_set_symbolrate(struct cx24110_state* state, u32 srate) argument 307 struct cx24110_state *state = fe->demodulator_priv; local 348 struct cx24110_state *state = fe->demodulator_priv; local 362 struct cx24110_state *state = fe->demodulator_priv; local 377 struct cx24110_state *state = fe->demodulator_priv; local 404 struct cx24110_state *state = fe->demodulator_priv; local 431 struct cx24110_state *state = fe->demodulator_priv; local 459 struct cx24110_state *state = fe->demodulator_priv; local 476 struct cx24110_state *state = fe->demodulator_priv; local 487 struct cx24110_state *state = fe->demodulator_priv; local 503 struct cx24110_state *state = fe->demodulator_priv; local 525 struct cx24110_state *state = fe->demodulator_priv; local 543 struct cx24110_state *state = fe->demodulator_priv; local 570 struct cx24110_state *state = fe->demodulator_priv; local 577 struct cx24110_state* state = fe->demodulator_priv; local 586 struct cx24110_state* state = NULL; local [all...] |
H A D | s5h1420.c | 61 static u32 s5h1420_getsymbolrate(struct s5h1420_state* state); 75 static u8 s5h1420_readreg(struct s5h1420_state *state, u8 reg) argument 80 { .addr = state->config->demod_address, .flags = 0, .buf = b, .len = 2 }, 81 { .addr = state->config->demod_address, .flags = 0, .buf = ®, .len = 1 }, 82 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b, .len = 1 }, 86 b[1] = state->shadow[(reg - 1) & 0xff]; 88 if (state->config->repeated_start_workaround) { 89 ret = i2c_transfer(state->i2c, msg, 3); 93 ret = i2c_transfer(state->i2c, &msg[1], 1); 96 ret = i2c_transfer(state 106 s5h1420_writereg(struct s5h1420_state* state, u8 reg, u8 data) argument 125 struct s5h1420_state* state = fe->demodulator_priv; local 150 struct s5h1420_state* state = fe->demodulator_priv; local 172 struct s5h1420_state* state = fe->demodulator_priv; local 217 struct s5h1420_state* state = fe->demodulator_priv; local 269 struct s5h1420_state* state = fe->demodulator_priv; local 304 s5h1420_get_status_bits(struct s5h1420_state* state) argument 327 struct s5h1420_state* state = fe->demodulator_priv; local 427 struct s5h1420_state* state = fe->demodulator_priv; local 439 struct s5h1420_state* state = fe->demodulator_priv; local 450 struct s5h1420_state* state = fe->demodulator_priv; local 460 s5h1420_reset(struct s5h1420_state* state) argument 468 s5h1420_setsymbolrate(struct s5h1420_state* state, struct dvb_frontend_parameters *p) argument 492 s5h1420_getsymbolrate(struct s5h1420_state* state) argument 497 s5h1420_setfreqoffset(struct s5h1420_state* state, int freqoffset) argument 519 s5h1420_getfreqoffset(struct s5h1420_state* state) argument 539 s5h1420_setfec_inversion(struct s5h1420_state* state, struct dvb_frontend_parameters *p) argument 592 s5h1420_getfec(struct s5h1420_state* state) argument 617 s5h1420_getinversion(struct s5h1420_state* state) argument 628 struct s5h1420_state* state = fe->demodulator_priv; local 766 struct s5h1420_state* state = fe->demodulator_priv; local 810 struct s5h1420_state* state = fe->demodulator_priv; local 820 struct s5h1420_state* state = fe->demodulator_priv; local 833 struct s5h1420_state* state = fe->demodulator_priv; local 840 struct s5h1420_state* state = fe->demodulator_priv; local 852 struct s5h1420_state *state = i2c_get_adapdata(i2c_adap); local 874 struct s5h1420_state *state = fe->demodulator_priv; local 885 struct s5h1420_state *state = kzalloc(sizeof(struct s5h1420_state), GFP_KERNEL); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/dvb/frontends/ |
H A D | nxt200x.c | 70 static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len) argument 75 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 83 static int i2c_readbytes(struct nxt200x_state *state, u8 addr, u8 *buf, u8 len) argument 88 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 96 static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, argument 101 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf2, .len = len + 1 }; 106 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 108 __func__, state->config->demod_address, err); 114 static int nxt200x_readbytes(struct nxt200x_state *state, u8 reg, u8 *buf, u8 len) argument 118 struct i2c_msg msg [] = { { .addr = state 147 nxt200x_writereg_multibyte(struct nxt200x_state* state, u8 reg, u8* data, u8 len) argument 207 nxt200x_readreg_multibyte(struct nxt200x_state* state, u8 reg, u8* data, u8 len) argument 255 nxt200x_microcontroller_stop(struct nxt200x_state* state) argument 288 nxt200x_microcontroller_start(struct nxt200x_state* state) argument 297 nxt2004_microcontroller_init(struct nxt200x_state* state) argument 328 nxt200x_writetuner(struct nxt200x_state* state, u8* data) argument 388 nxt200x_agc_reset(struct nxt200x_state* state) argument 416 struct nxt200x_state* state = fe->demodulator_priv; local 483 struct nxt200x_state* state = fe->demodulator_priv; local 534 struct nxt200x_state* state = fe->demodulator_priv; local 777 struct nxt200x_state* state = fe->demodulator_priv; local 794 struct nxt200x_state* state = fe->demodulator_priv; local 806 struct nxt200x_state* state = fe->demodulator_priv; local 826 struct nxt200x_state* state = fe->demodulator_priv; local 859 struct nxt200x_state* state = fe->demodulator_priv; local 875 struct nxt200x_state* state = fe->demodulator_priv; local 936 struct nxt200x_state* state = fe->demodulator_priv; local 1106 struct nxt200x_state* state = fe->demodulator_priv; local 1136 struct nxt200x_state* state = fe->demodulator_priv; local 1145 struct nxt200x_state* state = NULL; local [all...] |
H A D | cx24110.c | 91 {0x37,0x00}, /* @ fully enable AutoAcqq state machine */ 116 static int cx24110_writereg (struct cx24110_state* state, int reg, int data) argument 119 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; 122 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { 131 static int cx24110_readreg (struct cx24110_state* state, u8 reg) argument 136 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 1 }, 137 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 1 } }; 139 ret = i2c_transfer(state->i2c, msg, 2); 146 static int cx24110_set_inversion (struct cx24110_state* state, fe_spectral_inversion_t inversion) argument 151 cx24110_writereg(state, 179 cx24110_set_fec(struct cx24110_state* state, fe_code_rate_t fec) argument 222 cx24110_get_fec(struct cx24110_state* state) argument 234 cx24110_set_symbolrate(struct cx24110_state* state, u32 srate) argument 307 struct cx24110_state *state = fe->demodulator_priv; local 348 struct cx24110_state *state = fe->demodulator_priv; local 362 struct cx24110_state *state = fe->demodulator_priv; local 377 struct cx24110_state *state = fe->demodulator_priv; local 404 struct cx24110_state *state = fe->demodulator_priv; local 431 struct cx24110_state *state = fe->demodulator_priv; local 459 struct cx24110_state *state = fe->demodulator_priv; local 476 struct cx24110_state *state = fe->demodulator_priv; local 487 struct cx24110_state *state = fe->demodulator_priv; local 503 struct cx24110_state *state = fe->demodulator_priv; local 525 struct cx24110_state *state = fe->demodulator_priv; local 543 struct cx24110_state *state = fe->demodulator_priv; local 570 struct cx24110_state *state = fe->demodulator_priv; local 577 struct cx24110_state* state = fe->demodulator_priv; local 586 struct cx24110_state* state = NULL; local [all...] |
H A D | s5h1420.c | 61 static u32 s5h1420_getsymbolrate(struct s5h1420_state* state); 75 static u8 s5h1420_readreg(struct s5h1420_state *state, u8 reg) argument 80 { .addr = state->config->demod_address, .flags = 0, .buf = b, .len = 2 }, 81 { .addr = state->config->demod_address, .flags = 0, .buf = ®, .len = 1 }, 82 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b, .len = 1 }, 86 b[1] = state->shadow[(reg - 1) & 0xff]; 88 if (state->config->repeated_start_workaround) { 89 ret = i2c_transfer(state->i2c, msg, 3); 93 ret = i2c_transfer(state->i2c, &msg[1], 1); 96 ret = i2c_transfer(state 106 s5h1420_writereg(struct s5h1420_state* state, u8 reg, u8 data) argument 125 struct s5h1420_state* state = fe->demodulator_priv; local 150 struct s5h1420_state* state = fe->demodulator_priv; local 172 struct s5h1420_state* state = fe->demodulator_priv; local 217 struct s5h1420_state* state = fe->demodulator_priv; local 269 struct s5h1420_state* state = fe->demodulator_priv; local 304 s5h1420_get_status_bits(struct s5h1420_state* state) argument 327 struct s5h1420_state* state = fe->demodulator_priv; local 427 struct s5h1420_state* state = fe->demodulator_priv; local 439 struct s5h1420_state* state = fe->demodulator_priv; local 450 struct s5h1420_state* state = fe->demodulator_priv; local 460 s5h1420_reset(struct s5h1420_state* state) argument 468 s5h1420_setsymbolrate(struct s5h1420_state* state, struct dvb_frontend_parameters *p) argument 492 s5h1420_getsymbolrate(struct s5h1420_state* state) argument 497 s5h1420_setfreqoffset(struct s5h1420_state* state, int freqoffset) argument 519 s5h1420_getfreqoffset(struct s5h1420_state* state) argument 539 s5h1420_setfec_inversion(struct s5h1420_state* state, struct dvb_frontend_parameters *p) argument 592 s5h1420_getfec(struct s5h1420_state* state) argument 617 s5h1420_getinversion(struct s5h1420_state* state) argument 628 struct s5h1420_state* state = fe->demodulator_priv; local 766 struct s5h1420_state* state = fe->demodulator_priv; local 810 struct s5h1420_state* state = fe->demodulator_priv; local 820 struct s5h1420_state* state = fe->demodulator_priv; local 833 struct s5h1420_state* state = fe->demodulator_priv; local 840 struct s5h1420_state* state = fe->demodulator_priv; local 852 struct s5h1420_state *state = i2c_get_adapdata(i2c_adap); local 874 struct s5h1420_state *state = fe->demodulator_priv; local 885 struct s5h1420_state *state = kzalloc(sizeof(struct s5h1420_state), GFP_KERNEL); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/ |
H A D | ppp_mppe.c | 136 static void get_new_key_from_sha(struct ppp_mppe_state * state) argument 144 nbytes = setup_sg(&sg[0], state->master_key, state->keylen); 147 nbytes += setup_sg(&sg[2], state->session_key, state->keylen); 151 desc.tfm = state->sha1; 154 crypto_hash_digest(&desc, sg, nbytes, state->sha1_digest); 161 static void mppe_rekey(struct ppp_mppe_state * state, int initial_key) argument 164 struct blkcipher_desc desc = { .tfm = state->arc4 }; 166 get_new_key_from_sha(state); 195 struct ppp_mppe_state *state; local 257 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 276 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 356 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 370 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 450 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 479 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 664 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/ |
H A D | ppp_mppe.c | 136 static void get_new_key_from_sha(struct ppp_mppe_state * state) argument 144 nbytes = setup_sg(&sg[0], state->master_key, state->keylen); 147 nbytes += setup_sg(&sg[2], state->session_key, state->keylen); 151 desc.tfm = state->sha1; 154 crypto_hash_digest(&desc, sg, nbytes, state->sha1_digest); 161 static void mppe_rekey(struct ppp_mppe_state * state, int initial_key) argument 164 struct blkcipher_desc desc = { .tfm = state->arc4 }; 166 get_new_key_from_sha(state); 195 struct ppp_mppe_state *state; local 257 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 276 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 356 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 370 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 450 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 479 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local 664 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/smb_composite/ |
H A D | fsinfo.c | 34 struct fsinfo_state *state; local 35 state = talloc_get_type(c->private_data, struct fsinfo_state); 37 status = smb_composite_connect_recv(state->creq, c); 40 state->fsinfo = talloc(state, union smb_fsinfo); 41 NT_STATUS_HAVE_NO_MEMORY(state->fsinfo); 43 state->fsinfo->generic.level = io->in.level; 45 state->req = smb_raw_fsinfo_send(state->connect->out.tree, 46 state, 62 struct fsinfo_state *state; local 84 struct fsinfo_state *state = talloc_get_type(creq->private_data, struct fsinfo_state); local 133 struct fsinfo_state *state; local 190 struct fsinfo_state *state = talloc_get_type(c->private_data, struct fsinfo_state); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/smb_composite/ |
H A D | fsinfo.c | 34 struct fsinfo_state *state; local 35 state = talloc_get_type(c->private_data, struct fsinfo_state); 37 status = smb_composite_connect_recv(state->creq, c); 40 state->fsinfo = talloc(state, union smb_fsinfo); 41 NT_STATUS_HAVE_NO_MEMORY(state->fsinfo); 43 state->fsinfo->generic.level = io->in.level; 45 state->req = smb_raw_fsinfo_send(state->connect->out.tree, 46 state, 62 struct fsinfo_state *state; local 84 struct fsinfo_state *state = talloc_get_type(creq->private_data, struct fsinfo_state); local 133 struct fsinfo_state *state; local 190 struct fsinfo_state *state = talloc_get_type(c->private_data, struct fsinfo_state); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/smb_composite/ |
H A D | fsinfo.c | 34 struct fsinfo_state *state; local 35 state = talloc_get_type(c->private_data, struct fsinfo_state); 37 status = smb_composite_connect_recv(state->creq, c); 40 state->fsinfo = talloc(state, union smb_fsinfo); 41 NT_STATUS_HAVE_NO_MEMORY(state->fsinfo); 43 state->fsinfo->generic.level = io->in.level; 45 state->req = smb_raw_fsinfo_send(state->connect->out.tree, 46 state, 62 struct fsinfo_state *state; local 84 struct fsinfo_state *state = talloc_get_type(creq->private_data, struct fsinfo_state); local 133 struct fsinfo_state *state; local 190 struct fsinfo_state *state = talloc_get_type(c->private_data, struct fsinfo_state); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/winbind/ |
H A D | wb_cmd_setpwent.c | 45 struct cmd_setpwent_state *state; local 52 state = talloc(mem_ctx, struct cmd_setpwent_state); 53 if (composite_nomem(state, result)) return result; 55 state->ctx = result; 56 result->private_data = state; 57 state->service = service; 59 state->result = talloc(state, struct wbsrv_pwent); 60 if (composite_nomem(state->result, state 71 struct cmd_setpwent_state *state = talloc_get_type( local 104 struct cmd_setpwent_state *state = talloc_get_type( local 132 struct cmd_setpwent_state *state = local [all...] |
H A D | wb_sid2domain.c | 65 struct sid2domain_state *state; local 70 state = talloc(result, struct sid2domain_state); 71 if (state == NULL) goto failed; 72 state->ctx = result; 73 result->private_data = state; 75 state->service = service; 76 state->sid = dom_sid_dup(state, sid); 77 if (state->sid == NULL) goto failed; 79 state 110 struct sid2domain_state *state = local 125 struct sid2domain_state *state = local 151 struct sid2domain_state *state = local 166 struct sid2domain_state *state = local 196 struct sid2domain_state *state = local [all...] |
H A D | wb_cmd_lookupname.c | 44 struct cmd_lookupname_state *state; local 49 state = talloc(result, struct cmd_lookupname_state); 50 if (state == NULL) goto failed; 51 state->ctx = result; 52 result->private_data = state; 54 state->name = talloc_asprintf(state, "%s\\%s", dom_name, name); 55 if (state->name == NULL) goto failed; 57 ctx = wb_sid2domain_send(state, service, service->primary_sid); 61 ctx->async.private_data = state; 71 struct cmd_lookupname_state *state = local 86 struct cmd_lookupname_state *state = local 102 struct cmd_lookupname_state *state = local [all...] |
H A D | wb_cmd_lookupsid.c | 43 struct cmd_lookupsid_state *state; local 49 state = talloc(result, struct cmd_lookupsid_state); 50 if (state == NULL) goto failed; 51 state->ctx = result; 52 result->private_data = state; 54 state->sid = dom_sid_dup(state, sid); 55 if (state->sid == NULL) goto failed; 57 ctx = wb_sid2domain_send(state, service, service->primary_sid); 61 ctx->async.private_data = state; 71 struct cmd_lookupsid_state *state = local 86 struct cmd_lookupsid_state *state = local 102 struct cmd_lookupsid_state *state = local [all...] |
H A D | wb_name2domain.c | 43 struct name2domain_state *state; local 52 state = talloc(result, struct name2domain_state); 53 if (composite_nomem(state, result)) return result; 54 state->ctx = result; 55 result->private_data = state; 56 state->service = service; 58 ok = wb_samba3_split_username(state, service->task->lp_ctx, name, &user_dom, &user_name); 60 composite_error(state->ctx, NT_STATUS_OBJECT_NAME_INVALID); 64 ctx = wb_cmd_lookupname_send(state, service, user_dom, user_name); 65 if (composite_nomem(ctx, state 73 struct name2domain_state *state = local 90 struct name2domain_state *state = local 113 struct name2domain_state *state = local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/winbind/ |
H A D | wb_cmd_setpwent.c | 45 struct cmd_setpwent_state *state; local 52 state = talloc(mem_ctx, struct cmd_setpwent_state); 53 if (composite_nomem(state, result)) return result; 55 state->ctx = result; 56 result->private_data = state; 57 state->service = service; 59 state->result = talloc(state, struct wbsrv_pwent); 60 if (composite_nomem(state->result, state 71 struct cmd_setpwent_state *state = talloc_get_type( local 104 struct cmd_setpwent_state *state = talloc_get_type( local 132 struct cmd_setpwent_state *state = local [all...] |
H A D | wb_sid2domain.c | 65 struct sid2domain_state *state; local 70 state = talloc(result, struct sid2domain_state); 71 if (state == NULL) goto failed; 72 state->ctx = result; 73 result->private_data = state; 75 state->service = service; 76 state->sid = dom_sid_dup(state, sid); 77 if (state->sid == NULL) goto failed; 79 state 110 struct sid2domain_state *state = local 125 struct sid2domain_state *state = local 151 struct sid2domain_state *state = local 166 struct sid2domain_state *state = local 196 struct sid2domain_state *state = local [all...] |
H A D | wb_cmd_lookupname.c | 44 struct cmd_lookupname_state *state; local 49 state = talloc(result, struct cmd_lookupname_state); 50 if (state == NULL) goto failed; 51 state->ctx = result; 52 result->private_data = state; 54 state->name = talloc_asprintf(state, "%s\\%s", dom_name, name); 55 if (state->name == NULL) goto failed; 57 ctx = wb_sid2domain_send(state, service, service->primary_sid); 61 ctx->async.private_data = state; 71 struct cmd_lookupname_state *state = local 86 struct cmd_lookupname_state *state = local 102 struct cmd_lookupname_state *state = local [all...] |
H A D | wb_cmd_lookupsid.c | 43 struct cmd_lookupsid_state *state; local 49 state = talloc(result, struct cmd_lookupsid_state); 50 if (state == NULL) goto failed; 51 state->ctx = result; 52 result->private_data = state; 54 state->sid = dom_sid_dup(state, sid); 55 if (state->sid == NULL) goto failed; 57 ctx = wb_sid2domain_send(state, service, service->primary_sid); 61 ctx->async.private_data = state; 71 struct cmd_lookupsid_state *state = local 86 struct cmd_lookupsid_state *state = local 102 struct cmd_lookupsid_state *state = local [all...] |
H A D | wb_name2domain.c | 43 struct name2domain_state *state; local 52 state = talloc(result, struct name2domain_state); 53 if (composite_nomem(state, result)) return result; 54 state->ctx = result; 55 result->private_data = state; 56 state->service = service; 58 ok = wb_samba3_split_username(state, service->task->lp_ctx, name, &user_dom, &user_name); 60 composite_error(state->ctx, NT_STATUS_OBJECT_NAME_INVALID); 64 ctx = wb_cmd_lookupname_send(state, service, user_dom, user_name); 65 if (composite_nomem(ctx, state 73 struct name2domain_state *state = local 90 struct name2domain_state *state = local 113 struct name2domain_state *state = local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/winbind/ |
H A D | wb_cmd_setpwent.c | 45 struct cmd_setpwent_state *state; local 52 state = talloc(mem_ctx, struct cmd_setpwent_state); 53 if (composite_nomem(state, result)) return result; 55 state->ctx = result; 56 result->private_data = state; 57 state->service = service; 59 state->result = talloc(state, struct wbsrv_pwent); 60 if (composite_nomem(state->result, state 71 struct cmd_setpwent_state *state = talloc_get_type( local 104 struct cmd_setpwent_state *state = talloc_get_type( local 132 struct cmd_setpwent_state *state = local [all...] |
H A D | wb_sid2domain.c | 65 struct sid2domain_state *state; local 70 state = talloc(result, struct sid2domain_state); 71 if (state == NULL) goto failed; 72 state->ctx = result; 73 result->private_data = state; 75 state->service = service; 76 state->sid = dom_sid_dup(state, sid); 77 if (state->sid == NULL) goto failed; 79 state 110 struct sid2domain_state *state = local 125 struct sid2domain_state *state = local 151 struct sid2domain_state *state = local 166 struct sid2domain_state *state = local 196 struct sid2domain_state *state = local [all...] |
H A D | wb_cmd_lookupname.c | 44 struct cmd_lookupname_state *state; local 49 state = talloc(result, struct cmd_lookupname_state); 50 if (state == NULL) goto failed; 51 state->ctx = result; 52 result->private_data = state; 54 state->name = talloc_asprintf(state, "%s\\%s", dom_name, name); 55 if (state->name == NULL) goto failed; 57 ctx = wb_sid2domain_send(state, service, service->primary_sid); 61 ctx->async.private_data = state; 71 struct cmd_lookupname_state *state = local 86 struct cmd_lookupname_state *state = local 102 struct cmd_lookupname_state *state = local [all...] |
H A D | wb_cmd_lookupsid.c | 43 struct cmd_lookupsid_state *state; local 49 state = talloc(result, struct cmd_lookupsid_state); 50 if (state == NULL) goto failed; 51 state->ctx = result; 52 result->private_data = state; 54 state->sid = dom_sid_dup(state, sid); 55 if (state->sid == NULL) goto failed; 57 ctx = wb_sid2domain_send(state, service, service->primary_sid); 61 ctx->async.private_data = state; 71 struct cmd_lookupsid_state *state = local 86 struct cmd_lookupsid_state *state = local 102 struct cmd_lookupsid_state *state = local [all...] |